26 references to StartsWithUncPattern
Microsoft.Build.Engine.UnitTests (26)
FileUtilitiesRegex_Tests.cs (26)
179StartsWithUncPattern.IsMatch(winDirectory).ShouldBeTrue(); 180StartsWithUncPattern.IsMatch(unixDirectory).ShouldBeTrue(); 199var match = StartsWithUncPattern.Match(winDirectory); 203match = StartsWithUncPattern.Match(unixDirectory); 245StartsWithUncPattern.IsMatch(winDirectory).ShouldBeTrue(); 246StartsWithUncPattern.IsMatch(unixDirectory).ShouldBeTrue(); 265var match = StartsWithUncPattern.Match(winDirectory); 269match = StartsWithUncPattern.Match(unixDirectory); 310StartsWithUncPattern.IsMatch(winDirectory).ShouldBeTrue(); 311StartsWithUncPattern.IsMatch(unixDirectory).ShouldBeTrue(); 320var match = StartsWithUncPattern.Match(winDirectory); 324match = StartsWithUncPattern.Match(unixDirectory); 365StartsWithUncPattern.IsMatch(winDirectory).ShouldBeTrue(); 366StartsWithUncPattern.IsMatch(unixDirectory).ShouldBeTrue(); 385var match = StartsWithUncPattern.Match(winDirectory); 389match = StartsWithUncPattern.Match(unixDirectory); 430StartsWithUncPattern.IsMatch(winDirectory).ShouldBe(false); 431StartsWithUncPattern.IsMatch(unixDirectory).ShouldBe(false); 450var match = StartsWithUncPattern.Match(winDirectory); 453match = StartsWithUncPattern.Match(unixDirectory); 493StartsWithUncPattern.IsMatch(winDirectory).ShouldBe(false); 494StartsWithUncPattern.IsMatch(unixDirectory).ShouldBe(false); 513var match = StartsWithUncPattern.Match(winDirectory); 516match = StartsWithUncPattern.Match(unixDirectory); 534StartsWithUncPattern.IsMatch(string.Empty).ShouldBeFalse(); 535StartsWithUncPattern.Match(string.Empty).Success.ShouldBeFalse();