Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJarHostTestTest.java57 private HostTest mTest;
63 public static class HostTestable extends HostTest {
76 mTest = new HostTest(); in setUp()
146 assertTrue(oneShard instanceof HostTest); in testGetTestShard_withJar()
147 ((HostTest) oneShard).setBuild(new BuildInfo()); in testGetTestShard_withJar()
148 ((HostTest) oneShard).setDevice(device); in testGetTestShard_withJar()
149 assertEquals(238, ((HostTest) oneShard).countTestCases()); in testGetTestShard_withJar()
154 assertTrue(shard1 instanceof HostTest); in testGetTestShard_withJar()
155 ((HostTest) shard1).setBuild(new BuildInfo()); in testGetTestShard_withJar()
156 ((HostTest) shard1).setDevice(device); in testGetTestShard_withJar()
[all …]
DHostTestTest.java70 private HostTest mHostTest;
444 mHostTest = new HostTest(); in setUp()
951 mHostTest = new HostTest(); in testRun_shouldNotRunMulti()
1173 private void runMixJunitTest(HostTest hostTest, int expectedTest, int expectedRun) in runMixJunitTest()
1279 private void runMixJunitTestWithFilter(HostTest hostTest) throws Exception { in runMixJunitTestWithFilter()
1367 assertTrue(HostTest.class.isInstance(shard)); in testRun_junit_suite_split_by_method()
1368 HostTest hostTest = (HostTest)shard; in testRun_junit_suite_split_by_method()
1440 assertTrue(shard0 instanceof HostTest); in testGetTestStrictShardable()
1441 assertEquals(1, ((HostTest)shard0).getClasses().size()); in testGetTestStrictShardable()
1443 ((HostTest)shard0).getClasses().get(0).getName()); in testGetTestStrictShardable()
[all …]
DDeviceSuiteTest.java48 private HostTest mHostTest;
56 mHostTest = new HostTest(); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DLongevityHostRunner.java28 import com.android.tradefed.testtype.HostTest;
75 @Option(name = HostTest.SET_OPTION_NAME, description = HostTest.SET_OPTION_DESC)
211 setter.setOptionValue(HostTest.SET_OPTION_NAME, kvPair); in run()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceSuite.java51 @Option(name = HostTest.SET_OPTION_NAME, description = HostTest.SET_OPTION_DESC)
142 setter.setOptionValue(HostTest.SET_OPTION_NAME, kv); in runChild()
DDeviceJUnit4ClassRunner.java58 @Option(name = HostTest.SET_OPTION_NAME, description = HostTest.SET_OPTION_DESC)
94 HostTest.setOptionToLoadedObject(testObj, mKeyValueOptions); in createTest()
DHostTest.java85 public class HostTest class
181 public HostTest() { in HostTest() method in HostTest
954 HostTest test; in split()
963 test = (HostTest) listTests.get(i); in split()
1010 protected HostTest createHostTest(Class<?> classObj) { in createHostTest()
1011 HostTest test; in createHostTest()
1037 HostTest test = createTestShard(shardCount, shardIndex); in getTestShard()
1064 private HostTest createTestShard(int shardCount, int shardIndex) { in createTestShard()
1066 HostTest test = null; in createTestShard()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java40 import com.android.tradefed.testtype.HostTest;
110 private HostTest mHostTest;
121 mHostTest = new HostTest(); in setUp()
319 HostTest test = new HostTest();
DDeviceParameterizedRunnerTest.java26 import com.android.tradefed.testtype.HostTest;
87 private HostTest mTest;
97 mTest = new HostTest(); in setUp()
DLongevityHostRunnerTest.java31 import com.android.tradefed.testtype.HostTest;
239 public class SetClassHostTest extends HostTest {
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java39 import com.android.tradefed.testtype.HostTest;
330 HostTest stubTest = new HostTest(); in testClone_withKeystore()
390 HostTest stubTest = new HostTest(); in testClone_withKeystore_loadingFails()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java31 import com.android.tradefed.testtype.HostTest;
402 HostTest host = new HostTest(); in testActualRunAnnotated_include()
450 HostTest host = new HostTest(); in testActualRunAnnotated_exclude()