21 references to VerifyEndpoint
Microsoft.Extensions.Validation.GeneratorTests (21)
ValidationsGenerator.ComplexType.cs (4)
81await VerifyEndpoint(compilation, "/complex-type-with-json-ignore", async (endpoint, serviceProvider) => 119await VerifyEndpoint(compilation, "/record-type-with-json-ignore", async (endpoint, serviceProvider) => 260await VerifyEndpoint(compilation, "/complex-type", async (endpoint, serviceProvider) => 602await VerifyEndpoint(compilation, "/accessibility-test", async (endpoint, serviceProvider) =>
ValidationsGenerator.IValidatableObject.cs (1)
105await VerifyEndpoint(compilation, "/validatable-object", async (endpoint, serviceProvider) =>
ValidationsGenerator.MultipleNamespaces.cs (2)
53await VerifyEndpoint(compilation, "/namespace-one", async (endpoint, serviceProvider) => 90await VerifyEndpoint(compilation, "/namespace-two", async (endpoint, serviceProvider) =>
ValidationsGenerator.NoOp.cs (3)
42await VerifyEndpoint(compilation, "/complex-type", async (endpoint, serviceProvider) => 106await VerifyEndpoint(compilation, "/complex-type", async (endpoint, serviceProvider) => 162await VerifyEndpoint(compilation, "/complex-type", async (endpoint, serviceProvider) =>
ValidationsGenerator.Parameters.cs (1)
61await VerifyEndpoint(compilation, "/params", async (endpoint, serviceProvider) =>
ValidationsGenerator.Parsable.cs (1)
65await VerifyEndpoint(compilation, "/complex-type-with-parsable-properties", async (endpoint, serviceProvider) =>
ValidationsGenerator.Polymorphism.cs (3)
82await VerifyEndpoint(compilation, "/basic-polymorphism", async (endpoint, serviceProvider) => 114await VerifyEndpoint(compilation, "/validatable-polymorphism", async (endpoint, serviceProvider) => 153await VerifyEndpoint(compilation, "/polymorphism-container", async (endpoint, serviceProvider) =>
ValidationsGenerator.RecordType.cs (1)
102await VerifyEndpoint(compilation, "/validatable-record", async (endpoint, serviceProvider) =>
ValidationsGenerator.Recursion.cs (1)
41await VerifyEndpoint(compilation, "/recursive-type", async (endpoint, serviceProvider) =>
ValidationsGenerator.SkipValidation.cs (4)
450await VerifyEndpoint(compilation, "/simple-params", async (endpoint, serviceProvider) => 466await VerifyEndpoint(compilation, "/non-skipped-complex-type", async (endpoint, serviceProvider) => 487await VerifyEndpoint(compilation, "/skipped-complex-type", async (endpoint, serviceProvider) => 501await VerifyEndpoint(compilation, "/always-skipped-type", async (endpoint, serviceProvider) =>