21 references to ValidateNoFileMatch
Microsoft.Build.Engine.UnitTests (21)
FileMatcher_Tests.cs (21)
970ValidateNoFileMatch("file.txt", "File.bin", false);
977ValidateNoFileMatch("file.?xt", "File.bin", false);
984ValidateNoFileMatch("*.txt", "*.bin", false);
997ValidateNoFileMatch(Path.Combine(".", "File.txt"), Path.Combine(".", "File.bin"), false);
1009ValidateNoFileMatch(Path.Combine("..", "..", "*.*"), Path.Combine(new[] { "..", "..", "dir1", "dir2", "File.txt" }), false);
1010ValidateNoFileMatch(Path.Combine("..", "..", "*.*"), Path.Combine(new[] { "..", "..", "dir1", "dir2", "File" }), false);
1091ValidateNoFileMatch(@"C:\foo\**", @"C:\foo", true);
1095ValidateNoFileMatch(
1110ValidateNoFileMatch(
1138ValidateNoFileMatch("**/SourceSafe/*", "./org/IIS/SourceSafe/foo/bar/Entries", true);
1139ValidateNoFileMatch("**/SourceSafe/*", "./SourceSafeRepository", true);
1140ValidateNoFileMatch("**/SourceSafe/*", "./aSourceSafe/Repository", true);
1145ValidateNoFileMatch("org/IIS/pluggin/**", "org/IIS/abc.cs", true);
1151ValidateNoFileMatch("org/IIS/**/SourceSafe/*", "org/IIS/SourceSafe/foo/bar/Entries", true);
1152ValidateNoFileMatch("org/IIS/**/SourceSafe/*", "org/IISSourceSage/Entries", true);
1160ValidateNoFileMatch("**/test/**", ".\\test", true);
1165ValidateNoFileMatch("org/", "org/IISSourceSage/Entries", false);
1166ValidateNoFileMatch("org\\", "org/IISSourceSage/Entries", false);
1174ValidateNoFileMatch("c:\\**\\user1\\**\\*.*", "c:\\Documents and Settings\\user\\NTUSER.DAT", true);
1176ValidateNoFileMatch("c:\\**\\user1\\**\\*.*", "c:\\Documents and Settings//user\\NTUSER.DAT", true);
1275ValidateNoFileMatch(@"c:\mydir\**\*.", @"c:\mydir\subdir\bing.txt", true);