32 references to CreateEndpoint
Microsoft.AspNetCore.Routing.Tests (32)
Matching\EndpointComparerTest.cs (32)
15var endpoint1 = CreateEndpoint("/", order: 1); 16var endpoint2 = CreateEndpoint("/api/foo", order: -1); 31var endpoint1 = CreateEndpoint("/api/foo", order: 1); 32var endpoint2 = CreateEndpoint("/", order: 1); 47var endpoint1 = CreateEndpoint("/", order: 1, new TestMetadata1()); 48var endpoint2 = CreateEndpoint("/", order: 1); 63var endpoint1 = CreateEndpoint("/", order: 1, new TestMetadata1()); 64var endpoint2 = CreateEndpoint("/", order: 1, new TestMetadata1(), new TestMetadata2()); 79var endpoint1 = CreateEndpoint("/foo", order: 1, new TestMetadata1()); 80var endpoint2 = CreateEndpoint("/bar", order: 1, new TestMetadata1()); 95var endpoint1 = CreateEndpoint("/foo", order: 1, new TestMetadata1()); 96var endpoint2 = CreateEndpoint("/foo", order: 1, new TestMetadata1()); 111var endpoint1 = CreateEndpoint("/", order: 1); 112var endpoint2 = CreateEndpoint("/api/foo", order: -1); 127var endpoint1 = CreateEndpoint("/api/foo", order: 1); 128var endpoint2 = CreateEndpoint("/", order: 1); 143var endpoint1 = CreateEndpoint("/", order: 1, new TestMetadata1()); 144var endpoint2 = CreateEndpoint("/", order: 1); 159var endpoint1 = CreateEndpoint("/", order: 1, new TestMetadata1()); 160var endpoint2 = CreateEndpoint("/", order: 1, new TestMetadata1(), new TestMetadata2()); 175var endpoint1 = CreateEndpoint("/foo", order: 1, new TestMetadata1()); 176var endpoint2 = CreateEndpoint("/bar", order: 1, new TestMetadata1()); 191var endpoint1 = CreateEndpoint("/foo", order: -1); 192var endpoint2 = CreateEndpoint("/bar/{baz}", order: -1); 193var endpoint3 = CreateEndpoint("/bar", order: 0, new TestMetadata1()); 194var endpoint4 = CreateEndpoint("/foo", order: 0, new TestMetadata2()); 195var endpoint5 = CreateEndpoint("/foo", order: 0); 196var endpoint6 = CreateEndpoint("/a{baz}", order: 0, new TestMetadata1(), new TestMetadata2()); 197var endpoint7 = CreateEndpoint("/bar{baz}", order: 0, new TestMetadata1(), new TestMetadata2()); 223var endpoint1 = CreateEndpoint("/I", order: 0); 224var endpoint2 = CreateEndpoint("/i", order: 0); 225var endpoint3 = CreateEndpoint("/\u0131", order: 0); // Turkish lowercase i