Home
last modified time | relevance | path

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

123456

/tools/tradefederation/core/src/com/android/tradefed/result/
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()
DITestLifeCycleReceiver.java124 public default void testStarted(TestDescription test) {} in testStarted()
133 default void testStarted(TestDescription test, long startTime) { in testStarted()
145 public default void testFailed(TestDescription test, String trace) {} in testFailed()
153 public default void testAssumptionFailure(TestDescription test, String trace) {} in testAssumptionFailure()
161 public default void testIgnored(TestDescription test) {} in testIgnored()
172 public default void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded()
185 public default void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) {} in testEnded()
196 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded()
209 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded()
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.java226 public void testStarted(TestDescription test) { in testStarted()
232 public void testStarted(TestDescription test, long startTime) { in testStarted()
245 public void testFailed(TestDescription test, String trace) { in testFailed()
258 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded()
264 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded()
276 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure()
290 public void testIgnored(TestDescription test) { in testIgnored()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceTestCaseTest.java104 MockTest test = new MockTest(); in testRun_suite() local
129 MockTest test = new MockTest(); in testRun_includeFilter() local
151 MockTest test = new MockTest(); in testRun_excludeFilter() local
171 MockAnnotatedTest test = new MockAnnotatedTest(); in testRun_includeAnnotationFiltering() local
191 MockAnnotatedTest test = new MockAnnotatedTest(); in testRun_checkAnnotation() local
220 MockAnnotatedTest test = new MockAnnotatedTest(); in testRun_excludeAnnotationFiltering() local
239 MockTest test = new MockTest(); in testRun_singleTest() local
259 MockAbortTest test = new MockAbortTest(); in testRun_deviceNotAvail() local
288 MockTest test = new MockTest(); in testRun_testcaseCollectMode() local
308 MockTest test = new MockTest(); in testRun_testcaseCollectMode_singleMethod() local
[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/result/
DLogcatCrashResultForwarderTest.java47 TestDescription test = new TestDescription("com.class", "test"); in testCaptureTestCrash_noCrashInLogcat() local
70 TestDescription test = new TestDescription("com.class", "test"); in testCaptureTestCrash_oneCrashingLogcat() local
115 TestDescription test = new TestDescription("com.class", "test"); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() local
158 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/suite/retry/
DResultsPlayerTest.java72 TestDescription test = new TestDescription("test.class", "method0"); in testReplay() local
101 TestDescription test = new TestDescription("test.class", "method0"); in testReplayModules() local
139 TestDescription test = new TestDescription("test.class", "method0"); in testReplay_oneTest() local
168 TestDescription test = new TestDescription("test.class", "method0"); in testReplay_MultiTest() local
210 TestDescription test = new TestDescription("test.class", "method" + i); in createTestRunResult() local
215 TestDescription test = new TestDescription("test.class", "fail" + i); in createTestRunResult() local
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceStateMonitorTest.java70 Thread test = in testWaitForDeviceOnline() local
132 Thread test = in testWaitForDeviceOffline() local
210 Thread test = in testWaitForShell_becomeAvailable() local
291 Thread test = in testWaitForBoot_becomeComplete() local
384 Thread test = in testWaitForPm_becomeResponsive() local
579 Thread test = in testWaitForStoreMount_becomeAvailable() local
630 Thread test = in testWaitForStoreMount_outputBecomeValid() local
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java291 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_RemoteTest() local
309 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvokeMulti_RemoteTest() local
329 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_twoSummary() local
354 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_buildFailed() local
383 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_noBuild() local
408 IRetriableTest test = EasyMock.createMock(IRetriableTest.class); in testInvoke_noBuildRetry() local
465 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_testFail() local
490 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_fatalError() local
515 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_deviceNotAvail() local
542 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_buildError() local
[all …]
/tools/tradefederation/contrib/src/com/android/ota/tests/
DOtaStabilityTestTest.java33 OtaStabilityTest test = new OtaStabilityTest(); in testSplit_even() local
46 OtaStabilityTest test = new OtaStabilityTest(); in testSplit_shards() local
59 OtaStabilityTest test = new OtaStabilityTest(); in testSplit_remainder() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java168 TestableHostJUnit4Test test = new TestableHostJUnit4Test(); in testRunDeviceTests() local
194 TestableHostJUnit4Test test = in testRunDeviceTests_abi() local
229 TestableHostJUnit4Test test = new TestableHostJUnit4Test(); in testRunDeviceTests_asUser() local
259 TestableHostJUnit4Test test = in testRunDeviceTestsWithOptions() local
299 FailureHostJUnit4Test test = new FailureHostJUnit4Test(); in testRunDeviceTests_crashedInstrumentation() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleSplitterTest.java56 StubTest test = new StubTest(); in testSplitModule_configNotShardable() local
87 StubTest test = new StubTest(); in testSplitModule_configNotStrictShardable_dynamic() local
118 StubTest test = new StubTest(); in testSplitModule_configNotStrictShardable_notDynamic() local
145 StubTest test = new StubTest(); in testSplitModule_noIntraModuleSharding() local
235 StubTest test = new StubTest(); in testSplitModule_testShardable_shard() local
261 StubTest test = new StubTest(); in testSplitModule_testShardable_shard_noDynamic() local
/tools/tradefederation/core/src/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/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java118 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
123 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test) { in onTestAssumptionFailure()
193 public final void testStarted(TestDescription test) { in testStarted()
198 public final void testStarted(TestDescription test, long startTime) { in testStarted()
213 public final void testFailed(TestDescription test, String trace) { in testFailed()
227 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded()
233 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded()
249 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure()
263 public final void testIgnored(TestDescription test) { in testIgnored()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java131 StubTest test = new StubTest(); in testSplitWithShardCount() local
159 StubTest test = new StubTest(); in testSplit_noShardCount() local
189 StubTest test = new StubTest(); in testSplitWithShardCount_notEnoughTest() local
234 StubTest test = new StubTest(); in testCloneStatusChecker() local
281 StubTest test = new StubTest(); in testCloneMetricCollector() local
445 StubTest test = new StubTest(); in testSplitWithTokens() local
/tools/test/connectivity/acts/framework/tests/libs/metrics/
Dmetric_binding_test.py25 def setup(self, test, testcase, binding_name): argument
39 def test(self): member in MetricBindingTest.test_binding.TestTest
62 def test(self, binding): member in MetricBindingTest.test_arg_binding.TestTest
/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/tests/src/com/android/tradefed/util/
DSerializationUtilTest.java58 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize() local
75 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize_noDelete() local
121 SerialTestClass test = new SerialTestClass(); in testSerialized_notSerializable() local
/tools/tradefederation/core/src/com/android/tradefed/testtype/host/
DPrettyTestEventLogger.java46 public void testStarted(TestDescription test) { in testStarted()
58 public void testFailed(TestDescription test, String trace) { in testFailed()
63 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClientTest.java54 File test = FileUtil.createTempFile("keystore", "test"); in testKeyStoreFetchUnreadableFile() local
71 File test = FileUtil.createTempFile("keystore", "test"); in testKeyStoreFetchEmptyFile() local
84 File test = FileUtil.createTempFile("keystore", "test"); in testKeyStoreFetchFile() local
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java157 public final void testStarted(TestDescription test) { in testStarted()
162 public final void testStarted(TestDescription test, long startTime) { in testStarted()
167 public final void testFailed(TestDescription test, String trace) { in testFailed()
172 public final void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded()
178 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded()
183 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded()
189 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded()
218 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure()
223 public final void testIgnored(TestDescription test) { in testIgnored()

123456