14 references to VerifyEndpoint
Microsoft.Extensions.Validation.GeneratorTests (14)
ValidationsGenerator.ComplexType.cs (1)
101
await
VerifyEndpoint
(compilation, "/complex-type", async (endpoint, serviceProvider) =>
ValidationsGenerator.IValidatableObject.cs (1)
105
await
VerifyEndpoint
(compilation, "/validatable-object", async (endpoint, serviceProvider) =>
ValidationsGenerator.MultipleNamespaces.cs (2)
53
await
VerifyEndpoint
(compilation, "/namespace-one", async (endpoint, serviceProvider) =>
90
await
VerifyEndpoint
(compilation, "/namespace-two", async (endpoint, serviceProvider) =>
ValidationsGenerator.NoOp.cs (3)
42
await
VerifyEndpoint
(compilation, "/complex-type", async (endpoint, serviceProvider) =>
106
await
VerifyEndpoint
(compilation, "/complex-type", async (endpoint, serviceProvider) =>
162
await
VerifyEndpoint
(compilation, "/complex-type", async (endpoint, serviceProvider) =>
ValidationsGenerator.Parameters.cs (1)
61
await
VerifyEndpoint
(compilation, "/params", async (endpoint, serviceProvider) =>
ValidationsGenerator.Parsable.cs (1)
65
await
VerifyEndpoint
(compilation, "/complex-type-with-parsable-properties", async (endpoint, serviceProvider) =>
ValidationsGenerator.Polymorphism.cs (3)
82
await
VerifyEndpoint
(compilation, "/basic-polymorphism", async (endpoint, serviceProvider) =>
114
await
VerifyEndpoint
(compilation, "/validatable-polymorphism", async (endpoint, serviceProvider) =>
158
await
VerifyEndpoint
(compilation, "/polymorphism-container", async (endpoint, serviceProvider) =>
ValidationsGenerator.RecordType.cs (1)
88
await
VerifyEndpoint
(compilation, "/validatable-record", async (endpoint, serviceProvider) =>
ValidationsGenerator.Recursion.cs (1)
41
await
VerifyEndpoint
(compilation, "/recursive-type", async (endpoint, serviceProvider) =>