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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
compiler/resources Fix #2407 - Add back the implicit [Required] for value types 2015-05-21 17:52:25 -07:00
ActionResultTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ActivatorTests.cs Fix #2151 - Part 4 remove [Activate] support from controllers. 2015-05-21 22:57:56 -07:00
AntiForgeryTestHelper.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
AntiForgeryTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ApiExplorerTest.cs Fix #2378 - Fully expand models in ApiExplorer 2015-05-08 11:53:38 -07:00
ApplicationModelTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
BasicTests.cs [Fixes #2547] Fixed attribute value prefix with dynamic content being ignored 2015-05-18 17:15:38 -07:00
BestEffortLinkGenerationTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CompilationOptionsTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CompositeViewEngineTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ConsumesAttributeTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ContentNegotiationTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ControllerDiscoveryConventionTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ControllerFromServicesTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CorsMiddlewareTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CorsTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CustomRouteTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CustomUrlHelperTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
DefaultOrderTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
DefaultValuesTest.cs Fix #2414 Part 2 - Add [DefaultValue(...)] support to the invoker for 2015-05-14 13:58:02 -07:00
DependencyResolverTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FileResultTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FiltersTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FlushPointTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FormatFilterTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
HtmlHelperOptionsTest.cs Fix #2407 - Add back the implicit [Required] for value types 2015-05-21 17:52:25 -07:00
HttpResponseMessageExceptions.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
InlineConstraintTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
InputFormatterTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Add more details to ModelAttributes 2015-04-17 17:35:20 -07:00
ModelBindingBindingBehaviorTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ModelBindingDataMemberRequiredTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ModelBindingFromFormTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ModelBindingFromHeaderTest.cs Fix #2407 - Part 1 - Make model binding behavior for [Required] compatible 2015-05-19 15:57:56 -07:00
ModelBindingFromQueryTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ModelBindingFromRouteTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ModelBindingModelBinderAttributeTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ModelBindingTest.cs Removing creating ModelValidationNode by default in CompositeModelBinder. 2015-05-29 09:21:11 -07:00
ModelMetadataAttributeTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
MvcSampleTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
MvcStartupTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
MvcTagHelpersTest.cs ImageTagHelper 2015-05-11 13:41:10 -05:00
OutputFormatterTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
PrecompilationTest.cs Fix #2407 - Add back the implicit [Required] for value types 2015-05-21 17:52:25 -07:00
RazorCompilerCacheTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RazorEmbeddedViewsTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RazorFileSystemCaseSensitivityTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RazorPageExecutionInstrumentationTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RazorViewLocationSpecificationTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RemoteAttributeValidationTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RequestServicesTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ResourceHelpers.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RespectBrowserAcceptHeaderTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RouteDataTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RoutingLowercaseUrlTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RoutingTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
SerializableErrorTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
StreamOutputFormatterTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
TagHelperSampleTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
TagHelpersTest.cs Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
TempDataTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
TestApplicationEnvironment.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
TestHelper.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
TryValidateModelTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ValueProviderTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
VersioningTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ViewComponentTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
WebApiCompatShimBasicTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
WebApiCompatShimParameterBindingTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
XmlDataContractSerializerFormattersWrappingTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
XmlDataContractSerializerInputFormatterTest.cs Fix #2528 - Revert formatter behavior for [Required] 2015-05-12 11:17:31 -07:00
XmlOutputFormatterTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
XmlSerializerFormattersWrappingTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
XmlSerializerInputFormatterTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
project.json fix build break 2015-05-21 11:25:03 -07:00