1 write to Name
Microsoft.AspNetCore.Http.Results.Tests (1)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
548Name = path;
12 references to Name
Microsoft.AspNetCore.Http.Results.Tests (12)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (12)
72Assert.Equal(path, sendFileFeature.Name); 109Assert.Equal(path, sendFileFeature.Name); 142Assert.Equal(path, sendFileFeature.Name); 175Assert.Equal(path, sendFileFeature.Name); 210Assert.Equal(path, sendFileFeature.Name); 281Assert.Null(sendFileFeature.Name); // Not called 313Assert.Null(sendFileFeature.Name); // Not called 345Assert.Equal(Path.Combine("TestFiles", "FilePathResultTestFile.txt"), sendFile.Name); 372Assert.Equal("FilePathResultTestFile_ASCII.txt", sendFileFeature.Name); 389Assert.Equal(path, sendFileFeature.Name); 412Assert.Equal(path, sendFileFeature.Name); 435Assert.Equal(expectedPath, sendFileFeature.Name);