/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | TestResultListener.java | 38 public abstract void testResult(TestDescription test, TestResult result); in testResult() 41 public final void testStarted(TestDescription test, long startTime) { in testStarted() 52 public final void testStarted(TestDescription test) { in testStarted() 57 public final void testFailed(TestDescription test, String trace) { in testFailed() 63 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() 69 public final void testIgnored(TestDescription test) { in testIgnored() 74 public final void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() 80 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() 87 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() 94 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() [all …]
|
D | FilteredResultForwarder.java | 39 public void testStarted(TestDescription test) { in testStarted() 47 public void testStarted(TestDescription test, long startTime) { in testStarted() 55 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() 63 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() 71 public void testEnded(TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() 79 public void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() 87 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() 95 public void testIgnored(TestDescription test) { in testIgnored()
|
D | StubTestRunListener.java | 32 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded() 40 public void testFailed(TestIdentifier test, String trace) { in testFailed() 48 public void testAssumptionFailure(TestIdentifier test, String trace) { in testAssumptionFailure() 56 public void testIgnored(TestIdentifier test) { in testIgnored() 96 public void testStarted(TestIdentifier test) { in testStarted()
|
D | JUnitToInvocationResultForwarder.java | 58 public void addError(Test test, Throwable t) { in addError() 68 public void addFailure(Test test, AssertionFailedError t) { in addFailure() 78 public void endTest(Test test) { in endTest() 91 public void endTest(Test test, HashMap<String, Metric> metrics) { in endTest() 117 public void startTest(Test test) { in startTest() 129 private TestDescription getTestId(Test test) { in getTestId()
|
D | NameMangleListener.java | 46 protected TestDescription mangleTestId(TestDescription test) { in mangleTestId() 68 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() 75 public void testFailed(TestDescription test, String trace) { in testFailed() 82 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() 89 public void testIgnored(TestDescription test) { in testIgnored() 127 public void testStarted(TestDescription test) { in testStarted()
|
D | ResultForwarder.java | 267 public void testStarted(TestDescription test) { in testStarted() 273 public void testStarted(TestDescription test, long startTime) { in testStarted() 286 public void testFailed(TestDescription test, String trace) { in testFailed() 299 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() 312 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() 318 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() 330 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() 344 public void testIgnored(TestDescription test) { in testIgnored()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 133 public default void testStarted(TestDescription test) {} in testStarted() 142 default void testStarted(TestDescription test, long startTime) { in testStarted() 154 public default void testFailed(TestDescription test, String trace) {} in testFailed() 164 public default void testFailed(TestDescription test, FailureDescription failure) { in testFailed() 174 public default void testAssumptionFailure(TestDescription test, String trace) {} in testAssumptionFailure() 182 public default void testAssumptionFailure(TestDescription test, FailureDescription failure) { in testAssumptionFailure() 192 public default void testIgnored(TestDescription test) {} in testIgnored() 203 public default void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() 216 public default void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) {} in testEnded() 227 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() [all …]
|
/tools/tradefederation/core/python-lib/tradefed_py/ |
D | tf_runner.py | 38 def _getClassName(self, test): argument 41 def _getMethodName(self, test): argument 54 def startTest(self, test): argument 64 def addSuccess(self, test): argument 74 def addFailure(self, test, err): argument 87 def addSkip(self, test, reason): argument 100 def addExpectedFailure(self, test, err): argument 113 def addUnexpectedSuccess(self, test): argument 125 def addError(self, test, err): argument 170 def run(self, test): argument
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | DeviceTestCaseTest.java | 113 MockTest test = new MockTest(); in testRun_suite() local 138 MockTest test = new MockTest(); in testRun_includeFilter() local 160 MockTest test = new MockTest(); in testRun_excludeFilter() local 180 MockAnnotatedTest test = new MockAnnotatedTest(); in testRun_includeAnnotationFiltering() local 200 MockAnnotatedTest test = new MockAnnotatedTest(); in testRun_checkAnnotation() local 229 MockAnnotatedTest test = new MockAnnotatedTest(); in testRun_excludeAnnotationFiltering() local 248 MockTest test = new MockTest(); in testRun_singleTest() local 268 MockAbortTest test = new MockAbortTest(); in testRun_deviceNotAvail() local 297 MockTest test = new MockTest(); in testRun_testcaseCollectMode() local 317 MockTest test = new MockTest(); in testRun_testcaseCollectMode_singleMethod() local [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 87 TestDescription test = new TestDescription("test.class", "method0"); in testReplay() local 116 TestDescription test = new TestDescription("test.class", "method0"); in testReplayModules() local 154 TestDescription test = new TestDescription("test.class", "method0"); in testReplay_oneTest() local 183 TestDescription test = new TestDescription("test.class", "method0"); in testReplay_MultiTest() local 225 TestDescription test = new TestDescription("test.class", "method" + i); in createTestRunResult() local 230 TestDescription test = new TestDescription("test.class", "fail" + i); in createTestRunResult() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitterTest.java | 62 StubTest test = new StubTest(); in testSplitModule_configNotShardable() local 98 StubTest test = new StubTest(); in testSplitModule_configNotStrictShardable_dynamic() local 133 StubTest test = new StubTest(); in testSplitModule_configNotStrictShardable_notDynamic() local 164 StubTest test = new StubTest(); in testSplitModule_noIntraModuleSharding() local 195 IRemoteTest test = in testSplitModule_testNotShardable() local 235 IRemoteTest test = new StubTest(); in testSplitModule_testShardable_didNotShard() local 268 StubTest test = new StubTest(); in testSplitModule_testShardable_shard() local 297 StubTest test = new StubTest(); in testSplitModule_testShardable_shard_noDynamic() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | LogcatCrashResultForwarderTest.java | 51 TestDescription test = new TestDescription("com.class", "test"); in testCaptureTestCrash_noCrashInLogcat() local 76 TestDescription test = new TestDescription("com.class", "test"); in testCaptureTestCrash_oneCrashingLogcat() local 131 TestDescription test = new TestDescription("com.class", "test"); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() local 178 TestDescription test = new TestDescription("com.class", "test"); in testCaptureTestCrash_duplicateStack() local
|
D | JUnitToInvocationResultForwarderTest.java | 80 DeviceTestCase test = new DeviceTestCase(); in testAddFailure() local 93 DeviceTestCase test = new DeviceTestCase(); in testEndTest() local 105 DeviceTestCase test = new DeviceTestCase(); in testStartTest() local 120 InheritingClass test = new InheritingClass(); in testStartTest_annotations() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 176 TestableHostJUnit4Test test = new TestableHostJUnit4Test(); in testRunDeviceTests() local 199 TestableHostJUnit4Test test = new TestableHostJUnit4Test(); in testRunDeviceTests_assumptionFailure() local 249 TestableHostJUnit4Test test = in testRunDeviceTests_abi() local 282 TestableHostJUnit4Test test = new TestableHostJUnit4Test(); in testRunDeviceTests_asUser() local 310 TestableHostJUnit4Test test = in testRunDeviceTestsWithOptions() local 348 FailureHostJUnit4Test test = new FailureHostJUnit4Test(); in testRunDeviceTests_crashedInstrumentation() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceStateMonitorTest.java | 71 Thread test = in testWaitForDeviceOnline() local 133 Thread test = in testWaitForDeviceOffline() local 211 Thread test = in testWaitForShell_becomeAvailable() local 292 Thread test = in testWaitForBoot_becomeComplete() local 385 Thread test = in testWaitForPm_becomeResponsive() local 601 Thread test = in testWaitForStoreMount_becomeAvailable() local 652 Thread test = in testWaitForStoreMount_outputBecomeValid() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 346 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_RemoteTest() local 366 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvokeMulti_RemoteTest() local 388 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_twoSummary() local 420 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_buildFailed() local 530 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_noBuild_noHostLog() local 580 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_testFail() local 604 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_metricsCollectedWhenStopped() local 630 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_fatalError() local 655 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_deviceNotAvail() local 678 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_setupError() local [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 132 StubTest test = new StubTest(); in testSplitWithShardCount() local 160 StubTest test = new StubTest(); in testSplit_noShardCount() local 190 StubTest test = new StubTest(); in testSplitWithShardCount_notEnoughTest() local 235 StubTest test = new StubTest(); in testCloneStatusChecker() local 282 StubTest test = new StubTest(); in testCloneMetricCollector() local 392 StubTest test = new StubTest(); in testSplitWithTokens() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | LogcatOnFailureCollectorTest.java | 69 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 112 TestDescription test = new TestDescription("class", "test"); in testCollect() local 153 TestDescription test = new TestDescription("class", "test"); in testCollect_legacy() local 201 TestDescription test = new TestDescription("class", "test"); in testCollect_multiRun() local
|
D | DebugHostLogOnFailureCollectorTest.java | 65 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 86 TestDescription test = new TestDescription("class", "test"); in testCollect() local 137 TestDescription test = new TestDescription("class", "test"); in testCollect_null() local
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 112 public void testStarted(TestDescription test, long startTime) { in testStarted() 147 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() 153 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() 159 public void testIgnored(TestDescription test) { in testIgnored() 165 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() 172 public void testAssumptionFailure(TestDescription test, FailureDescription failure) { in testAssumptionFailure() 180 public void testFailed(TestDescription test, String trace) { in testFailed() 191 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | DeviceTestResult.java | 61 public void runProtected(final Test test, Protectable p) { in runProtected() 83 protected void run(final TestCase test) { in run() 102 public void endTest(Test test) { in endTest()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationDefTest.java | 79 OptionTest test = (OptionTest)config.getBuildProvider(); in testCreateConfiguration_optionMap() local 92 OptionTest test = (OptionTest)config.getBuildProvider(); in testCreateConfiguration_optionCollection() local 102 OptionTest test = (OptionTest)config.getBuildProvider(); in testCreateConfiguration() local 117 OptionTest test = (OptionTest)config.getDeviceConfigByName("device1") in testCreateConfiguration_withDeviceHolder() local
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPoller.java | 122 ITokenRequest test = itr.next(); in poll() local 152 IRemoteTest test = mGenericPool.iterator().next(); in poll() local 166 ITokenRequest test = mRejectedToken.iterator().next(); in pollRejectedTokenModule() local 184 IRemoteTest test = poll(); in run() local 264 ITestLogger logger, DeviceNotAvailableException originalException, IRemoteTest test) in HandleDeviceNotAvailable() 316 IRemoteTest test = poll(true); in reportNotExecuted() local
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 171 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 176 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test) { in onTestAssumptionFailure() 190 TestDescription test) { in onTestEnd() 286 public final void testStarted(TestDescription test) { in testStarted() 291 public final void testStarted(TestDescription test, long startTime) { in testStarted() 306 public final void testFailed(TestDescription test, String trace) { in testFailed() 319 public final void testFailed(TestDescription test, FailureDescription failure) { in testFailed() 336 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() 342 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() 358 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/host/ |
D | PrettyTestEventLogger.java | 48 public void testStarted(TestDescription test) { in testStarted() 60 public void testFailed(TestDescription test, String trace) { in testFailed() 65 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded()
|