示例#1
0
        public void TestInitialize()
        {
            if (!TestContext.TestName.Contains("TestHost"))
            {
                this.client = TestHelpers.CreateTaskHubClient();

                this.taskHub     = TestHelpers.CreateTaskHub();
                this.fakeTaskHub = TestHelpers.CreateTaskHub();

                this.taskHubNoCompression     = TestHelpers.CreateTaskHubNoCompression();
                this.taskHubLegacyCompression = TestHelpers.CreateTaskHubLegacyCompression();
                this.taskHubAlwaysCompression = TestHelpers.CreateTaskHubAlwaysCompression();
                this.clientNoCompression      = TestHelpers.CreateTaskHubClientNoCompression();

                this.taskHub.orchestrationService.CreateAsync(true).Wait();
            }
        }