Home
last modified time | relevance | path

Searched refs:mRescheduler (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java79 private IRescheduler mRescheduler; field in ShardHelperTest
110 mRescheduler = Mockito.mock(IRescheduler.class); in setUp()
139 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testSplitWithShardCount()
141 Mockito.verify(mRescheduler, Mockito.times(3)) in testSplitWithShardCount()
165 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testSplit_noShardCount()
167 Mockito.verify(mRescheduler, Mockito.times(5)) in testSplit_noShardCount()
197 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testSplitWithShardCount_notEnoughTest()
201 Mockito.verify(mRescheduler, Mockito.times(5)) in testSplitWithShardCount_notEnoughTest()
242 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testCloneStatusChecker()
244 Mockito.verify(mRescheduler, Mockito.times(3)) in testCloneStatusChecker()
[all …]
DStrictShardHelperTest.java80 private IRescheduler mRescheduler; field in StrictShardHelperTest
91 mRescheduler = Mockito.mock(IRescheduler.class); in setUp()
121 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testShardConfig_internal()
123 Mockito.verify(mRescheduler, Mockito.times(5)) in testShardConfig_internal()
153 assertFalse(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testShardConfig_internal_shardIndex()
155 Mockito.verify(mRescheduler, Mockito.times(0)).scheduleConfig(Mockito.any()); in testShardConfig_internal_shardIndex()
184 assertFalse(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testShardConfig_internal_shardIndex_notShardable_shard0()
186 Mockito.verify(mRescheduler, Mockito.times(0)).scheduleConfig(Mockito.any()); in testShardConfig_internal_shardIndex_notShardable_shard0()
215 assertFalse(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testShardConfig_internal_shardIndex_notShardable_shard1()
217 Mockito.verify(mRescheduler, Mockito.times(0)).scheduleConfig(Mockito.any()); in testShardConfig_internal_shardIndex_notShardable_shard1()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java106 private IRescheduler mRescheduler; field in RetryRescheduler
195 if (mRescheduler != null) { in run()
197 boolean res = mRescheduler.scheduleConfig(originalConfig); in run()
206 mRescheduler = rescheduler; in setRescheduler()