/
githubmirror
/
PowerShell
Обзор
Документация
Войти
/
githubmirror
/
PowerShell
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/powershell/engine/ResourceValidation/SMAResources.Tests.ps1
13 строк
636 B
Dongbo Wang
Prepare for onboarding PowerShell to the Native2Native localization pipeline (#27667)
20 июл 2026, 22:21
Не верифицирован
20 июл 2026, 22:21
855d943
Код
Авторство
О чём код?
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. . "$PSScriptRoot/TestRunner.ps1" $AssemblyName = "System.Management.Automation" # The 'EventResource.resx' is embedded in S.M.A.dll. However, we are not using its strings from a CSharp # binding class, but directly using 'ResourceManager.GetString' in 'SysLogProvider.cs' instead. # So, the CSharp binding class generated from 'ResGen' doesn't get compiled in S.M.A.dll, and hence we # should exclude this resource from this test. $excludeList = @("EventResource.resx") # run the tests Test-ResourceStrings -AssemblyName $AssemblyName -ExcludeList $excludeList