/tools/tradefederation/core/prod-tests/src/com/android/ota/tests/ |
D | OtaStabilityTestTest.java | 18 import com.android.tradefed.testtype.IRemoteTest; 38 Collection<IRemoteTest> shards = test.split(); in testSplit_even() 40 for (IRemoteTest shardTest : shards) { in testSplit_even() 53 Collection<IRemoteTest> shards = test.split(); in testSplit_shards() 55 for (IRemoteTest shardTest : shards) { in testSplit_shards() 68 Collection<IRemoteTest> shards = test.split(); in testSplit_remainder() 70 Iterator<IRemoteTest> iterator = shards.iterator(); in testSplit_remainder() 71 IRemoteTest first = iterator.next(); in testSplit_remainder() 74 IRemoteTest second = iterator.next(); in testSplit_remainder() 77 IRemoteTest three = iterator.next(); in testSplit_remainder()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | StrictShardHelper.java | 27 import com.android.tradefed.testtype.IRemoteTest; 62 List<IRemoteTest> listAllTests = getAllTests(config, shardCount, context); in shardConfig() 65 List<IRemoteTest> splitList; in shardConfig() 80 List<IRemoteTest> testShards = new ArrayList<>(); in updateConfigIfSharded() 81 for (IRemoteTest test : config.getTests()) { in updateConfigIfSharded() 91 IRemoteTest testShard = in updateConfigIfSharded() 106 private List<IRemoteTest> getAllTests( in getAllTests() 108 List<IRemoteTest> allTests = new ArrayList<>(); in getAllTests() 109 for (IRemoteTest test : config.getTests()) { in getAllTests() 131 Collection<IRemoteTest> subTests = ((IShardableTest) test).split(shardCount); in getAllTests() [all …]
|
D | ShardHelper.java | 37 import com.android.tradefed.testtype.IRemoteTest; 82 List<IRemoteTest> shardableTests = new ArrayList<IRemoteTest>(); in shardConfig() 85 for (IRemoteTest test : config.getTests()) { in shardConfig() 120 for (IRemoteTest testShard : shardableTests) { in shardConfig() 206 List<IRemoteTest> shardableTests, in shardTest() 207 IRemoteTest test, in shardTest() 227 Collection<IRemoteTest> shards = null; in shardTest()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleMergerTest.java | 21 import com.android.tradefed.testtype.IRemoteTest; 52 Collection<IRemoteTest> res1 = suite1.split(2); in testPartOfSameSuite_notSplittedYet2() 64 Collection<IRemoteTest> res1 = suite1.split(2); in testPartOfSameSuite_sameSuite() 65 Iterator<IRemoteTest> ite = res1.iterator(); in testPartOfSameSuite_sameSuite() 77 Collection<IRemoteTest> res1 = suite1.split(2); in testPartOfSameSuite_notSameSuite() 79 Collection<IRemoteTest> res2 = suite2.split(2); in testPartOfSameSuite_notSameSuite() 108 Collection<IRemoteTest> res1 = suite1.split(2); in testMergeSplittedITestSuite_notSplittedYet2() 125 Collection<IRemoteTest> res1 = suite1.split(2); in testMergeSplittedITestSuite_splittedSuiteFromDifferentModules() 127 Collection<IRemoteTest> res2 = suite2.split(2); in testMergeSplittedITestSuite_splittedSuiteFromDifferentModules() 144 Collection<IRemoteTest> res1 = suite1.split(2); in testMergeSplittedITestSuite() [all …]
|
D | ModuleDefinitionMultiTest.java | 27 import com.android.tradefed.testtype.IRemoteTest; 50 private List<IRemoteTest> mTestList; 91 for (IRemoteTest test : mTestList) { in replayMocks() 98 for (IRemoteTest test : mTestList) { in verifyMocks()
|
D | ModuleDefinitionTest.java | 51 import com.android.tradefed.testtype.IRemoteTest; 77 private List<IRemoteTest> mTestList; 91 private interface ITestInterface extends IRemoteTest, IBuildReceiver, IDeviceTest {} 185 for (IRemoteTest test : mTestList) { in replayMocks() 200 for (IRemoteTest test : mTestList) { in verifyMocks() 330 List<IRemoteTest> testList = new ArrayList<>(); in testRun_fullPass() 374 List<IRemoteTest> testList = new ArrayList<>(); in testRun_partialRun() 435 List<IRemoteTest> testList = new ArrayList<>(); in testAbiSetting() 470 List<IRemoteTest> testList = new ArrayList<>(); in testModuleController_fullBypass() 472 new IRemoteTest() { in testModuleController_fullBypass() [all …]
|
D | TestSuiteStub.java | 28 import com.android.tradefed.testtype.IRemoteTest; 42 implements IRemoteTest, 175 public Collection<IRemoteTest> split(int shardCountHint) { in split() 179 Collection<IRemoteTest> listTest = new ArrayList<>(); in split()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPollerTest.java | 31 import com.android.tradefed.testtype.IRemoteTest; 68 List<IRemoteTest> testsList = new ArrayList<>(); in testMultiPolling() 97 List<IRemoteTest> testsList = new ArrayList<>(); in testPollingRun() 99 IRemoteTest test = new StubTest(); in testPollingRun() 121 List<IRemoteTest> testsList = new ArrayList<>(); in testRun_runtimeException() 123 IRemoteTest badTest = new StubTest(); in testRun_runtimeException() 130 IRemoteTest test = new StubTest(); in testRun_runtimeException() 152 List<IRemoteTest> testsList = new ArrayList<>(); in testRun_deviceUnresponsive() 154 IRemoteTest badTest = new StubTest(); in testRun_deviceUnresponsive() 161 IRemoteTest test = new StubTest(); in testRun_deviceUnresponsive() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | IShardableTest.java | 27 public interface IShardableTest extends IRemoteTest { 41 public default Collection<IRemoteTest> split() { in split() 53 public default Collection<IRemoteTest> split(int shardCountHint) { in split()
|
D | IStrictShardableTest.java | 23 public interface IStrictShardableTest extends IRemoteTest { 33 IRemoteTest getTestShard(int shardCount, int shardIndex); in getTestShard()
|
D | StubTest.java | 100 public Collection<IRemoteTest> split() { in split() 102 List<IRemoteTest> shards = new ArrayList<IRemoteTest>(mNumShards); in split()
|
D | HostTest.java | 89 IRemoteTest, 301 if (IRemoteTest.class.isAssignableFrom(classObj) in countTestCases() 306 && IRemoteTest.class.isAssignableFrom(classObj) in countTestCases() 462 if (IRemoteTest.class.isAssignableFrom(classObj)) { in runTestClasses() 463 IRemoteTest test = (IRemoteTest) loadObject(classObj); in runTestClasses() 491 if (IRemoteTest.class.isInstance(obj)) { in runTestCases() 492 IRemoteTest test = (IRemoteTest) obj; in runTestCases() 510 private void runRemoteTest(ITestInvocationListener listener, IRemoteTest test) in runRemoteTest() 677 if (IRemoteTest.class.isInstance(testObj)) { in getTestMethods() 682 } else if (IRemoteTest.class.isAssignableFrom(classObj)) { in getTestMethods() [all …]
|
D | IRetriableTest.java | 21 public interface IRetriableTest extends IRemoteTest{
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitter.java | 25 import com.android.tradefed.testtype.IRemoteTest; 118 for (IRemoteTest test : config.getTests()) { in createAndAddModule() 120 Collection<IRemoteTest> shardedTests = ((IShardableTest) test).split(shardCount); in createAndAddModule() 137 for (IRemoteTest moduleTest : shardedTests) { in createAndAddModule() 156 IRemoteTest test, in addModuleToListFromSingleTest() 159 List<IRemoteTest> testList = new ArrayList<>(); in addModuleToListFromSingleTest()
|
D | AtestRunner.java | 29 import com.android.tradefed.testtype.IRemoteTest; 146 List<IRemoteTest> tests = testConfig.getTests(); in addFilter() 147 for (IRemoteTest test : tests) { in addFilter() 182 for (IRemoteTest test : testConfig.getTests()) { in addDebugger()
|
D | GranularRetriableTestWrapper.java | 31 import com.android.tradefed.testtype.IRemoteTest; 61 public class GranularRetriableTestWrapper implements IRemoteTest { 64 private IRemoteTest mTest; 80 IRemoteTest test, in GranularRetriableTestWrapper()
|
D | TfSuiteRunner.java | 31 import com.android.tradefed.testtype.IRemoteTest; 153 for (IRemoteTest test : testConfig.getTests()) { in loadTests() 190 for (IRemoteTest test : testConfig.getTests()) { in canRunMultipleAbis() 220 List<IRemoteTest> tests = new ArrayList<>(config.getTests()); in expandTestSuites() 234 for (IRemoteTest test : tests) { in expandTestSuites()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | StubOptionTest.java | 20 import com.android.tradefed.testtype.IRemoteTest; 25 public class StubOptionTest implements IRemoteTest {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 77 import com.android.tradefed.testtype.IRemoteTest; 271 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_RemoteTest() 288 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvokeMulti_RemoteTest() 307 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_twoSummary() 329 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_buildFailed() 355 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_noBuild() 414 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_testFail() 438 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_fatalError() 462 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_deviceNotAvail() 488 IRemoteTest test = EasyMock.createMock(IRemoteTest.class); in testInvoke_buildError() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | JarHostTestTest.java | 145 IRemoteTest oneShard = mTest.getTestShard(1, 0); in testGetTestShard_withJar() 153 IRemoteTest shard1 = mTest.getTestShard(5, 0); in testGetTestShard_withJar() 160 IRemoteTest shard2 = mTest.getTestShard(5, 1); in testGetTestShard_withJar() 167 IRemoteTest shard3 = mTest.getTestShard(5, 2); in testGetTestShard_withJar() 174 IRemoteTest shard4 = mTest.getTestShard(5, 3); in testGetTestShard_withJar() 181 IRemoteTest shard5 = mTest.getTestShard(5, 4); in testGetTestShard_withJar()
|
/tools/tradefederation/core/prod-tests/src/com/android/stability/tests/ |
D | RebootStressTest.java | 28 import com.android.tradefed.testtype.IRemoteTest; 45 public class RebootStressTest implements IRemoteTest, IDeviceTest, IShardableTest { 157 public Collection<IRemoteTest> split() { in split() 161 Collection<IRemoteTest> shards = new ArrayList<IRemoteTest>(mShards); in split()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | IConfiguration.java | 32 import com.android.tradefed.testtype.IRemoteTest; 74 public List<IRemoteTest> getTests(); in getTests() 297 public void setTest(IRemoteTest test); in setTest() 305 public void setTests(List<IRemoteTest> tests); in setTests()
|
/tools/tradefederation/contrib/src/com/android/example/ |
D | RebootTest.java | 27 import com.android.tradefed.testtype.IRemoteTest; 35 public class RebootTest implements IRemoteTest, IDeviceTest {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/guice/ |
D | InvocationScopeTest.java | 25 import com.android.tradefed.testtype.IRemoteTest; 42 public static class InjectedClass implements IRemoteTest {
|
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/ |
D | HelloWorldMultiDevices.java | 26 import com.android.tradefed.testtype.IRemoteTest; 42 public class HelloWorldMultiDevices implements IRemoteTest, IMultiDeviceTest,
|