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

19 lines
702 B
PowerShell

. "$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