Home
last modified time | relevance | path

Searched refs:ITestLifeCycleReceiver (Results 1 – 17 of 17) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java22 import com.android.tradefed.result.ITestLifeCycleReceiver;
50 private Collection<ITestLifeCycleReceiver> mListeners;
59 public TestRunToTestInvocationForwarder(Collection<ITestLifeCycleReceiver> listeners) { in TestRunToTestInvocationForwarder()
64 public TestRunToTestInvocationForwarder(ITestLifeCycleReceiver listener) { in TestRunToTestInvocationForwarder()
76 for (ITestLifeCycleReceiver listener : mListeners) { in testStarted()
93 for (ITestLifeCycleReceiver listener : mListeners) { in testAssumptionFailure()
112 for (ITestLifeCycleReceiver listener : mListeners) { in testFailed()
132 for (ITestLifeCycleReceiver listener : mListeners) { in testIgnored()
149 for (ITestLifeCycleReceiver listener : mListeners) { in testEnded()
165 for (ITestLifeCycleReceiver listener : mListeners) { in testEnded()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java39 import com.android.tradefed.result.ITestLifeCycleReceiver;
183 Mockito.<Collection<ITestLifeCycleReceiver>>any())) in testRunDeviceTests()
206 Mockito.<Collection<ITestLifeCycleReceiver>>any())) in testRunDeviceTests_assumptionFailure()
212 Collection<ITestLifeCycleReceiver> receivers = in testRunDeviceTests_assumptionFailure()
213 (Collection<ITestLifeCycleReceiver>) in testRunDeviceTests_assumptionFailure()
215 for (ITestLifeCycleReceiver i : receivers) { in testRunDeviceTests_assumptionFailure()
262 Mockito.<Collection<ITestLifeCycleReceiver>>any())) in testRunDeviceTests_abi()
289 Mockito.<Collection<ITestLifeCycleReceiver>>any())) in testRunDeviceTests_asUser()
322 Mockito.<Collection<ITestLifeCycleReceiver>>any())) in testRunDeviceTestsWithOptions()
352 Mockito.<Collection<ITestLifeCycleReceiver>>any())) in testRunDeviceTests_crashedInstrumentation()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DDeviceTestRunOptions.java19 import com.android.tradefed.result.ITestLifeCycleReceiver;
50 private List<ITestLifeCycleReceiver> mExtraListeners = new ArrayList<>(); // optional
239 public DeviceTestRunOptions addExtraListener(ITestLifeCycleReceiver listener) { in addExtraListener()
256 public List<ITestLifeCycleReceiver> getExtraListeners() { in getExtraListeners()
DBaseHostJUnit4Test.java31 import com.android.tradefed.result.ITestLifeCycleReceiver;
589 List<ITestLifeCycleReceiver> extraListeners) in runDeviceTests()
646 List<ITestLifeCycleReceiver> extraListeners) in runDeviceTests()
705 List<ITestLifeCycleReceiver> extraListeners) in runDeviceTests()
790 List<ITestLifeCycleReceiver> extraListeners) in doRunTests()
861 List<ITestLifeCycleReceiver> allReceiver = new ArrayList<>(); in doRunTests()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DInstrumentationFileTestTest.java36 import com.android.tradefed.result.ITestLifeCycleReceiver;
129 (ITestLifeCycleReceiver) Mockito.any())) in testRun_singleSuccessfulTest()
220 (ITestLifeCycleReceiver) Mockito.any())) in testRun_reRunOneFailedToCompleteTest()
279 (ITestLifeCycleReceiver) Mockito.any())) in testRun_noSerialReRun()
391 (ITestLifeCycleReceiver) Mockito.any())) in testRun_exceedMaxAttempts()
469 (ITestLifeCycleReceiver) Mockito.any())) in testRun_parameterized()
540 new TestRunToTestInvocationForwarder((ITestLifeCycleReceiver) args[1])); in answer()
DInstrumentationTestTest.java59 import com.android.tradefed.result.ITestLifeCycleReceiver;
137 return answer((IRemoteAndroidTestRunner) args[0], (ITestLifeCycleReceiver) args[1]); in answer()
140 Boolean answer(IRemoteAndroidTestRunner runner, ITestLifeCycleReceiver listener) in answer()
203 .runInstrumentationTests(eq(runner.getValue()), any(ITestLifeCycleReceiver.class)); in testRun()
432 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerunEmpty()
476 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_betterFailure()
540 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerun()
598 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_duplicate()
650 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_duplicate_disable()
718 any(IRemoteAndroidTestRunner.class), any(ITestLifeCycleReceiver.class)); in testRun_rerun_Parameterized()
[all …]
DAndroidJUnitTestTest.java42 import com.android.tradefed.result.ITestLifeCycleReceiver;
528 Mockito.eq(mMockRemoteRunner), (ITestLifeCycleReceiver) Mockito.any())) in setRunTestExpectations()
535 Mockito.eq(mMockRemoteRunner), (ITestLifeCycleReceiver) Mockito.any()); in verifyRunTestExpectations()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java28 import com.android.tradefed.result.ITestLifeCycleReceiver;
603 IRemoteAndroidTestRunner runner, Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTests()
618 IRemoteAndroidTestRunner runner, ITestLifeCycleReceiver... listeners) in runInstrumentationTests()
628 Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTestsAsUser()
636 IRemoteAndroidTestRunner runner, int userId, ITestLifeCycleReceiver... listeners) in runInstrumentationTestsAsUser()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DITestInvocationListener.java45 public interface ITestInvocationListener extends ITestLogger, ITestLifeCycleReceiver {
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DNoisyDryRunTest.java36 import com.android.tradefed.result.ITestLifeCycleReceiver;
170 private void parseOneConfig(ITestLifeCycleReceiver listener, String[] args, int i) { in parseOneConfig()
249 private class StoreAndForwardTestCases implements ITestLifeCycleReceiver {
DDeviceBatteryLevelChecker.java30 import com.android.tradefed.result.ITestLifeCycleReceiver;
241 private Integer runBatteryCharging(ITestLifeCycleReceiver listener, TestDescription test) { in runBatteryCharging()
/tools/tradefederation/core/javatests/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarderTest.java23 import com.android.tradefed.result.ITestLifeCycleReceiver;
45 @Mock ITestLifeCycleReceiver mMockListener;
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DITestLifeCycleReceiver.java44 public interface ITestLifeCycleReceiver { interface
/tools/tradefederation/core/src/com/android/tradefed/result/
DTestResultListener.java33 public abstract class TestResultListener implements ITestLifeCycleReceiver {
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorTest.java31 import com.android.tradefed.result.ITestLifeCycleReceiver;
75 protected Collection<ITestLifeCycleReceiver> mListeners = new ArrayList<>();
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java67 import com.android.tradefed.result.ITestLifeCycleReceiver;
1146 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(0); in testRunInstrumentationTests()
1161 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(1); in testRunInstrumentationTests_recoveryFails()
1162 ITestLifeCycleReceiver listener = mock(ITestLifeCycleReceiver.class); in testRunInstrumentationTests_recoveryFails()
1187 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(1); in testRunInstrumentationTests_recoverySucceeds()
1188 ITestLifeCycleReceiver listener = mock(ITestLifeCycleReceiver.class); in testRunInstrumentationTests_recoverySucceeds()
3333 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(); in testrunInstrumentationTestsAsUser_failed()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java56 import com.android.tradefed.result.ITestLifeCycleReceiver;
1192 final Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTests()
1230 IRemoteAndroidTestRunner runner, ITestLifeCycleReceiver... listeners) in runInstrumentationTests()
1232 List<ITestLifeCycleReceiver> listenerList = new ArrayList<>(); in runInstrumentationTests()
1242 final Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTestsAsUser()
1253 IRemoteAndroidTestRunner runner, int userId, ITestLifeCycleReceiver... listeners) in runInstrumentationTestsAsUser()