-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[browser] More Wasm.Build.Tests on CoreCLR #127281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
8debc4a
65e6237
1fa4950
123b863
5250927
14cace4
e17204d
1eb48af
418cd2b
827800e
532e645
7509361
a7b3362
905c755
9d4e5ce
34f2aa2
c0b0e63
51b99d0
0388696
45afe55
bef4e8b
37cdc06
8910706
0eb727a
e51a126
a12e506
8a3a3b0
b730bfc
f6e4327
392a9ee
2ec813f
70bf73d
b4a93e8
5cc2e7b
3c86968
f724f75
683b4cd
51b37e5
4140758
5b3f18f
b2d2001
f3f030c
8092e25
01ed2f0
669125e
4f1b82a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,13 +41,13 @@ from locale in locales | |
|
|
||
| [Theory] | ||
| [MemberData(nameof(IcuExpectedAndMissingCustomShardTestData), parameters: new object[] { Configuration.Release })] | ||
| [TestCategory("native")] | ||
| [TestCategory("native-coreclr")] | ||
| public async Task CustomIcuShard(Configuration config, bool aot, string customIcuPath, string customLocales, bool onlyPredefinedCultures) => | ||
|
Comment on lines
42
to
45
|
||
| await TestIcuShards(config, Template.WasmBrowser, aot, customIcuPath, customLocales, GlobalizationMode.Custom, onlyPredefinedCultures); | ||
|
|
||
| [Theory] | ||
| [MemberData(nameof(IcuExpectedAndMissingAutomaticShardTestData), parameters: new object[] { Configuration.Release })] | ||
| [TestCategory("native")] | ||
| [TestCategory("native-coreclr")] | ||
| public async Task AutomaticShardSelectionDependingOnEnvLocale(Configuration config, bool aot, string environmentLocale, string testedLocales) => | ||
| await PublishAndRunIcuTest(config, Template.WasmBrowser, aot, testedLocales, GlobalizationMode.Sharded, locale: environmentLocale); | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,7 +38,7 @@ from locale in locales | |
|
|
||
| [Theory] | ||
| [MemberData(nameof(IcuExpectedAndMissingShardFromRuntimePackTestData), parameters: new object[] { Configuration.Release })] | ||
| [TestCategory("native")] | ||
| [TestCategory("native-coreclr")] | ||
| public async Task DefaultAvailableIcuShardsFromRuntimePack(Configuration config, bool aot, string shardName, string testedLocales) => | ||
|
Comment on lines
39
to
42
|
||
| await TestIcuShards(config, Template.WasmBrowser, aot, shardName, testedLocales, GlobalizationMode.Custom); | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,7 +53,7 @@ public static IEnumerable<object[]> IncorrectIcuTestData(Configuration config) | |
|
|
||
| [Theory] | ||
| [MemberData(nameof(FullIcuWithInvariantTestData), parameters: new object[] { Configuration.Release })] | ||
| [TestCategory("native")] | ||
| [TestCategory("native-coreclr")] | ||
| public async Task FullIcuFromRuntimePackWithInvariant(Configuration config=Configuration.Release, bool aot=false, bool invariant=true, bool fullIcu=true, string testedLocales="Array.Empty<Locale>()") => | ||
|
Comment on lines
54
to
57
|
||
| await PublishAndRunIcuTest( | ||
| config, | ||
|
|
@@ -67,7 +67,7 @@ await PublishAndRunIcuTest( | |
|
|
||
| [Theory] | ||
| [MemberData(nameof(FullIcuWithICustomIcuTestData), parameters: new object[] { Configuration.Release })] | ||
| [TestCategory("native")] | ||
| [TestCategory("native-coreclr")] | ||
|
Comment on lines
56
to
+70
|
||
| public async Task FullIcuFromRuntimePackWithCustomIcu(Configuration config, bool aot, bool fullIcu) | ||
| { | ||
| string customIcuProperty = "BlazorIcuDataFileName"; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,7 @@ | |
|
|
||
| namespace Wasm.Build.Tests; | ||
|
|
||
| [TestCategory("native")] | ||
| [TestCategory("native-coreclr")] | ||
| public class MemoryTests : WasmTemplateTestsBase | ||
|
Comment on lines
+16
to
17
|
||
| { | ||
|
Comment on lines
+16
to
18
|
||
| public MemoryTests(ITestOutputHelper output, SharedBuildPerTestClassFixture buildContext) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description says additional
TestCategory("native")classes likeIcuTestsare "not in scope" and left for follow-up, but this change addsIcu*,InvariantGlobalizationTests, andMemoryTeststo the CoreCLR job list. Either update the PR description to reflect the expanded scope or remove these additions to match the stated intent.