Fixed tests
This commit is contained in:
parent
6f41ca4de7
commit
273f4bc4a5
3 changed files with 10 additions and 10 deletions
|
@ -39,9 +39,9 @@ namespace Microsoft.DotNet.Cli.Test.Tests
|
|||
{
|
||||
result.StdOut
|
||||
.Should().Contain("Total tests: 3. Passed: 2. Failed: 1. Skipped: 0.", "because .NET 4.6 tests will pass")
|
||||
.And.Contain("Passed TestNamespace.VSTestTests.VSTestPassTestDesktop", "because .NET 4.6 tests will pass")
|
||||
.And.Contain("Passed VSTestPassTestDesktop", "because .NET 4.6 tests will pass")
|
||||
.And.Contain("Total tests: 3. Passed: 1. Failed: 2. Skipped: 0.", "because netcoreapp2.0 tests will fail")
|
||||
.And.Contain("Failed TestNamespace.VSTestTests.VSTestFailTestNetCoreApp", "because netcoreapp2.0 tests will fail");
|
||||
.And.Contain("Failed VSTestFailTestNetCoreApp", "because netcoreapp2.0 tests will fail");
|
||||
}
|
||||
result.ExitCode.Should().Be(1);
|
||||
}
|
||||
|
|
|
@ -28,8 +28,8 @@ namespace Microsoft.DotNet.Cli.Test.Tests
|
|||
if (!DotnetUnderTest.IsLocalized())
|
||||
{
|
||||
result.StdOut.Should().Contain("Total tests: 2. Passed: 1. Failed: 1. Skipped: 0.");
|
||||
result.StdOut.Should().Contain("Passed TestNamespace.VSTestTests.VSTestPassTest");
|
||||
result.StdOut.Should().Contain("Failed TestNamespace.VSTestTests.VSTestFailTest");
|
||||
result.StdOut.Should().Contain("Passed VSTestPassTest");
|
||||
result.StdOut.Should().Contain("Failed VSTestFailTest");
|
||||
}
|
||||
|
||||
result.ExitCode.Should().Be(1);
|
||||
|
@ -52,8 +52,8 @@ namespace Microsoft.DotNet.Cli.Test.Tests
|
|||
if (!DotnetUnderTest.IsLocalized())
|
||||
{
|
||||
result.StdOut.Should().Contain("Total tests: 2. Passed: 1. Failed: 1. Skipped: 0.");
|
||||
result.StdOut.Should().Contain("Passed TestNamespace.VSTestTests.VSTestPassTest");
|
||||
result.StdOut.Should().Contain("Failed TestNamespace.VSTestTests.VSTestFailTest");
|
||||
result.StdOut.Should().Contain("Passed VSTestPassTest");
|
||||
result.StdOut.Should().Contain("Failed VSTestFailTest");
|
||||
}
|
||||
|
||||
result.ExitCode.Should().Be(1);
|
||||
|
@ -227,8 +227,8 @@ namespace Microsoft.DotNet.Cli.Test.Tests
|
|||
if (!DotnetUnderTest.IsLocalized())
|
||||
{
|
||||
result.StdOut.Should().Contain("Total tests: 2. Passed: 1. Failed: 1. Skipped: 0.");
|
||||
result.StdOut.Should().Contain("Passed TestNamespace.VSTestTests.VSTestPassTest");
|
||||
result.StdOut.Should().Contain("Failed TestNamespace.VSTestTests.VSTestFailTest");
|
||||
result.StdOut.Should().Contain("Passed VSTestPassTest");
|
||||
result.StdOut.Should().Contain("Failed VSTestFailTest");
|
||||
}
|
||||
|
||||
result.ExitCode.Should().Be(1);
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace Microsoft.DotNet.Cli.VSTest.Tests
|
|||
{
|
||||
result.StdOut
|
||||
.Should().Contain("Total tests: 2. Passed: 1. Failed: 1. Skipped: 0.")
|
||||
.And.Contain("Passed TestNamespace.VSTestTests.VSTestPassTest")
|
||||
.And.Contain("Failed TestNamespace.VSTestTests.VSTestFailTest");
|
||||
.And.Contain("Passed VSTestPassTest")
|
||||
.And.Contain("Failed VSTestFailTest");
|
||||
}
|
||||
|
||||
result.ExitCode.Should().Be(1);
|
||||
|
|
Loading…
Reference in a new issue