aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
CodingGorilla 70b56f157c Updated the ResponseCacheFilter class to store a reference to the CacheProfile passed into the contructor
Updated the ResponseCacheFilter Duration, Location, NoStore, and VaryByHeader properties to return one of 3 values: the specific setting applied to the instance, the setting supplied by the CachePolicy (from the constructor), or a default value.  The emphasis being not to change the outward function of these properties to consumers, but to defer the evaluation of these properties until the OnActionExecuting method.
Updated the ResponseCacheFilter to check whether a cache duration has been supplied when the NoStore property is false and throw an InvalidOperationException when a duration has not been provided.
Updated ResponseCacheFilterTest to reflect the changes in behavior in the ResponseCacheFilter
Updated the ResponseCacheFilterAttributeTest to reflect the change in the behavior of the ResponseCacheFilter

Added unit tests to ResponseCacheFilterTest.cs to verify that the CachePolicy properties are properly overriden with the properties set directly on the ResponseCacheFilter.

Added functional tests to test the ability to override CacheProfile settings with properties on the ResponseCacheAttribute
2015-05-29 12:28:14 -07:00
..
ActionResults [Fixes #2545] RedirectToRouteResult doesn't use RouteName property when calculating destination URL 2015-05-13 12:35:25 -07:00
AntiXsrf React to Http namespace changes. 2015-05-07 15:19:10 -07:00
ApplicationModel React to security API changes 2015-05-12 15:12:06 -07:00
Filters Updated the ResponseCacheFilter class to store a reference to the CacheProfile passed into the contructor 2015-05-29 12:28:14 -07:00
Formatters Fix #2330 - Reimagine *FormatterContext 2015-05-12 11:05:56 -07:00
Internal React to Http namespace changes. 2015-05-07 15:19:10 -07:00
ModelBinding Removing creating ModelValidationNode by default in CompositeModelBinder. 2015-05-29 09:21:11 -07:00
ParameterBinding Removing creating ModelValidationNode by default in CompositeModelBinder. 2015-05-29 09:21:11 -07:00
Properties
Rendering Fix #2407 - Add back the implicit [Required] for value types 2015-05-21 17:52:25 -07:00
Routing React to Http namespace changes. 2015-05-07 15:19:10 -07:00
TestFiles
Utils
ViewComponents Part of #2151 - Remove [Activate] from ViewComponents 2015-05-21 22:57:45 -07:00
ActionExecutorTests.cs Fix #2414 Part 2 - Add [DefaultValue(...)] support to the invoker for 2015-05-14 13:58:02 -07:00
BindAttributeTest.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
ConsumesAttributeTests.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
ControllerActionDescriptorBuilderTest.cs
ControllerActionDescriptorProviderTests.cs Part 1 of fix for #2248 - Ambiguity when inheriting attribute routes 2015-05-08 17:05:45 -07:00
ControllerActionInvokerTest.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
ControllerTests.cs Added overload to ViewComponent.Json to accept JsonSerializerSettings 2015-05-14 15:45:41 -07:00
ControllerUnitTestabilityTests.cs [Fixes #2506] Added overload to Controller.Json to accept JsonSerializerSettings 2015-05-11 12:36:45 -07:00
DefaultActionSelectorTests.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
DefaultAssemblyProviderTests.cs
DefaultControllerActivatorTest.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
DefaultControllerFactoryTest.cs Fix #2151 - Part 4 remove [Activate] support from controllers. 2015-05-21 22:57:56 -07:00
DefaultControllerTypeProviderTest.cs
ExcludeTypeValidationFilterExtensionsTests.cs
FormatterMappingsTest.cs
HttpMethodProviderAttributesTests.cs
HttpResponseStreamWriterTest.cs Custom stream writer which avoids writing the BOM and does not flush or close the stream. 2015-05-11 13:27:05 -07:00
JsonResultTest.cs Custom stream writer which avoids writing the BOM and does not flush or close the stream. 2015-05-11 13:27:05 -07:00
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.xproj
MockMvcOptionsAccessor.cs
MockScopedInstance.cs
MvcOptionsTests.cs
MvcRouteHandlerTests.cs
RemoteAttributeTest.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
RequireHttpsAttributeTests.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
Resources.resx
RouteDataActionConstraintTest.cs
RouteTemplateProviderAttributesTest.cs
ScopedInstanceTest.cs
SerializableErrorWrapperTests.cs
ServiceBasedControllerActivatorTest.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
SessionStateTempDataProviderTest.cs fix #2535: Timezone test failure in Microsoft.AspNet.Mvc.Core.Tests 2015-05-13 10:06:26 -07:00
SimpleTypeExcludeFilterTest.cs
TempDataDictionaryTest.cs
TestController.cs Fix #2414 Part 2 - Add [DefaultValue(...)] support to the invoker for 2015-05-14 13:58:02 -07:00
TestGlobalFilterProvider.cs
TypeHelperTest.cs
UrlHelperTest.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
ViewComponentTests.cs Part of #2151 - Remove [Activate] from ViewComponents 2015-05-21 22:57:45 -07:00
ViewDataDictionaryOfTModelTest.cs
ViewDataDictionaryTest.cs
ViewEngineDescriptorExtensionsTest.cs
ViewEngineDescriptorTest.cs
project.json