Home
last modified time | relevance | path

Searched refs:serverStartThread (Results 1 – 4 of 4) sorted by relevance

/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/
DTestCorsHttpServerWithSingleOrigin.java61 private static Thread serverStartThread; field in TestCorsHttpServerWithSingleOrigin
67 serverStartThread = new Thread(new Runnable() { in setUp()
83 serverStartThread.start(); in setUp()
91 serverStartThread.join(2000); in tearDown()
92 Assert.assertFalse(serverStartThread.isAlive()); in tearDown()
DTestHttpServer.java57 private static Thread serverStartThread; field in TestHttpServer
63 serverStartThread = new Thread(new Runnable() { in setUp()
78 serverStartThread.start(); in setUp()
86 serverStartThread.join(2000); in tearDown()
87 Assert.assertFalse(serverStartThread.isAlive()); in tearDown()
DTestCorsHttpServer.java61 private static Thread serverStartThread; field in TestCorsHttpServer
67 serverStartThread = new Thread(new Runnable() { in setUp()
83 serverStartThread.start(); in setUp()
91 serverStartThread.join(2000); in tearDown()
92 Assert.assertFalse(serverStartThread.isAlive()); in tearDown()
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
DTestNanolets.java66 private static Thread serverStartThread; field in TestNanolets
72 serverStartThread = new Thread(new Runnable() { in setUp()
80 serverStartThread.start(); in setUp()
371 serverStartThread.join(2000); in tearDown()
372 Assert.assertFalse(serverStartThread.isAlive()); in tearDown()