15 writes to TempData
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Controller.cs (1)
150
TempData
= TempData
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (14)
ViewResultExecutorTest.cs (10)
43
TempData
= Mock.Of<ITempDataDictionary>(),
65
TempData
= Mock.Of<ITempDataDictionary>(),
89
TempData
= Mock.Of<ITempDataDictionary>(),
121
TempData
= Mock.Of<ITempDataDictionary>(),
155
TempData
= Mock.Of<ITempDataDictionary>(),
189
TempData
= Mock.Of<ITempDataDictionary>(),
217
TempData
= Mock.Of<ITempDataDictionary>(),
259
TempData
= Mock.Of<ITempDataDictionary>(),
289
TempData
= Mock.Of<ITempDataDictionary>(),
313
TempData
= Mock.Of<ITempDataDictionary>(),
ViewResultTest.cs (4)
98
TempData
= Mock.Of<ITempDataDictionary>(),
138
TempData
= Mock.Of<ITempDataDictionary>(),
178
TempData
= Mock.Of<ITempDataDictionary>(),
227
TempData
= Mock.Of<ITempDataDictionary>(),
8 references to TempData
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewResultExecutor.cs (1)
156
result.
TempData
,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
ControllerTest.cs (6)
80
Assert.Same(controller.TempData, actualViewResult.
TempData
);
104
Assert.Same(controller.TempData, actualViewResult.
TempData
);
125
Assert.Same(controller.TempData, actualViewResult.
TempData
);
147
Assert.Same(controller.TempData, actualViewResult.
TempData
);
169
Assert.Same(controller.TempData, actualViewResult.
TempData
);
191
Assert.Same(controller.TempData, actualViewResult.
TempData
);
ControllerUnitTestabilityTests.cs (1)
35
Assert.Same(controller.TempData, viewResult.
TempData
);