aspnetcore/test/Microsoft.AspNet.Mvc.ModelB.../Validation
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
..
AssociatedValidatorProviderTest.cs
CompareAttributeAdapterTest.cs Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
CompositeModelValidatorProviderTest.cs
DataAnnotationsModelValidatorProviderTest.cs
DataAnnotationsModelValidatorTest.cs Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
DataMemberModelValidatorProviderTest.cs
DefaultBodyModelValidatorTests.cs
MaxLengthAttributeAdapterTest.cs Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
MinLengthAttributeAdapterTest.cs Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
ModelStateDictionaryTest.cs
ModelValidationNodeTest.cs
RangeAttributeAdapterTest.cs Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
ReferenceEqualityComparerTest.cs
RequiredAttributeAdapterTest.cs Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
StringLengthAttributeAdapterTest.cs Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00