Modifying the reporting channels to make the AdapterChannel a client and leave the TestRunnerChannel a server. This will prevent port conflicts between dotnet test and the Adapter (VS) due to race conditions.

Added E2E tests for dotnet test interactions with an adapter (design time).
This commit is contained in:
Livar Cunha 2016-03-08 15:53:21 -08:00
parent ffedcb315f
commit 8d39adbdbf
22 changed files with 536 additions and 84 deletions

View file

@ -161,7 +161,7 @@ namespace Microsoft.Dotnet.Tools.Test.Tests
_dotnetTestMock.Object,
_validMessage);
_testRunnerChannelMock.Verify(t => t.Accept(), Times.Once);
_testRunnerChannelMock.Verify(t => t.Connect(), Times.Once);
}
[Fact]