15 writes to TempData
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Controller.cs (1)
203
TempData
= TempData
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (14)
PartialViewResultExecutorTest.cs (10)
44
TempData
= Mock.Of<ITempDataDictionary>(),
66
TempData
= Mock.Of<ITempDataDictionary>(),
90
TempData
= Mock.Of<ITempDataDictionary>(),
123
TempData
= Mock.Of<ITempDataDictionary>(),
158
TempData
= Mock.Of<ITempDataDictionary>(),
193
TempData
= Mock.Of<ITempDataDictionary>(),
221
TempData
= Mock.Of<ITempDataDictionary>(),
264
TempData
= Mock.Of<ITempDataDictionary>(),
294
TempData
= Mock.Of<ITempDataDictionary>(),
323
TempData
= Mock.Of<ITempDataDictionary>(),
PartialViewResultTest.cs (4)
88
TempData
= Mock.Of<ITempDataDictionary>(),
126
TempData
= Mock.Of<ITempDataDictionary>(),
166
TempData
= Mock.Of<ITempDataDictionary>(),
215
TempData
= Mock.Of<ITempDataDictionary>(),
7 references to TempData
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
PartialViewResultExecutor.cs (1)
139
viewResult.
TempData
,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (6)
ControllerTest.cs (5)
215
Assert.Same(controller.TempData, actualViewResult.
TempData
);
238
Assert.Same(controller.TempData, actualViewResult.
TempData
);
260
Assert.Same(controller.TempData, actualViewResult.
TempData
);
282
Assert.Same(controller.TempData, actualViewResult.
TempData
);
304
Assert.Same(controller.TempData, actualViewResult.
TempData
);
ControllerUnitTestabilityTests.cs (1)
57
Assert.Same(controller.TempData, viewResult.
TempData
);