18 references to CreateLiteral
Microsoft.AspNetCore.Routing.Tests (18)
Template\TemplateParserTests.cs (18)
18
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("cool"));
73
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("cool"));
75
expected.Segments[1].Parts.Add(TemplatePart.
CreateLiteral
("awesome"));
77
expected.Segments[2].Parts.Add(TemplatePart.
CreateLiteral
("super"));
133
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("cool-"));
162
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("cool-"));
185
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("cool-"));
208
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("cool-"));
215
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("-awesome"));
237
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("."));
267
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("."));
297
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("."));
304
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("."));
335
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("."));
342
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("."));
373
expected.Segments[0].Parts.Add(TemplatePart.
CreateLiteral
("."));
417
expected.Segments[1].Parts.Add(TemplatePart.
CreateLiteral
("."));
449
expected.Segments[1].Parts.Add(TemplatePart.
CreateLiteral
("."));