示例#1
0
 public StartupDoc(LogDocController.TestContext testContext)
 {
     _testContext = testContext;
 }
示例#2
0
 public ControllerResolver(LogDocController.TestContext testContext)
 {
     _testContext = testContext;
 }
示例#3
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);
            }
        }