81 references to MatcherAssert
Microsoft.AspNetCore.Routing.Tests (81)
DefaultLinkParserTest.cs (3)
79
MatcherAssert
.AssertRouteValuesEqual(new { controller = "Home", action = "Index", id = "17" }, values);
99
MatcherAssert
.AssertRouteValuesEqual(new { controller = "Home", action = "Index", }, values);
115
MatcherAssert
.AssertRouteValuesEqual(new { controller = "Home", action = "Index", id2 = "abc" }, values);
LinkParserEndpointNameExtensionsTest.cs (1)
53
MatcherAssert
.AssertRouteValuesEqual(new { controller = "Home", action = "Index", id = "17" }, values);
Matching\DfaMatcherConformanceTest.cs (2)
22
MatcherAssert
.AssertMatch(httpContext, endpoint, keys, values);
54
MatcherAssert
.AssertMatch(httpContext, expected, ignoreValues: true);
Matching\FullFeaturedMatcherConformanceTest.cs (18)
32
MatcherAssert
.AssertMatch(httpContext, endpoint, keys, values);
47
MatcherAssert
.AssertMatch(httpContext, endpoint, new { b = "17", c = "18", });
62
MatcherAssert
.AssertMatch(httpContext, endpoint, new { b = "17", c = "18", d = "19" });
87
MatcherAssert
.AssertNotMatch(httpContext);
119
MatcherAssert
.AssertMatch(httpContext, endpoint, keys, values);
142
MatcherAssert
.AssertNotMatch(httpContext);
166
MatcherAssert
.AssertMatch(httpContext, endpoint, keys, values);
186
MatcherAssert
.AssertNotMatch(httpContext);
221
MatcherAssert
.AssertMatch(httpContext, endpoint, keys, values);
241
MatcherAssert
.AssertNotMatch(httpContext);
270
MatcherAssert
.AssertMatch(httpContext, endpoint, keys, values);
296
MatcherAssert
.AssertNotMatch(httpContext);
321
MatcherAssert
.AssertMatch(httpContext, endpoint, keys, values);
351
MatcherAssert
.AssertMatch(httpContext, expected, ignoreValues: true);
385
MatcherAssert
.AssertMatch(httpContext, expected, ignoreValues: true);
438
MatcherAssert
.AssertMatch(httpContext, expected, ignoreValues: true);
468
MatcherAssert
.AssertMatch(httpContext, expected, ignoreValues: true);
499
MatcherAssert
.AssertMatch(httpContext, expected, ignoreValues: true);
Matching\HostMatcherPolicyIntegrationTestBase.cs (22)
28
MatcherAssert
.AssertMatch(httpContext, endpoint);
44
MatcherAssert
.AssertMatch(httpContext, endpoint);
60
MatcherAssert
.AssertMatch(httpContext, endpoint);
76
MatcherAssert
.AssertNotMatch(httpContext);
92
MatcherAssert
.AssertNotMatch(httpContext);
108
MatcherAssert
.AssertMatch(httpContext, endpoint);
124
MatcherAssert
.AssertNotMatch(httpContext);
140
MatcherAssert
.AssertMatch(httpContext, endpoint);
156
MatcherAssert
.AssertMatch(httpContext, endpoint);
172
MatcherAssert
.AssertNotMatch(httpContext);
188
MatcherAssert
.AssertMatch(httpContext, endpoint);
204
MatcherAssert
.AssertMatch(httpContext, endpoint);
220
MatcherAssert
.AssertMatch(httpContext, endpoint);
236
MatcherAssert
.AssertMatch(httpContext, endpoint);
252
MatcherAssert
.AssertNotMatch(httpContext);
268
MatcherAssert
.AssertMatch(httpContext, endpoint);
284
MatcherAssert
.AssertMatch(httpContext, endpoint);
300
MatcherAssert
.AssertMatch(httpContext, endpoint);
316
MatcherAssert
.AssertMatch(httpContext, endpoint);
332
MatcherAssert
.AssertMatch(httpContext, endpoint);
348
MatcherAssert
.AssertMatch(httpContext, endpoint, new { path = "hello" });
364
MatcherAssert
.AssertNotMatch(httpContext);
Matching\HttpMethodMatcherPolicyIntegrationTestBase.cs (16)
30
MatcherAssert
.AssertMatch(httpContext, endpoint);
46
MatcherAssert
.AssertMatch(httpContext, endpoint);
62
MatcherAssert
.AssertMatch(httpContext, endpoint);
97
MatcherAssert
.AssertMatch(httpContext, endpoint);
115
MatcherAssert
.AssertMatch(httpContext, endpoint);
131
MatcherAssert
.AssertMatch(httpContext, endpoint);
147
MatcherAssert
.AssertMatch(httpContext, endpoint);
163
MatcherAssert
.AssertMatch(httpContext, endpoint);
179
MatcherAssert
.AssertMatch(httpContext, endpoint);
221
MatcherAssert
.AssertNotMatch(httpContext);
238
MatcherAssert
.AssertNotMatch(httpContext);
255
MatcherAssert
.AssertMatch(httpContext, endpoint1);
272
MatcherAssert
.AssertMatch(httpContext, endpoint1);
289
MatcherAssert
.AssertMatch(httpContext, endpoint2, ignoreValues: true);
336
MatcherAssert
.AssertMatch(httpContext1, endpoint1);
343
MatcherAssert
.AssertMatch(httpContext2, endpoint2);
Matching\MatcherConformanceTest.SingleEndpoint.cs (17)
19
MatcherAssert
.AssertMatch(httpContext, endpoint);
33
MatcherAssert
.AssertMatch(httpContext, endpoint);
47
MatcherAssert
.AssertMatch(httpContext, endpoint);
64
MatcherAssert
.AssertMatch(httpContext, endpoint);
81
MatcherAssert
.AssertMatch(httpContext, endpoint);
99
MatcherAssert
.AssertMatch(httpContext, endpoint);
119
MatcherAssert
.AssertNotMatch(httpContext);
136
MatcherAssert
.AssertMatch(httpContext, endpoint);
159
MatcherAssert
.AssertMatch(httpContext, endpoint);
190
MatcherAssert
.AssertNotMatch(httpContext);
205
MatcherAssert
.AssertMatch(httpContext, endpoint, values);
220
MatcherAssert
.AssertMatch(httpContext, endpoint, values);
235
MatcherAssert
.AssertMatch(httpContext, endpoint, values);
255
MatcherAssert
.AssertMatch(httpContext, endpoint, values);
273
MatcherAssert
.AssertNotMatch(httpContext);
294
MatcherAssert
.AssertMatch(httpContext, endpoint, keys, values);
323
MatcherAssert
.AssertNotMatch(httpContext);
Matching\RouteMatcherConformanceTest.cs (1)
38
MatcherAssert
.AssertMatch(httpContext, expected, ignoreValues: true);
Matching\TreeRouterMatcherConformanceTest.cs (1)
52
MatcherAssert
.AssertMatch(httpContext, expected, ignoreValues: true);