Files
PowerShell/test/powershell/engine/ResourceValidation/UtilityResources.Tests.ps1
T

20 lines
778 B
PowerShell
Raw Normal View History

# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
2017-09-29 16:28:15 -07:00
. "$psscriptroot/TestRunner.ps1"
$AssemblyName = "Microsoft.PowerShell.Commands.Utility"
# excluded resources, taken from the 'EmbeddedResource Remove'
# entries in the csproj for the assembly
$excludeList = "CoreMshSnapinResources.resx",
"ErrorPackageRemoting.resx",
"FormatAndOut_out_gridview.resx",
"UtilityMshSnapinResources.resx",
"OutPrinterDisplayStrings.resx",
"UpdateListStrings.resx",
"ConvertFromStringResources.resx",
"ConvertStringResources.resx",
"FlashExtractStrings.resx",
"ImmutableStrings.resx"
import-module Microsoft.Powershell.Utility
# run the tests
Test-ResourceStrings -AssemblyName $AssemblyName -ExcludeList $excludeList