33 references to CreateEndpoint
Microsoft.AspNetCore.Routing.Tests (33)
Matching\AcceptsMatcherPolicyTest.cs (33)
18var endpoints = new[] { CreateEndpoint("/", null), };
35CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
53CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
54CreateEndpoint("/", new AcceptsMetadata(new[] { "application/json", })),
72CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>()), new DynamicEndpointMetadata()),
73CreateEndpoint("/", new AcceptsMetadata(new[] { "application/json", })),
89var endpoints = new[] { CreateEndpoint("/", null, new DynamicEndpointMetadata()), };
106CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>()), new DynamicEndpointMetadata()),
124CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>()), new DynamicEndpointMetadata()),
125CreateEndpoint("/", new AcceptsMetadata(new[] { "application/json", })),
143CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
144CreateEndpoint("/", new AcceptsMetadata(new[] { "application/json", })),
164CreateEndpoint("/", new AcceptsMetadata(new[] { "application/json", "application/*+json", })),
165CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
166CreateEndpoint("/", new AcceptsMetadata(new[] { "application/xml", "application/*+xml", })),
167CreateEndpoint("/", new AcceptsMetadata(new[] { "application/*", })),
168CreateEndpoint("/", new AcceptsMetadata(new[]{ "*/*", })),
224CreateEndpoint("/", new AcceptsMetadata(new[] { "application/json", "application/*+json", })),
225CreateEndpoint("/", new AcceptsMetadata(new[] { "application/xml", "application/*+xml", })),
226CreateEndpoint("/", new AcceptsMetadata(new[] { "application/*", })),
319CreateEndpoint("/", null),
340CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
361CreateEndpoint("/", new AcceptsMetadata(new string[] { "*/*" })),
382CreateEndpoint("/", null),
409CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
436CreateEndpoint("/", new AcceptsMetadata(new string[] { "*/*" })),
463CreateEndpoint("/", new AcceptsMetadata(new string[] { "application/*+json", })),
490CreateEndpoint("/", new AcceptsMetadata(new string[] { "text/xml", "application/xml", })),
517CreateEndpoint("/", new AcceptsMetadata(new string[] { "text/xml", "application/xml", })),
545CreateEndpoint("/", new AcceptsMetadata(new string[] { "text/xml", "application/xml", })),
546CreateEndpoint("/", null)
574CreateEndpoint("/", new AcceptsMetadata(new string[] { "text/xml", "application/xml", })),
575CreateEndpoint("/", new AcceptsMetadata(new string[] { "*/*", }))