10 instantiations of TestResource
Microsoft.AspNetCore.StaticAssets.Tests (10)
StaticAssetsIntegrationTests.cs (10)
33new TestResource("sample.txt", "Hello, World!", false), 83new TestResource("sample.txt", "Hello, World!", false, [new("Cache-Control", "immutable")]), 134new TestResource("sample.txt", "Hello, World!", false, [new("Cache-Control", "immutable")]), 186new TestResource("sample.txt", "Hello, World!", false, [new("Cache-Control", "immutable")]), 243new TestResource("sample.txt", "Hello, World!", false, [new("Cache-Control", "immutable")]), 354new TestResource("sample.txt", "Hello, World!", false), 407new TestResource("sample.txt", "Hello, World!", false), 473new TestResource("sample.txt", "Hello, World! This is a longer file for testing.", false), 530new TestResource("sample.txt", "Hello, World!", true), 721new("sample.txt", "Hello, World!", false),
6 references to TestResource
Microsoft.AspNetCore.StaticAssets.Tests (6)
StaticAssetsIntegrationTests.cs (6)
602private static void CreateTestManifest(string appName, string webRoot, params Span<TestResource> resources) 613var resource = resources[i]; 665private static long CreateCompressedFile(string filePath, TestResource resource) 719builder.Environment.WebRootFileProvider = new TestFileProvider(new TestResource[] 1174private class TestFileProvider(TestResource[] testResources) : IFileProvider 1199private class TestFileInfo(TestResource testResource) : IFileInfo