21 references to TestFolder
Microsoft.AspNetCore.Razor.Language.UnitTests (21)
DefaultRazorProjectFileSystemTest.cs (21)
109var fileSystem = new DefaultRazorProjectFileSystem(TestFolder);
121Assert.Equal(Path.Combine(TestFolder, "Home.cshtml"), item.PhysicalPath);
129Assert.Equal(Path.Combine(TestFolder, "Views", "About", "About.cshtml"), item.PhysicalPath);
136Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "Index.cshtml"), item.PhysicalPath);
143Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "_ViewImports.cshtml"), item.PhysicalPath);
150Assert.Equal(Path.Combine(TestFolder, "Views", "_ViewImports.cshtml"), item.PhysicalPath);
157Assert.Equal(Path.Combine(TestFolder, "_ViewImports.cshtml"), item.PhysicalPath);
166var fileSystem = new DefaultRazorProjectFileSystem(TestFolder);
178Assert.Equal(Path.Combine(TestFolder, "Views", "About", "About.cshtml"), item.PhysicalPath);
185Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "Index.cshtml"), item.PhysicalPath);
192Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "_ViewImports.cshtml"), item.PhysicalPath);
199Assert.Equal(Path.Combine(TestFolder, "Views", "_ViewImports.cshtml"), item.PhysicalPath);
208var fileSystem = new DefaultRazorProjectFileSystem(TestFolder);
221var fileSystem = new DefaultRazorProjectFileSystem(TestFolder);
233Assert.Equal(Path.Combine(TestFolder, "_ViewImports.cshtml"), item.PhysicalPath);
240Assert.Equal(Path.Combine(TestFolder, "Views", "_ViewImports.cshtml"), item.PhysicalPath);
247Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "_ViewImports.cshtml"), item.PhysicalPath);
257var fileSystem = new DefaultRazorProjectFileSystem(TestFolder);
266Assert.Equal(Path.Combine(TestFolder, "Views", "About", "About.cshtml"), item.PhysicalPath);
276var lowerCaseTestFolder = TestFolder.ToLowerInvariant();
295var fileSystem = new DefaultRazorProjectFileSystem(TestFolder);