Home
last modified time | relevance | path

Searched refs:InvocationStatus (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DFailureEmailResultReporterTest.java26 private InvocationStatus mInvocationStatus;
28 FakeEmailResultReporter(boolean hasFailedTests, InvocationStatus invocationStatus) { in FakeEmailResultReporter()
45 public InvocationStatus getInvocationStatus() { in getInvocationStatus()
56 FakeEmailResultReporter r = new FakeEmailResultReporter(false, InvocationStatus.SUCCESS); in testShouldSendMessage()
60 r = new FakeEmailResultReporter(false, InvocationStatus.BUILD_ERROR); in testShouldSendMessage()
64 r = new FakeEmailResultReporter(false, InvocationStatus.FAILED); in testShouldSendMessage()
68 r = new FakeEmailResultReporter(true, InvocationStatus.SUCCESS); in testShouldSendMessage()
72 r = new FakeEmailResultReporter(true, InvocationStatus.FAILED); in testShouldSendMessage()
DInvocationFailureEmailResultReporterTest.java25 private InvocationStatus mInvocationStatus;
27 FakeEmailResultReporter(InvocationStatus invocationStatus) { in FakeEmailResultReporter()
35 public InvocationStatus getInvocationStatus() { in getInvocationStatus()
46 FakeEmailResultReporter r = new FakeEmailResultReporter(InvocationStatus.SUCCESS); in testShouldSendMessage()
50 r = new FakeEmailResultReporter(InvocationStatus.BUILD_ERROR); in testShouldSendMessage()
54 r = new FakeEmailResultReporter(InvocationStatus.FAILED); in testShouldSendMessage()
/tools/tradefederation/core/src/com/android/tradefed/result/
DEmailResultReporter.java176 InvocationStatus invStatus = getInvocationStatus(); in getInvocationOrTestStatus()
178 if (!InvocationStatus.SUCCESS.equals(invStatus)) { in getInvocationOrTestStatus()
181 if (InvocationStatus.FAILED.equals(invStatus)) { in getInvocationOrTestStatus()
195 protected InvocationStatus getInvocationStatus() { in getInvocationStatus()
197 return InvocationStatus.SUCCESS; in getInvocationStatus()
199 return InvocationStatus.BUILD_ERROR; in getInvocationStatus()
201 return InvocationStatus.FAILED; in getInvocationStatus()
DFailureEmailResultReporter.java55 return !getInvocationStatus().equals(InvocationStatus.SUCCESS) || hasFailedTests(); in shouldSendMessage()
DInvocationFailureEmailResultReporter.java61 return !getInvocationStatus().equals(InvocationStatus.SUCCESS); in shouldSendMessage()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandEvent.java64 private InvocationStatus mInvocationStatus;
90 public InvocationStatus getInvocationStatus() { in getInvocationStatus()
109 private InvocationStatus mInvocationStatus;
140 public Builder setInvocationStatus(final InvocationStatus invocationStatus) { in setInvocationStatus()
DClusterCommandScheduler.java149 private InvocationStatus mInvocationStatus;
183 final InvocationStatus obj = new InvocationStatus(); in updateInvocationStatus()
DInvocationStatus.java31 public class InvocationStatus { class
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java79 import com.android.tradefed.result.InvocationStatus;
1107 InvocationStatus status, in setupMockListeners()
1147 if (!status.equals(InvocationStatus.SUCCESS)) { in setupMockListeners()
1555 setupMockListeners(InvocationStatus.SUCCESS, null, false, true, false); in setupMockSuccessListeners()
1559 setupMockListeners(InvocationStatus.FAILED, throwable, false, true, false); in setupMockFailureListeners()
1564 setupMockListeners(InvocationStatus.FAILED, throwable, stubFailures, true, false); in setupMockFailureListenersAny()
1569 setupMockListeners(InvocationStatus.FAILED, throwable, stubFailures, reportHostLog, false); in setupMockFailureListeners()
1573 setupMockListeners(InvocationStatus.SUCCESS, null, false, true, true); in setupMockStoppedListeners()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DInvocationStatus.java21 public enum InvocationStatus { enum