43 references to Parse
Microsoft.Build.Engine.UnitTests (43)
Globbing\CompositeGlob_Tests.cs (29)
23new CompositeGlob(MSBuildGlob.Parse("a*")), 30new CompositeGlob(MSBuildGlob.Parse("a*")), 38MSBuildGlob.Parse("a*"), 39MSBuildGlob.Parse("b*"), 40MSBuildGlob.Parse("c*")), 48MSBuildGlob.Parse("*"), 49MSBuildGlob.Parse("*"), 50MSBuildGlob.Parse("*")), 58MSBuildGlob.Parse("a*"), 59MSBuildGlob.Parse("b*"), 60MSBuildGlob.Parse("c*")), 68MSBuildGlob.Parse("a*"), 70MSBuildGlob.Parse("b*"), 71MSBuildGlob.Parse("c*"), 72MSBuildGlob.Parse("d*")), 73MSBuildGlob.Parse("e*")), 81MSBuildGlob.Parse("a*"), 83MSBuildGlob.Parse("b*"), 84MSBuildGlob.Parse("c*"), 85MSBuildGlob.Parse("d*")), 86MSBuildGlob.Parse("e*")), 110var g1 = MSBuildGlob.Parse("1*"); 111var g2 = MSBuildGlob.Parse("2*"); 112var g3 = MSBuildGlob.Parse("3*"); 113var g4 = MSBuildGlob.Parse("4*"); 127new MSBuildGlobWithGaps(g3, MSBuildGlob.Parse("x*")), 152var glob = MSBuildGlob.Parse(""); 162var glob1 = MSBuildGlob.Parse(""); 163var glob2 = MSBuildGlob.Parse("");
Globbing\MSBuildGlob_Tests.cs (9)
104Assert.Throws<ArgumentNullException>(() => MSBuildGlob.Parse(null)); 164var glob = MSBuildGlob.Parse("%42/%42"); 175var glob = MSBuildGlob.Parse("*"); 183var glob = MSBuildGlob.Parse("*"); 204var glob = MSBuildGlob.Parse("*"); 227var glob = MSBuildGlob.Parse("abc"); 237var glob = MSBuildGlob.Parse("ab?c*"); 245var glob = MSBuildGlob.Parse("%42"); 284var glob = MSBuildGlob.Parse(illegalSpec);
Globbing\MSBuildGlobWithGaps_Tests.cs (5)
18var glob = new MSBuildGlobWithGaps(MSBuildGlob.Parse("a*"), Enumerable.Empty<IMSBuildGlob>()); 26var glob = new MSBuildGlobWithGaps(MSBuildGlob.Parse("a*"), MSBuildGlob.Parse("b*")); 34var glob = new MSBuildGlobWithGaps(MSBuildGlob.Parse("a*"), MSBuildGlob.Parse("*b"));