21 references to ValidateNoFileMatch
Microsoft.Build.Engine.UnitTests (21)
FileMatcher_Tests.cs (21)
969ValidateNoFileMatch("file.txt", "File.bin", false);
976ValidateNoFileMatch("file.?xt", "File.bin", false);
983ValidateNoFileMatch("*.txt", "*.bin", false);
996ValidateNoFileMatch(Path.Combine(".", "File.txt"), Path.Combine(".", "File.bin"), false);
1008ValidateNoFileMatch(Path.Combine("..", "..", "*.*"), Path.Combine(new[] { "..", "..", "dir1", "dir2", "File.txt" }), false);
1009ValidateNoFileMatch(Path.Combine("..", "..", "*.*"), Path.Combine(new[] { "..", "..", "dir1", "dir2", "File" }), false);
1090ValidateNoFileMatch(@"C:\foo\**", @"C:\foo", true);
1094ValidateNoFileMatch(
1116ValidateNoFileMatch(
1150ValidateNoFileMatch("**/SourceSafe/*", "./org/IIS/SourceSafe/foo/bar/Entries", true);
1151ValidateNoFileMatch("**/SourceSafe/*", "./SourceSafeRepository", true);
1152ValidateNoFileMatch("**/SourceSafe/*", "./aSourceSafe/Repository", true);
1157ValidateNoFileMatch("org/IIS/pluggin/**", "org/IIS/abc.cs", true);
1163ValidateNoFileMatch("org/IIS/**/SourceSafe/*", "org/IIS/SourceSafe/foo/bar/Entries", true);
1164ValidateNoFileMatch("org/IIS/**/SourceSafe/*", "org/IISSourceSage/Entries", true);
1172ValidateNoFileMatch("**/test/**", ".\\test", true);
1177ValidateNoFileMatch("org/", "org/IISSourceSage/Entries", false);
1178ValidateNoFileMatch("org\\", "org/IISSourceSage/Entries", false);
1193ValidateNoFileMatch("c:\\**\\user1\\**\\*.*", "c:\\Documents and Settings\\user\\NTUSER.DAT", true);
1195ValidateNoFileMatch("c:\\**\\user1\\**\\*.*", "c:\\Documents and Settings//user\\NTUSER.DAT", true);
1300ValidateNoFileMatch(@"c:\mydir\**\*.", @"c:\mydir\subdir\bing.txt", true);