aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
Doug Bunting 80b004678d Get `[Remote]` and supporting classes building
- #439 (2 of 3)
- correct namespaces
- correct `Resources` class and member names; add new resources
- add `RequestServices` property to `ClientModelValidationContext`
- adjust to modern `IUrlHelper` API
- add `IClientModelValidator` support in `DataAnnotationsModelValidator`
- move previously-unused `StringSplit()` to `RemoteAttribute` and rename
- rewrite `RemoteAttributeTest`
 - improve test method names

Reduce number of `[Remote]` constructor overloads
- remove `AreaReference` enum and related `[Remote]` constructor overload
 - use `null` or empty `string` as explicit reference to the root area
- generally reduce parameter validation; match `UrlHelper`

Cleanup
- correct Engineering Guidelines violations
 - especially: add doc comments
- correct spelling error in `_additonalFieldsSplit`

nits:
- minimize `null` checks in `AdditionalFields`
- make `GetClientValidationRules` `virtual`; some subclasses use `new` today
- add tests of `DataAnnotationsModelValidator.GetClientValidationRules()`
- remove `builder.ToString()` calls since it appears
  https://roslyn.codeplex.com/workitem/246 has been resolved or Moq has
  worked around that issue.
2015-01-30 12:26:48 -08:00
..
ActionResults Added StatusCode property to OutputFormatterContext 2015-01-26 17:32:04 -08:00
AntiXsrf
ApplicationModel Provided a way to add data to ActionDescriptor from ApplicationModel. 2015-01-26 15:20:02 -08:00
Description Adds parameter information to ApiExplorer 2015-01-22 13:30:41 -08:00
Filters
Formatters [Resolves #1887] XmlDataContractSerializer Input and Output Formatter Tests Cleanup. 2015-01-30 10:02:33 +01:00
Internal Handle trailing semicolon after @inject. 2015-01-22 14:01:10 -08:00
Logging
OptionDescriptors
ParameterBinding Fix for #1538 and #1891 2015-01-28 16:53:28 -08:00
Properties
Rendering Use `[Display(Order=x)]` to sort validation messages and properties 2015-01-29 09:31:05 -08:00
Routing
TestFiles
Utils
ViewComponents Issue #1525 - Enhancements to ActionContext 2015-01-27 14:35:31 -08:00
ActionConstraintValuesTest.cs
ActionDescriptorValuesTest.cs
ActionExecutorTests.cs
ActionModelValuesTest.cs
ApiExplorerModelValuesTest.cs
AttributeRouteInfoValuesTest.cs
AttributeRouteModelValuesTest.cs
BodyModelBinderTests.cs
ConsumesAttributeTests.cs
ControllerActionDescriptorBuilderTest.cs Provided a way to add data to ActionDescriptor from ApplicationModel. 2015-01-26 15:20:02 -08:00
ControllerActionDescriptorProviderTests.cs Add ApiExplorer details to ApplicationModel 2015-01-26 14:47:11 -08:00
ControllerActionInvokerTest.cs Fix for #1538 and #1891 2015-01-28 16:53:28 -08:00
ControllerModelValuesTest.cs
ControllerTests.cs
ControllerUnitTestabilityTests.cs
DefaultActionDescriptorCollectionProviderLoggingTest.cs
DefaultActionSelectorSelectAsyncValuesTest.cs
DefaultActionSelectorTests.cs
DefaultAssemblyProviderTests.cs
DefaultControllerActivatorTest.cs Issue #1525 - Enhancements to ActionContext 2015-01-27 14:35:31 -08:00
DefaultControllerFactoryTest.cs
DefaultInputFormatterSelectorTests.cs
DefaultViewComponentActivatorTests.cs Issue #1525 - Enhancements to ActionContext 2015-01-27 14:35:31 -08:00
FilterDescriptorValuesTest.cs
FilterValuesTest.cs
HttpMethodProviderAttributesTests.cs
JsonResultTest.cs [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.kproj [cleanup] Update .gitignore and reset .kproj files 2015-01-21 22:03:23 -08:00
MockModelBinderProvider.cs
MockModelValidatorProviderProvider.cs
MockMvcOptionsAccessor.cs
MockScopedInstance.cs
MockValueProviderFactoryProvider.cs
MvcOptionsTests.cs
MvcRouteHandlerTests.cs
RemoteAttributeTest.cs Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
RequireHttpsAttributeTests.cs
ResponseCacheAttributeTest.cs
RouteConstraintProviderValuesTest.cs
RouteDataActionConstraintTest.cs
RouteDataActionConstraintValuesTest.cs
RouteTemplateProviderAttributesTest.cs
SerializableErrorWrapperTests.cs [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00
StaticAssemblyProvider.cs
StaticControllerModelBuilder.cs
TestController.cs
TestGlobalFilterProvider.cs
TypeHelperTest.cs
UrlHelperTest.cs Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
ViewComponentTests.cs
ViewDataDictionaryOfTModelTest.cs
ViewDataDictionaryTest.cs
project.json [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00