4 references to FindRootFolderWhereAllFilesExist
Microsoft.Build.Utilities.UnitTests (4)
ToolLocationHelper_Tests.cs (4)
4125
ToolLocationHelper.
FindRootFolderWhereAllFilesExist
(roots, "file1.txt").ShouldBe(rootDirectories[0]);
4126
ToolLocationHelper.
FindRootFolderWhereAllFilesExist
(roots, @"file1.txt;subdir\file2.txt").ShouldBe(rootDirectories[1]);
4127
ToolLocationHelper.
FindRootFolderWhereAllFilesExist
(roots, @"file1.txt;subdir\file3.txt").ShouldBe(String.Empty);
4128
ToolLocationHelper.
FindRootFolderWhereAllFilesExist
(@"c:<>;" + roots, "file1.txt").ShouldBe(rootDirectories[0]); // should ignore invalid dir