Implemented interface member:
property
Name
Microsoft.Extensions.FileProviders.IFileInfo.Name
16 writes to Name
Microsoft.AspNetCore.Hosting.Tests (16)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (16)
96
first.Setup(s => s.GetFileInfo("icon.png")).Returns(new TestFileInfo() {
Name
= "icon.png", Exists = true });
98
second.Setup(s => s.GetFileInfo("hero.gif")).Returns(new TestFileInfo() {
Name
= "hero.gif", Exists = true });
173
first.Setup(s => s.GetFileInfo("icon.png")).Returns(new TestFileInfo() {
Name
= "icon.png", Exists = true });
175
second.Setup(s => s.GetFileInfo("hero.gif")).Returns(new TestFileInfo() {
Name
= "hero.gif", Exists = true });
249
first.Setup(s => s.GetFileInfo("Subdir")).Returns(new TestFileInfo() {
Name
= "Subdir", Exists = true });
251
second.Setup(s => s.GetFileInfo("hero.gif")).Returns(new TestFileInfo() {
Name
= "hero.gif", Exists = true });
661
var styles = new TestFileInfo { Exists = true, IsDirectory = false,
Name
= "styles.css" };
662
var js = new TestFileInfo { Exists = true, IsDirectory = true,
Name
= "js" };
663
var file = new TestFileInfo { Exists = true,
Name
= "file.js", IsDirectory = false };
664
var transitiveDep = new TestFileInfo { Exists = true, IsDirectory = false,
Name
= "project-transitive-dep.js" };
665
var transitiveDepV4 = new TestFileInfo { Exists = true, IsDirectory = false,
Name
= "project-transitive-dep.v4.js" };
684
var css = new TestFileInfo { Exists = true, IsDirectory = true,
Name
= "css" };
685
var site = new TestFileInfo { Exists = true, IsDirectory = false,
Name
= "site.css" };
686
var js = new TestFileInfo { Exists = true, IsDirectory = true,
Name
= "js" };
687
var projectDirectDep = new TestFileInfo { Exists = true, IsDirectory = false,
Name
= "project-direct-dep.js" };
737
var otherHtml = new TestFileInfo { Exists = true, IsDirectory = false,
Name
= "other.html" };