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