File size: 757 Bytes
8c763fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
. "$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