Searched refs:fakeRes (Results 1 – 2 of 2) sorted by relevance
139 CommandResult fakeRes = new CommandResult(CommandStatus.FAILED); in testIsFastbootAvailable_oldVersion() local140 fakeRes.setStderr("Help doesn't exists. usage: fastboot"); in testIsFastbootAvailable_oldVersion()143 .thenReturn(fakeRes); in testIsFastbootAvailable_oldVersion()151 CommandResult fakeRes = new CommandResult(CommandStatus.FAILED); in testIsFastbootAvailable_noBinary() local152 fakeRes.setStderr("No command 'fastboot' found"); in testIsFastbootAvailable_noBinary()155 .thenReturn(fakeRes); in testIsFastbootAvailable_noBinary()163 CommandResult fakeRes = new CommandResult(CommandStatus.FAILED); in testGetDevice_fail() local164 fakeRes.setStdout(""); in testGetDevice_fail()165 fakeRes.setStderr(""); in testGetDevice_fail()168 .thenReturn(fakeRes); in testGetDevice_fail()[all …]
767 TestRunResult fakeRes = new TestRunResult(); in createResultWithLog() local768 fakeRes.testRunStarted(runName, count); in createResultWithLog()772 fakeRes.testStarted(description); in createResultWithLog()773 fakeRes.testLogSaved( in createResultWithLog()775 fakeRes.testEnded(description, new HashMap<String, Metric>()); in createResultWithLog()777 fakeRes.testRunEnded(10L, new HashMap<String, String>()); in createResultWithLog()778 return fakeRes; in createResultWithLog()815 TestRunResult fakeRes = new TestRunResult(); in createFakeResult() local816 fakeRes.testRunStarted(runName, passed + failed); in createFakeResult()820 fakeRes.testStarted(description); in createFakeResult()[all …]