From ff7e7579a82b232fdec48cf7476559a415046c69 Mon Sep 17 00:00:00 2001 From: Ilona Tomkowicz <32700855+ilonatommy@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:46:43 +0100 Subject: [PATCH] [WASM] Clean up of `HybridGlobalization` in tests (#45412) --- .../BootJsonData.cs | 5 ----- .../WasmBuildIntegrationTest.cs | 5 ----- 2 files changed, 10 deletions(-) diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/BootJsonData.cs b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/BootJsonData.cs index 2fc3bf9b5710..f1ec28d4539f 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/BootJsonData.cs +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/BootJsonData.cs @@ -240,11 +240,6 @@ public enum GlobalizationMode : int /// Load custom icu file provided by the developer. /// Custom = 3, - - /// - /// Use the reduced icudt_hybrid.dat file - /// - Hybrid = 4, } [DataContract] diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/WasmBuildIntegrationTest.cs b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/WasmBuildIntegrationTest.cs index 0672e137d9ee..797a449fe362 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/WasmBuildIntegrationTest.cs +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/WasmBuildIntegrationTest.cs @@ -11,7 +11,6 @@ public class WasmBuildIntegrationTest(ITestOutputHelper log) : BlazorWasmBaselin { private static string customIcuFilename = "icudt_custom.dat"; private static string fullIcuFilename = "icudt.dat"; - private static string hybridIcuFilename = "icudt_hybrid.dat"; private static string[] icuShardFilenames = new string[] { "icudt_EFIGS.dat", "icudt_CJK.dat", @@ -491,7 +490,6 @@ public void Build_WithBlazorWebAssemblyLoadAllGlobalizationData_SetsICUDataMode( bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); bootJsonData.resources.icu.Should().ContainKey(fullIcuFilename); - bootJsonData.resources.icu.Should().NotContainKey(hybridIcuFilename); foreach (var shardFilename in icuShardFilenames) { bootJsonData.resources.icu.Should().NotContainKey(shardFilename); @@ -499,7 +497,6 @@ public void Build_WithBlazorWebAssemblyLoadAllGlobalizationData_SetsICUDataMode( new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().Exist(); - new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", hybridIcuFilename)).Should().NotExist(); foreach (var shardFilename in icuShardFilenames) { new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist(); @@ -535,7 +532,6 @@ public void Publish_WithBlazorWebAssemblyLoadAllGlobalizationData_SetsGlobalizat bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); bootJsonData.resources.icu.Should().ContainKey(fullIcuFilename); - bootJsonData.resources.icu.Should().NotContainKey(hybridIcuFilename); foreach (var shardFilename in icuShardFilenames) { bootJsonData.resources.icu.Should().NotContainKey(shardFilename); @@ -543,7 +539,6 @@ public void Publish_WithBlazorWebAssemblyLoadAllGlobalizationData_SetsGlobalizat new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", "dotnet.native.wasm")).Should().Exist(); new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", fullIcuFilename)).Should().Exist(); - new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", hybridIcuFilename)).Should().NotExist(); foreach (var shardFilename in icuShardFilenames) { new FileInfo(Path.Combine(publishDirectory, "wwwroot", "_framework", shardFilename)).Should().NotExist();