Searched refs:hostedTest (Results 1 – 2 of 2) sorted by relevance
93 @Nullable private HostedTest hostedTest; field in HostActivity105 public void runTest(HostedTest hostedTest, long timeoutMs) { in runTest() argument106 runTest(hostedTest, timeoutMs, /* failOnTimeoutOrForceStop= */ true); in runTest()118 final HostedTest hostedTest, long timeoutMs, boolean failOnTimeoutOrForceStop) { in runTest() argument121 Assertions.checkState(this.hostedTest == null); in runTest()122 Assertions.checkNotNull(hostedTest); in runTest()129 HostActivity.this.hostedTest = hostedTest; in runTest()142 if (hostedTest.blockUntilStopped(timeoutMs)) { in runTest()145 hostedTest.onFinished(); in runTest()156 runOnUiThread(hostedTest::forceStop); in runTest()[all …]
79 ImaHostedTest hostedTest = in playbackWithPrerollAdTag_playsAdAndContent() local82 testRule.getActivity().runTest(hostedTest, TIMEOUT_MS); in playbackWithPrerollAdTag_playsAdAndContent()90 ImaHostedTest hostedTest = in playbackWithMidrolls_playsAdAndContent() local93 testRule.getActivity().runTest(hostedTest, TIMEOUT_MS); in playbackWithMidrolls_playsAdAndContent()