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

19 lines
684 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.Management"
# excluded resources, taken from the 'EmbeddedResource Remove'
# entries in the csproj for the assembly
$excludeList = "EventlogResources.resx",
"TransactionResources.resx",
"WebServiceResources.resx",
"HotFixResources.resx",
"ControlPanelResources.resx",
"WmiResources.resx",
"ManagementMshSnapInResources.resx",
"ClearRecycleBinResources.resx",
"ClipboardResources.resx"
# run the tests
Test-ResourceStrings -AssemblyName $AssemblyName -ExcludeList $excludeList