11 instantiations of TestResource
Microsoft.AspNetCore.StaticAssets.Tests (11)
StaticAssetsIntegrationTests.cs (11)
34new TestResource("sample.txt", "Hello, World!", false), 84new TestResource("sample.txt", "Hello, World!", false, [new("Cache-Control", "immutable")]), 135new TestResource("sample.txt", "Hello, World!", false, [new("Cache-Control", "immutable")]), 187new TestResource("sample.txt", "Hello, World!", false, [new("Cache-Control", "immutable")]), 244new TestResource("sample.txt", "Hello, World!", false, [new("Cache-Control", "immutable")]), 355new TestResource("sample.txt", "Hello, World!", false), 408new TestResource("sample.txt", "Hello, World!", false), 474new TestResource("sample.txt", "Hello, World! This is a longer file for testing.", false), 531new TestResource("sample.txt", "Hello, World!", true), 722new("sample.txt", "Hello, World!", false), 1237new TestResource("sample.txt", "Hello, World!", false),
6 references to TestResource
Microsoft.AspNetCore.StaticAssets.Tests (6)
StaticAssetsIntegrationTests.cs (6)
603private static void CreateTestManifest(string appName, string webRoot, params Span<TestResource> resources) 614var resource = resources[i]; 666private static long CreateCompressedFile(string filePath, TestResource resource) 720builder.Environment.WebRootFileProvider = new TestFileProvider(new TestResource[] 1175private class TestFileProvider(TestResource[] testResources) : IFileProvider 1200private class TestFileInfo(TestResource testResource) : IFileInfo