diff options
author | Bob Arnson <bob@firegiant.com> | 2024-03-12 17:51:17 -0400 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2024-03-12 18:58:19 -0400 |
commit | 976ac446dcb4aa1bfcbf38e188deb1c3741a2e46 (patch) | |
tree | 2f8b0b88b10f116367f187dce920c5a6103f6190 /src/test/msi/WixToolsetTest.MsiE2E | |
parent | 451525f7cffb3f824a356ccca94c2d683ba2aadf (diff) | |
download | wix-976ac446dcb4aa1bfcbf38e188deb1c3741a2e46.tar.gz wix-976ac446dcb4aa1bfcbf38e188deb1c3741a2e46.tar.bz2 wix-976ac446dcb4aa1bfcbf38e188deb1c3741a2e46.zip |
Fix localization collation.
Fixes https://github.com/wixtoolset/issues/issues/8036.
Diffstat (limited to 'src/test/msi/WixToolsetTest.MsiE2E')
-rw-r--r-- | src/test/msi/WixToolsetTest.MsiE2E/UIExtensionTests.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/test/msi/WixToolsetTest.MsiE2E/UIExtensionTests.cs b/src/test/msi/WixToolsetTest.MsiE2E/UIExtensionTests.cs new file mode 100644 index 00000000..093ae7ce --- /dev/null +++ b/src/test/msi/WixToolsetTest.MsiE2E/UIExtensionTests.cs | |||
@@ -0,0 +1,26 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolsetTest.MsiE2E | ||
4 | { | ||
5 | using Xunit; | ||
6 | using Xunit.Abstractions; | ||
7 | |||
8 | public class UIExtensionTests : MsiE2ETests | ||
9 | { | ||
10 | public UIExtensionTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } | ||
11 | |||
12 | [Fact] | ||
13 | public void CanBuildLocalizedWixUIPackageWithDefaultUSEnglish() | ||
14 | { | ||
15 | var product = this.CreatePackageInstaller("LocalizedWixUI"); | ||
16 | |||
17 | var nextButton = product.GetControlText("WelcomeDlg", "Next"); | ||
18 | var cancelButton = product.GetControlText("ExitDialog", "Cancel"); | ||
19 | var updateButton = product.GetControlText("VerifyReadyDlg", "Update"); | ||
20 | |||
21 | Assert.Equal("&Next", nextButton); | ||
22 | Assert.Equal("Cancel", cancelButton); | ||
23 | Assert.Equal("&Update", updateButton); | ||
24 | } | ||
25 | } | ||
26 | } | ||