Searched refs:mProcessHelper (Results 1 – 1 of 1) sorted by relevance
40 private ProcessHelper mProcessHelper; field in ProcessHelperTest106 mProcessHelper = null; in setUp()114 if (mProcessHelper != null) { in tearDown()115 mProcessHelper.cleanUp(); in tearDown()124 mProcessHelper = new ProcessHelper(createMockProcess("123\n", "456\n", 0, 10)); in testSuccess()125 CommandStatus status = mProcessHelper.waitForProcess(10000); in testSuccess()127 assertFalse(mProcessHelper.isRunning()); in testSuccess()128 assertTrue(mProcessHelper.getStdout().equals("123\n")); in testSuccess()129 assertTrue(mProcessHelper.getStderr().equals("456\n")); in testSuccess()137 mProcessHelper = new ProcessHelper(createMockProcess("123\n", "456\n", 1, 10)); in testFailure()[all …]