Searched refs:mProcessHelper (Results 1 – 2 of 2) 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 …]
42 private ProcessHelper mProcessHelper = null; field in VtsPythonRunnerHelperTest53 return mProcessHelper; in setUp()131 mProcessHelper = createMockProcessHelper(CommandStatus.SUCCESS);141 mProcessHelper = createMockProcessHelper(CommandStatus.FAILED);151 mProcessHelper = createMockProcessHelper(CommandStatus.TIMED_OUT);161 mProcessHelper = createMockProcessHelper(null, /*interrupted=*/true);