10 references to ConvertToUnixPathIfNeeded
Microsoft.Build.Engine.OM.UnitTests (10)
Construction\SolutionFile_Tests.cs (10)
100
Assert.Equal(
ConvertToUnixPathIfNeeded
("Relative path\\to\\Project name.myvctype"), solution.ProjectsInOrder[0].RelativePath);
193
Assert.Equal(
ConvertToUnixPathIfNeeded
("ConsoleApplication1\\ConsoleApplication1.vbproj"), consoleApplication1.RelativePath);
198
Assert.Equal(
ConvertToUnixPathIfNeeded
("vbClassLibrary\\vbClassLibrary.vbproj"), vbClassLibrary.RelativePath);
203
Assert.Equal(
ConvertToUnixPathIfNeeded
("ClassLibrary1\\ClassLibrary1.csproj"), classLibrary1.RelativePath);
274
.FirstOrDefault(p => p.RelativePath ==
ConvertToUnixPathIfNeeded
("ClassLibrary1\\ClassLibrary1.csproj"));
280
.FirstOrDefault(p => p.RelativePath ==
ConvertToUnixPathIfNeeded
("MyPhysicalFolder\\ClassLibrary1\\ClassLibrary1.csproj"));
285
.FirstOrDefault(p => p.RelativePath ==
ConvertToUnixPathIfNeeded
("ClassLibrary2\\ClassLibrary2.csproj"));
362
Assert.Equal(
ConvertToUnixPathIfNeeded
("ClassLibrary1\\ClassLibrary1.csproj"), classLibrary1.RelativePath);
367
Assert.Equal(
ConvertToUnixPathIfNeeded
("ClassLibrary2\\ClassLibrary2.csproj"), classLibrary2.RelativePath);
374
Assert.Equal(
ConvertToUnixPathIfNeeded
("ClassLibrary3\\ClassLibrary3.csproj"), solution.ProjectsInOrder[2].RelativePath);