Searched refs:FakeWorkers (Results 1 – 3 of 3) sorted by relevance
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
D | StreamServiceTest.java | 26 import com.google.caliper.runner.FakeWorkers.DummyLogMessage; 92 makeService(FakeWorkers.PrintClient.class, "foo", "bar"); in testReadOutput() 110 makeService(FakeWorkers.Exit.class, "1"); in failingProcess() 119 makeService(FakeWorkers.CloseAndSleep.class); in processDoesntExit() 129 makeService(FakeWorkers.SocketEchoClient.class, Integer.toString(localport)); in testSocketInputOutput() 146 makeService(FakeWorkers.SocketEchoClient.class, Integer.toString(localport), "foo"); in testSocketClosesBeforeProcess() 163 makeService(FakeWorkers.Sleeper.class, Long.toString(TimeUnit.MINUTES.toMillis(10))); in failsToAcceptConnection() 218 new WorkerProcess(FakeWorkers.createProcessBuilder(main, args), in makeService()
|
D | WorkerProcessTest.java | 110 Process worker = createWorkerProcess(FakeWorkers.Exit.class, "0").startWorker(); in shutdownHook_waitFor() 119 FakeWorkers.Sleeper.class, Long.toString(MINUTES.toMillis(1))).startWorker(); in shutdownHook_exitValueThrows() 134 Process worker = createWorkerProcess(FakeWorkers.Exit.class, "0").startWorker(); in shutdownHook_exitValue() 148 FakeWorkers.Sleeper.class, Long.toString(MINUTES.toMillis(1))).startWorker(); in shutdownHook_destroy() 169 return new WorkerProcess(FakeWorkers.createProcessBuilder(main, args), in createWorkerProcess()
|
D | FakeWorkers.java | 42 final class FakeWorkers { class
|