示例#1
0
        internal static void StartOwinDocTest(LogDocController.TestContext testContext, Action testsFunc)
        {
            var stu = new StartupDoc(testContext);

            using (WebApp.Start(getWsAddress(testContext.PortOffset), stu.Configuration))
            {
                testsFunc();

                testContext.CountdownEvent.Wait(webserviceCheckTimeoutMs);
                Thread.Sleep(1000);
            }
        }
示例#2
0
        internal static void StartOwinDocTest(LogDocController.TestContext testContext, Action testsFunc)
        {
            var stu = new StartupDoc(testContext);
            using (WebApp.Start(getWsAddress(testContext.PortOffset), stu.Configuration))
            {
                testsFunc();

                testContext.CountdownEvent.Wait(webserviceCheckTimeoutMs);
                Thread.Sleep(1000);
            }
        }