Home
last modified time | relevance | path

Searched defs:test (Results 1 – 25 of 164) sorted by relevance

1234567

/tools/tradefederation/core/src/com/android/tradefed/result/
DTestResultListener.java38 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 …]
DFilteredResultForwarder.java39 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()
DStubTestRunListener.java32 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()
DJUnitToInvocationResultForwarder.java58 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()
DNameMangleListener.java46 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()
DResultForwarder.java267 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/
DITestLifeCycleReceiver.java133 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/
Dtf_runner.py38 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/
DDeviceTestCaseTest.java113 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/
DResultsPlayerTest.java87 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/
DModuleSplitterTest.java62 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/
DLogcatCrashResultForwarderTest.java51 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
DJUnitToInvocationResultForwarderTest.java80 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/
DBaseHostJUnit4TestTest.java176 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/
DDeviceStateMonitorTest.java71 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/
DTestInvocationTest.java346 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/
DShardHelperTest.java132 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/
DLogcatOnFailureCollectorTest.java69 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
DDebugHostLogOnFailureCollectorTest.java65 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/
DModuleListener.java112 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/
DDeviceTestResult.java61 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/
DConfigurationDefTest.java79 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/
DTestsPoolPoller.java122 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/
DBaseDeviceMetricCollector.java171 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/
DPrettyTestEventLogger.java48 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()

1234567