Home
last modified time | relevance | path

Searched refs:getDirectModule (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DStrictShardHelperTest.java266 assertEquals("module3", ((ITestSuite) res.get(0)).getDirectModule().getId()); in testMergeSuite_shard0()
267 assertEquals(2, ((ITestSuite) res.get(0)).getDirectModule().numTests()); in testMergeSuite_shard0()
270 assertEquals("module1", ((ITestSuite) res.get(1)).getDirectModule().getId()); in testMergeSuite_shard0()
271 assertEquals(1, ((ITestSuite) res.get(1)).getDirectModule().numTests()); in testMergeSuite_shard0()
274 assertEquals("module2", ((ITestSuite) res.get(2)).getDirectModule().getId()); in testMergeSuite_shard0()
275 assertEquals(1, ((ITestSuite) res.get(2)).getDirectModule().numTests()); in testMergeSuite_shard0()
284 assertEquals("module1", ((ITestSuite) res.get(0)).getDirectModule().getId()); in testMergeSuite_shard1()
285 assertEquals(1, ((ITestSuite) res.get(0)).getDirectModule().numTests()); in testMergeSuite_shard1()
288 assertEquals("module3", ((ITestSuite) res.get(1)).getDirectModule().getId()); in testMergeSuite_shard1()
289 assertEquals(1, ((ITestSuite) res.get(1)).getDirectModule().numTests()); in testMergeSuite_shard1()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleMerger.java42 if (suite1.getDirectModule() == null) { in mergeSplittedITestSuite()
45 if (suite2.getDirectModule() == null) { in mergeSplittedITestSuite()
48 mergeModules(suite1.getDirectModule(), suite2.getDirectModule()); in mergeSplittedITestSuite()
53 if (suite1.getDirectModule() == null) { in arePartOfSameSuite()
56 if (suite2.getDirectModule() == null) { in arePartOfSameSuite()
59 if (!suite1.getDirectModule().getId().equals(suite2.getDirectModule().getId())) { in arePartOfSameSuite()
DITestSuite.java1027 public ModuleDefinition getDirectModule() { in getDirectModule() method in ITestSuite
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleMergerTest.java148 assertEquals(2, split1.getDirectModule().numTests()); in testMergeSplittedITestSuite()
149 assertEquals(2, split2.getDirectModule().numTests()); in testMergeSplittedITestSuite()
151 assertEquals(4, split1.getDirectModule().numTests()); in testMergeSplittedITestSuite()