aspnetcore/test/Microsoft.AspNet.Mvc.Functi...
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
..
Logging
compiler/resources Fix #2407 - Add back the implicit [Required] for value types 2015-05-21 17:52:25 -07:00
ActionResultTests.cs
ActivatorTests.cs Fix #2151 - Part 4 remove [Activate] support from controllers. 2015-05-21 22:57:56 -07:00
AntiForgeryTestHelper.cs
AntiForgeryTests.cs
ApiExplorerTest.cs
ApplicationModelTest.cs
BasicTests.cs [Fixes #2547] Fixed attribute value prefix with dynamic content being ignored 2015-05-18 17:15:38 -07:00
BestEffortLinkGenerationTest.cs
CompilationOptionsTests.cs
CompositeViewEngineTests.cs
ConsumesAttributeTests.cs
ContentNegotiationTest.cs
ControllerDiscoveryConventionTests.cs
ControllerFromServicesTests.cs
CorsMiddlewareTests.cs
CorsTests.cs
CustomRouteTest.cs
CustomUrlHelperTests.cs
DefaultOrderTest.cs
DefaultValuesTest.cs Fix #2414 Part 2 - Add [DefaultValue(...)] support to the invoker for 2015-05-14 13:58:02 -07:00
DependencyResolverTests.cs
DirectivesTest.cs Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
ErrorPageTests.cs Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
ExceptionInfo.cs
FileResultTests.cs
FiltersTest.cs
FlushPointTest.cs
FormatFilterTest.cs
HtmlHelperOptionsTest.cs Fix #2407 - Add back the implicit [Required] for value types 2015-05-21 17:52:25 -07:00
HttpResponseMessageExceptions.cs
InlineConstraintTests.cs
InputFormatterTests.cs
InputObjectValidationTests.cs Fixes #2464 - Does not add extra skipped entries for model bound from services. 2015-05-15 12:27:43 -07:00
JsonOutputFormatterTests.cs Adding some deserialization to a test for SerializableError 2015-05-14 15:38:50 -07:00
JsonPatchTest.cs Fix 2224: [Jsonpatch]Added tests for custom converters on properties 2015-05-14 17:18:42 -07:00
JsonResultTest.cs [Fixes #2506] Added overload to Controller.Json to accept JsonSerializerSettings 2015-05-11 12:36:45 -07:00
LinkGenerationTests.cs [Fixes #2545] RedirectToRouteResult doesn't use RouteName property when calculating destination URL 2015-05-13 12:35:25 -07:00
Microsoft.AspNet.Mvc.FunctionalTests.xproj
ModelBindingBindingBehaviorTest.cs
ModelBindingDataMemberRequiredTest.cs
ModelBindingFromFormTest.cs
ModelBindingFromHeaderTest.cs Fix #2407 - Part 1 - Make model binding behavior for [Required] compatible 2015-05-19 15:57:56 -07:00
ModelBindingFromQueryTest.cs
ModelBindingFromRouteTest.cs
ModelBindingModelBinderAttributeTest.cs
ModelBindingTest.cs Removing creating ModelValidationNode by default in CompositeModelBinder. 2015-05-29 09:21:11 -07:00
ModelMetadataAttributeTest.cs
MvcSampleTests.cs
MvcStartupTests.cs
MvcTagHelpersTest.cs ImageTagHelper 2015-05-11 13:41:10 -05:00
OutputFormatterTest.cs
PrecompilationTest.cs Fix #2407 - Add back the implicit [Required] for value types 2015-05-21 17:52:25 -07:00
RazorCompilerCacheTest.cs
RazorEmbeddedViewsTest.cs
RazorFileSystemCaseSensitivityTest.cs
RazorPageExecutionInstrumentationTest.cs
RazorViewLocationSpecificationTest.cs
RemoteAttributeValidationTest.cs
RequestServicesTest.cs
ResourceHelpers.cs
RespectBrowserAcceptHeaderTests.cs
ResponseCacheTest.cs Updated the ResponseCacheFilter class to store a reference to the CacheProfile passed into the contructor 2015-05-29 12:28:14 -07:00
RoundTripTests.cs
RouteDataTest.cs
RoutingLowercaseUrlTest.cs
RoutingTests.cs
SerializableErrorTests.cs
StreamOutputFormatterTest.cs
TagHelperSampleTest.cs
TagHelpersTest.cs Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
TempDataTest.cs
TestApplicationEnvironment.cs
TestHelper.cs
TryValidateModelTest.cs
ValueProviderTest.cs
VersioningTests.cs
ViewComponentTests.cs
ViewEngineTests.cs Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
WebApiCompatShimActionResultTest.cs [Fixes #2545] RedirectToRouteResult doesn't use RouteName property when calculating destination URL 2015-05-13 12:35:25 -07:00
WebApiCompatShimActionSelectionTest.cs
WebApiCompatShimBasicTest.cs
WebApiCompatShimParameterBindingTest.cs
XmlDataContractSerializerFormattersWrappingTest.cs
XmlDataContractSerializerInputFormatterTest.cs Fix #2528 - Revert formatter behavior for [Required] 2015-05-12 11:17:31 -07:00
XmlOutputFormatterTests.cs
XmlSerializerFormattersWrappingTest.cs
XmlSerializerInputFormatterTests.cs
project.json fix build break 2015-05-21 11:25:03 -07:00