31 references to VerifyEndpoint
Microsoft.Extensions.Validation.GeneratorTests (31)
ValidationsGenerator.ComplexType.cs (10)
81
await
VerifyEndpoint
(compilation, "/complex-type-with-json-ignore", async (endpoint, serviceProvider) =>
119
await
VerifyEndpoint
(compilation, "/record-type-with-json-ignore", async (endpoint, serviceProvider) =>
260
await
VerifyEndpoint
(compilation, "/complex-type", async (endpoint, serviceProvider) =>
602
await
VerifyEndpoint
(compilation, "/accessibility-test", async (endpoint, serviceProvider) =>
688
await
VerifyEndpoint
(compilation, "/json-ignore-conditions", async (endpoint, serviceProvider) =>
829
await
VerifyEndpoint
(compilation, "/json-element", async (endpoint, serviceProvider) =>
840
await
VerifyEndpoint
(compilation, "/type-with-json-element", async (endpoint, serviceProvider) =>
856
await
VerifyEndpoint
(compilation, "/type-with-json-element", async (endpoint, serviceProvider) =>
916
await
VerifyEndpoint
(compilation, "/order", async (endpoint, serviceProvider) =>
929
await
VerifyEndpoint
(compilation, "/order", async (endpoint, serviceProvider) =>
ValidationsGenerator.IValidatableObject.cs (4)
105
await
VerifyEndpoint
(compilation, "/validatable-object", async (endpoint, serviceProvider) =>
231
await
VerifyEndpoint
(compilation, "/base", async (endpoint, serviceProvider) =>
256
await
VerifyEndpoint
(compilation, "/derived", async (endpoint, serviceProvider) =>
281
await
VerifyEndpoint
(compilation, "/complex", 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) =>
153
await
VerifyEndpoint
(compilation, "/polymorphism-container", async (endpoint, serviceProvider) =>
ValidationsGenerator.RecordType.cs (2)
102
await
VerifyEndpoint
(compilation, "/validatable-record", async (endpoint, serviceProvider) =>
424
await
VerifyEndpoint
(compilation, "/validatable-record-struct", async (endpoint, serviceProvider) =>
ValidationsGenerator.Recursion.cs (1)
41
await
VerifyEndpoint
(compilation, "/recursive-type", async (endpoint, serviceProvider) =>
ValidationsGenerator.SkipValidation.cs (4)
450
await
VerifyEndpoint
(compilation, "/simple-params", async (endpoint, serviceProvider) =>
466
await
VerifyEndpoint
(compilation, "/non-skipped-complex-type", async (endpoint, serviceProvider) =>
487
await
VerifyEndpoint
(compilation, "/skipped-complex-type", async (endpoint, serviceProvider) =>
501
await
VerifyEndpoint
(compilation, "/always-skipped-type", async (endpoint, serviceProvider) =>