Skip to content

Commit ff7e757

Browse files
authored
[WASM] Clean up of HybridGlobalization in tests (#45412)
1 parent 42b3293 commit ff7e757

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/BootJsonData.cs

-5
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,6 @@ public enum GlobalizationMode : int
240240
/// Load custom icu file provided by the developer.
241241
/// </summary>
242242
Custom = 3,
243-
244-
/// <summary>
245-
/// Use the reduced icudt_hybrid.dat file
246-
/// </summary>
247-
Hybrid = 4,
248243
}
249244

250245
[DataContract]

test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/WasmBuildIntegrationTest.cs

-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ public class WasmBuildIntegrationTest(ITestOutputHelper log) : BlazorWasmBaselin
1111
{
1212
private static string customIcuFilename = "icudt_custom.dat";
1313
private static string fullIcuFilename = "icudt.dat";
14-
private static string hybridIcuFilename = "icudt_hybrid.dat";
1514
private static string[] icuShardFilenames = new string[] {
1615
"icudt_EFIGS.dat",
1716
"icudt_CJK.dat",
@@ -491,15 +490,13 @@ public void Build_WithBlazorWebAssemblyLoadAllGlobalizationData_SetsICUDataMode(
491490

492491
bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm");
493492
bootJsonData.resources.icu.Should().ContainKey(fullIcuFilename);
494-
bootJsonData.resources.icu.Should().NotContainKey(hybridIcuFilename);
495493
foreach (var shardFilename in icuShardFilenames)
496494
{
497495
bootJsonData.resources.icu.Should().NotContainKey(shardFilename);
498496
}
499497

500498
new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist();
501499
new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().Exist();
502-
new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", hybridIcuFilename)).Should().NotExist();
503500
foreach (var shardFilename in icuShardFilenames)
504501
{
505502
new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist();
@@ -535,15 +532,13 @@ public void Publish_WithBlazorWebAssemblyLoadAllGlobalizationData_SetsGlobalizat
535532

536533
bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm");
537534
bootJsonData.resources.icu.Should().ContainKey(fullIcuFilename);
538-
bootJsonData.resources.icu.Should().NotContainKey(hybridIcuFilename);
539535
foreach (var shardFilename in icuShardFilenames)
540536
{
541537
bootJsonData.resources.icu.Should().NotContainKey(shardFilename);
542538
}
543539

544540
new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist();
545541
new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().Exist();
546-
new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", hybridIcuFilename)).Should().NotExist();
547542
foreach (var shardFilename in icuShardFilenames)
548543
{
549544
new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist();

0 commit comments

Comments
 (0)