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
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
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
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
ConsumesAttributeTests.cs
ControllerActionDescriptorBuilderTest.cs
ControllerActionDescriptorProviderTests.cs
ControllerActionInvokerTest.cs
ControllerTests.cs Added overload to ViewComponent.Json to accept JsonSerializerSettings 2015-05-14 15:45:41 -07:00
ControllerUnitTestabilityTests.cs
DefaultActionSelectorTests.cs
DefaultAssemblyProviderTests.cs
DefaultControllerActivatorTest.cs
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
JsonResultTest.cs
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.xproj
MockMvcOptionsAccessor.cs
MockScopedInstance.cs
MvcOptionsTests.cs
MvcRouteHandlerTests.cs
RemoteAttributeTest.cs
RequireHttpsAttributeTests.cs
Resources.resx
RouteDataActionConstraintTest.cs
RouteTemplateProviderAttributesTest.cs
ScopedInstanceTest.cs
SerializableErrorWrapperTests.cs
ServiceBasedControllerActivatorTest.cs
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
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