23 references to AssertKeysEqual
Microsoft.AspNetCore.Mvc.Core.Test (23)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (23)
40AssertKeysEqual(modelState, "parameter");
67AssertKeysEqual(modelState, "parameter");
96AssertKeysEqual(modelState, string.Empty, "parameter");
123AssertKeysEqual(modelState, "parameter");
173AssertKeysEqual(modelState, "parameter.Reference", "parameter.Value");
205AssertKeysEqual(modelState, "parameter.Reference", "parameter.Value");
235AssertKeysEqual(modelState, "Name", "Profession");
278AssertKeysEqual(modelState, "person.Name", "person.Address.Street");
310AssertKeysEqual(modelState, "parameter.Street");
342AssertKeysEqual(modelState, "Street");
374AssertKeysEqual(modelState, "Name", "Profession", "Friend.Name", "Friend.Profession");
487AssertKeysEqual(modelState, "parameter", "parameter.Property1", "parameter.Property2", "parameter.Property3");
664AssertKeysEqual(modelState, "parameter.Name", "parameter.Profession");
700AssertKeysEqual(modelState, "parameter.Name", "parameter.Profession");
740AssertKeysEqual(modelState, string.Empty, "key1", "user.ConfirmPassword", "user.Password");
770AssertKeysEqual(modelState, "parameter[0]", "parameter[1]");
801AssertKeysEqual(modelState, "[0].Name", "[0].Profession", "[1].Name", "[1].Profession");
844AssertKeysEqual(modelState, "[0].Name", "[0].Profession", "[1].Name", "[1].Profession");
926AssertKeysEqual(modelState, "items[0]", "items[1]", "items[2]");
1002AssertKeysEqual(modelState, "items[0].Key", "items[0].Value", "items[1].Key", "items[1].Value");
1043AssertKeysEqual(
1149AssertKeysEqual(modelState, "user.Password");
1179AssertKeysEqual(modelState, "userIds[0]");