Searched refs:shard2 (Results 1 – 3 of 3) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardMainResultForwarderTest.java | 78 InvocationContext shard2 = new InvocationContext(); in testForwardBuildInfo() local 80 shard2.addAllocatedDevice("device1", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo() 81 shard2.addDeviceBuildInfo("device1", shardBuild2); in testForwardBuildInfo() 86 mShardPrimary.invocationStarted(shard2); in testForwardBuildInfo() 122 InvocationContext shard2 = new InvocationContext(); in testForwardBuildInfo_multiDevice() local 124 shard2.addAllocatedDevice("device1", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo_multiDevice() 125 shard2.addDeviceBuildInfo("device1", shardBuild2); in testForwardBuildInfo_multiDevice() 129 shard2.addAllocatedDevice("device2", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo_multiDevice() 130 shard2.addDeviceBuildInfo("device2", shardBuild2_2); in testForwardBuildInfo_multiDevice() 135 mShardPrimary.invocationStarted(shard2); in testForwardBuildInfo_multiDevice()
|
D | TestInvocationTest.java | 1286 IRemoteTest shard2 = EasyMock.createMock(IRemoteTest.class); in testInvoke_shardableTest_legacy() local 1288 shards.add(shard2); in testInvoke_shardableTest_legacy() 1325 replayMocks(test, mockRescheduler, shard1, shard2, mGlobalConfiguration); in testInvoke_shardableTest_legacy() 1327 verifyMocks(test, mockRescheduler, shard1, shard2, mGlobalConfiguration); in testInvoke_shardableTest_legacy() 1351 IRemoteTest shard2 = EasyMock.createMock(IRemoteTest.class); in testInvoke_shardableTest_autoRetry() local 1353 shards.add(shard2); in testInvoke_shardableTest_autoRetry() 1398 replayMocks(test, mockRescheduler, shard1, shard2, mGlobalConfiguration, logSaverListener); in testInvoke_shardableTest_autoRetry() 1400 verifyMocks(test, mockRescheduler, shard1, shard2, mGlobalConfiguration, logSaverListener); in testInvoke_shardableTest_autoRetry()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | JarHostTestTest.java | 161 IRemoteTest shard2 = tests.get(1); in testSplit_withJar() local 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() 165 assertEquals(30, ((HostTest) shard2).countTestCases()); in testSplit_withJar() 166 total += ((HostTest) shard2).countTestCases(); in testSplit_withJar()
|