Home
last modified time | relevance | path

Searched refs:HostTest (Results 1 – 15 of 15) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJarHostTestTest.java67 private HostTest mTest;
75 mTest = new HostTest(); in setUp()
155 assertTrue(shard1 instanceof HostTest); in testSplit_withJar()
156 ((HostTest) shard1).setBuild(new BuildInfo()); in testSplit_withJar()
157 ((HostTest) shard1).setDevice(device); in testSplit_withJar()
158 assertEquals(28, ((HostTest) shard1).countTestCases()); in testSplit_withJar()
159 total += ((HostTest) shard1).countTestCases(); in testSplit_withJar()
162 assertTrue(shard2 instanceof HostTest); in testSplit_withJar()
163 ((HostTest) shard2).setBuild(new BuildInfo()); in testSplit_withJar()
164 ((HostTest) shard2).setDevice(device); in testSplit_withJar()
[all …]
DHostTestTest.java91 private HostTest mHostTest;
561 public static class TestableHostTest extends HostTest {
1138 mHostTest = new HostTest(); in testRun_shouldNotRunMulti()
1412 private void runMixJunitTest(HostTest hostTest, int expectedTest, int expectedRun) in runMixJunitTest()
1632 private void runMixJunitTestWithFilter(HostTest hostTest) throws Exception { in runMixJunitTestWithFilter()
1724 assertTrue(HostTest.class.isInstance(shard)); in testRun_junit_suite_split_by_method()
1725 HostTest hostTest = (HostTest)shard; in testRun_junit_suite_split_by_method()
1817 assertTrue(shard instanceof HostTest); in testGetTestShardable_wrapping_shardUnit_method()
1818 HostTest hostTest = (HostTest)shard; in testGetTestShardable_wrapping_shardUnit_method()
2022 assertTrue(test instanceof HostTest); in testSplit_withExclude()
[all …]
DDeviceJUnit4ClassRunnerTest.java105 private HostTest mHostTest;
113 mHostTest = new HostTest(); in setUp()
DDeviceSuiteTest.java51 private HostTest mHostTest;
60 mHostTest = new HostTest(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java45 import com.android.tradefed.testtype.HostTest;
130 private HostTest mHostTest;
145 mHostTest = new HostTest(); in setUp()
402 HostTest test = new HostTest();
DDeviceParameterizedRunnerTest.java29 import com.android.tradefed.testtype.HostTest;
90 private HostTest mTest;
101 mTest = new HostTest(); in setUp()
DLongevityHostRunnerTest.java33 import com.android.tradefed.testtype.HostTest;
233 public class SetClassHostTest extends HostTest {
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunner.java20 import com.android.tradefed.testtype.HostTest;
50 @Option(name = HostTest.SET_OPTION_NAME, description = HostTest.SET_OPTION_DESC)
84 HostTest.setOptionToLoadedObject(testObj, mKeyValueOptions); in methodInvoker()
DLongevityHostRunner.java28 import com.android.tradefed.testtype.HostTest;
69 @Option(name = HostTest.SET_OPTION_NAME, description = HostTest.SET_OPTION_DESC)
191 setter.setOptionValue(HostTest.SET_OPTION_NAME, kvPair); in run()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java95 public class HostTest class
199 public HostTest() { in HostTest() method in HostTest
1236 HostTest test; in split()
1245 test = (HostTest) listTests.get(i); in split()
1298 protected HostTest createHostTest(Class<?> classObj) { in createHostTest()
1299 HostTest test; in createHostTest()
DDeviceSuite.java50 @Option(name = HostTest.SET_OPTION_NAME, description = HostTest.SET_OPTION_DESC)
130 setter.setOptionValue(HostTest.SET_OPTION_NAME, kv); in runChild()
DDeviceJUnit4ClassRunner.java68 @Option(name = HostTest.SET_OPTION_NAME, description = HostTest.SET_OPTION_DESC)
99 HostTest.setOptionToLoadedObject(testObj, mKeyValueOptions); in createTest()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java35 import com.android.tradefed.testtype.HostTest;
434 HostTest host = new HostTest(); in testActualRunAnnotated_include()
487 HostTest host = new HostTest(); in testActualRunAnnotated_exclude()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java34 import com.android.tradefed.testtype.HostTest;
926 HostTest test = (HostTest) configMap.get(ABI_1 + " test[mod1.apk]").getTests().get(0); in testLoadTestsForMainline()
929 test = (HostTest) configMap.get(ABI_1 + " test[mod2.apk]").getTests().get(0); in testLoadTestsForMainline()
932 test = (HostTest) configMap.get(ABI_1 + " test[mod1.apk+mod2.apk]").getTests().get(0); in testLoadTestsForMainline()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java41 import com.android.tradefed.testtype.HostTest;
348 HostTest stubTest = new HostTest(); in testClone_withKeystore()