61 references to resources
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (61)
WasmBuildIncrementalismTest.cs (5)
151var satelliteResources = bootJsonFile.resources.satelliteResources; 193var satelliteResources = bootJsonFile.resources.satelliteResources; 204satelliteResources = bootJsonFile.resources.satelliteResources; 244var satelliteResources = bootJsonFile.resources.satelliteResources; 260satelliteResources = bootJsonFile.resources.satelliteResources;
WasmBuildIntegrationTest.cs (28)
210bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 212var assemblies = bootJsonData.resources.assembly; 217var pdb = bootJsonData.resources.pdb; 221bootJsonData.resources.satelliteResources.Should().BeNull(); 257bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 259var assemblies = bootJsonData.resources.assembly; 264var pdb = bootJsonData.resources.pdb; 268bootJsonData.resources.satelliteResources.Should().BeNull(); 296bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 297bootJsonData.resources.runtime.Should().BeNull(); 329bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 331bootJsonData.resources.icu.Should().BeNull(); 367bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 369bootJsonData.resources.icu.Should().BeNull(); 406bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 407bootJsonData.resources.icu.Should().ContainKey(customIcuFilename); 408bootJsonData.resources.icu.Should().NotContainKey(fullIcuFilename); 411bootJsonData.resources.icu.Should().NotContainKey(shardFilename); 449bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 450bootJsonData.resources.icu.Should().ContainKey(customIcuFilename); 451bootJsonData.resources.icu.Should().NotContainKey(fullIcuFilename); 454bootJsonData.resources.icu.Should().NotContainKey(shardFilename); 493bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 494bootJsonData.resources.icu.Should().ContainKey(fullIcuFilename); 497bootJsonData.resources.icu.Should().NotContainKey(shardFilename); 535bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 536bootJsonData.resources.icu.Should().ContainKey(fullIcuFilename); 539bootJsonData.resources.icu.Should().NotContainKey(shardFilename);
WasmBuildLazyLoadTest.cs (8)
54var lazyAssemblies = bootJson.resources.lazyAssembly; 55var assemblies = bootJson.resources.assembly; 106var lazyAssemblies = bootJson.resources.lazyAssembly; 107var assemblies = bootJson.resources.assembly; 158var lazyAssemblies = bootJson.resources.lazyAssembly; 159var assemblies = bootJson.resources.assembly; 210var lazyAssemblies = bootJson.resources.lazyAssembly; 211var assemblies = bootJson.resources.assembly;
WasmPublishIntegrationTest.cs (6)
699bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 701var assemblies = bootJsonData.resources.assembly; 706bootJsonData.resources.satelliteResources.Should().BeNull(); 1488bootJsonData.resources.wasmNative.Should().ContainKey("dotnet.native.wasm"); 1489bootJsonData.resources.icu.Should().BeNull(); 1532firstBootJson.resources.assembly.Keys.Should().Contain("System.Text.Json.wasm");
WasmPublishIntegrationTestBase.cs (14)
19VerifyBootManifestHashes(testAsset, blazorPublishDirectory, bootManifest.resources.coreAssembly); 20VerifyBootManifestHashes(testAsset, blazorPublishDirectory, bootManifest.resources.assembly); 21if (bootManifest.resources.corePdb != null) 23VerifyBootManifestHashes(testAsset, blazorPublishDirectory, bootManifest.resources.corePdb); 25if (bootManifest.resources.pdb != null) 27VerifyBootManifestHashes(testAsset, blazorPublishDirectory, bootManifest.resources.pdb); 29if (bootManifest.resources.runtime != null) 31VerifyBootManifestHashes(testAsset, blazorPublishDirectory, bootManifest.resources.runtime); 33if (bootManifest.resources.icu != null) 35VerifyBootManifestHashes(testAsset, blazorPublishDirectory, bootManifest.resources.icu); 37if (bootManifest.resources.wasmNative != null) 39VerifyBootManifestHashes(testAsset, blazorPublishDirectory, bootManifest.resources.wasmNative); 42if (bootManifest.resources.satelliteResources != null) 44foreach (var resourcesForCulture in bootManifest.resources.satelliteResources)