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(
1109ValidateNoFileMatch(
1137ValidateNoFileMatch("**/SourceSafe/*", "./org/IIS/SourceSafe/foo/bar/Entries", true);
1138ValidateNoFileMatch("**/SourceSafe/*", "./SourceSafeRepository", true);
1139ValidateNoFileMatch("**/SourceSafe/*", "./aSourceSafe/Repository", true);
1144ValidateNoFileMatch("org/IIS/pluggin/**", "org/IIS/abc.cs", true);
1150ValidateNoFileMatch("org/IIS/**/SourceSafe/*", "org/IIS/SourceSafe/foo/bar/Entries", true);
1151ValidateNoFileMatch("org/IIS/**/SourceSafe/*", "org/IISSourceSage/Entries", true);
1159ValidateNoFileMatch("**/test/**", ".\\test", true);
1164ValidateNoFileMatch("org/", "org/IISSourceSage/Entries", false);
1165ValidateNoFileMatch("org\\", "org/IISSourceSage/Entries", false);
1173ValidateNoFileMatch("c:\\**\\user1\\**\\*.*", "c:\\Documents and Settings\\user\\NTUSER.DAT", true);
1175ValidateNoFileMatch("c:\\**\\user1\\**\\*.*", "c:\\Documents and Settings//user\\NTUSER.DAT", true);
1274ValidateNoFileMatch(@"c:\mydir\**\*.", @"c:\mydir\subdir\bing.txt", true);