19 references to ProjectFileSystem
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (19)
ChecksumValidatorTest.cs (19)
67var result = ChecksumValidator.IsItemValid(ProjectFileSystem, item);
84var result = ChecksumValidator.IsItemValid(ProjectFileSystem, item);
100ProjectFileSystem.Add(new TestRazorProjectItem("/Views/Home/_ViewImports.cstml", "dkdkfkdf")); // This will be ignored
103var result = ChecksumValidator.IsItemValid(ProjectFileSystem, item);
119ProjectFileSystem.Add(new TestRazorProjectItem("/Views/Home/Index.cstml", "other content"));
122var result = ChecksumValidator.IsItemValid(ProjectFileSystem, item);
138ProjectFileSystem.Add(new TestRazorProjectItem("/Views/Home/Index.cstml", "some content"));
141var result = ChecksumValidator.IsItemValid(ProjectFileSystem, item);
157ProjectFileSystem.Add(new TestRazorProjectItem("/Views/Home/Index.cstml", "some content"));
158ProjectFileSystem.Add(new TestRazorProjectItem("/Views/Home/_ViewImports.cstml", "some other import"));
161var result = ChecksumValidator.IsItemValid(ProjectFileSystem, item);
178ProjectFileSystem.Add(new TestRazorProjectItem("/Views/Home/Index.cstml", "some content"));
179ProjectFileSystem.Add(new TestRazorProjectItem("/Views/Home/_ViewImports.cstml", "some import"));
180ProjectFileSystem.Add(new TestRazorProjectItem("/Views/_ViewImports.cstml", "some other import"));
183var result = ChecksumValidator.IsItemValid(ProjectFileSystem, item);
200ProjectFileSystem.Add(new TestRazorProjectItem("/Views/Home/Index.cstml", "some content"));
201ProjectFileSystem.Add(new TestRazorProjectItem("/Views/Home/_ViewImports.cstml", "some import"));
202ProjectFileSystem.Add(new TestRazorProjectItem("/Views/_ViewImports.cstml", "some other import"));
205var result = ChecksumValidator.IsItemValid(ProjectFileSystem, item);