RouteEmbeddedLanguage\RoutePatternParserTests_BasicTests.cs (53)
14Test(@"""""", @"<Tree>
25Test(@"""hello""", @"<Tree>
41Test(@"""hel?lo""", @"<Tree>
60Test(@"""hello/world""", @"<Tree>
84Test(@"""{a}/{a}""", @"<Tree>
121Test(@"""{a}/{b}""", @"<Tree>
156Test(@"""{*a}/""", @"<Tree>
184Test(@"""{*a}/{b}""", @"<Tree>
225Test(@"""{*a?}""", @"<Tree>
256Test(@"""a{*a}""", @"<Tree>
287Test(@"""hello.world""", @"<Tree>
303Test(@"""{id}""", @"<Tree>
325Test(@"""{id:foo}""", @"<Tree>
355Test(@"""{id=Home}""", @"<Tree>
381Test(@"""{id=Home=Controller:int()}""", @"<Tree>
407Test(@"""{id:foo(wee)}""", @"<Tree>
442Test(@"""{id:foo()}""", @"<Tree>
477Test(@"""{id?}""", @"<Tree>
502Test(@"""{id=Home}""", @"<Tree>
528Test(@"""{id=Home?}""", @"<Tree>
560Test(@"""{id?}}}""", @"<Tree>
585Test(@"""a{foob{bar}c""", @"<Tree>
616Test(@"""a{foo}b{bar}c""", @"<Tree>
655Test(@"""{a}{b}""", @"<Tree>
688Test(@"""{a{b}""", @"<Tree>
713Test(@"""{a/{b}""", @"<Tree>
738Test(@"""{id:foo?}""", @"<Tree>
771Test(@"""{id:foo:bar}""", @"<Tree>
808Test(@"""{id:foo(hi""", @"<Tree>
841Test(@"""{id:foo(hi}""", @"<Tree>
871Test(@"""{id:foo(hi)bar}""", @"<Tree>
909Test(@"""{*id}""", @"<Tree>
934Test(@"""{**id}""", @"<Tree>
959Test(@"""{}""", @"<Tree>
982Test(@"""{?}""", @"<Tree>
1008Test(@"""{*}""", @"<Tree>
1034Test(@"""{**}""", @"<Tree>
1060Test(@"""{**:int}""", @"<Tree>
1085Test(@"""{ssn:regex(^\\d{{3}}-\\d{{2}}-\\d{{4}}$)}""", @"<Tree>
1120Test(@"""{ssn:regex(^\\d{{3}}-\\d{{2}}-\\d{{4}""", @"<Tree>
1150Test(@"""{ssn:regex(^\\d{3}})}""", @"<Tree>
1188Test(@"""{3}}-\\d{{2}}-\\d{{4}""", @"<Tree>
1213Test(@"""-\\d{{2}}-\\d{{4}""", @"<Tree>
1232Test(@"""{{2}}""", @"<Tree>
1248Test(@"""{2}}""", @"<Tree>
1274Test(@"""{p1}{p2?}""", @"<Tree>
1310Test(@"""{p1}-{p2?}""", @"<Tree>
1349Test(@"""{:hi}""", @"<Tree>
1371Test(@"""{**:hi}""", @"<Tree>
1396Test(@"""~""", @"<Tree>
1415Test(@"""~~""", @"<Tree>
1434Test(@"""~/""", @"<Tree>
1453Test(@"""~{id}""", @"<Tree>