Making dotnet-compile run with dotnet test. Added a method to PathUtil to calculate target paths ignoring directory traversal characters.

Making dotnet-build.tests run with dotnet test

Making dotnet-publish.test work with dotnet test
This commit is contained in:
Livar Cunha 2016-01-28 16:16:50 -08:00
parent 7236a72917
commit 3048eb487c
10 changed files with 116 additions and 73 deletions

View file

@ -6,7 +6,6 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
namespace Microsoft.DotNet.Tools.Builder.Tests
@ -16,7 +15,7 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
private string[] _projects = new[] { "L0", "L11", "L12", "L21", "L22" };
public ProjectToProjectDependenciesIncrementalTest() : base(
Path.Combine("TestProjects", "TestProjectToProjectDependencies"),
Path.Combine(AppContext.BaseDirectory, "TestProjects", "TestProjectToProjectDependencies"),
"L0",
"L0 L11 L12 L22 L21 L12 L22 " + Environment.NewLine)
{