Commit 2e9ef8ab by andrewlewis Committed by Andrew Lewis

Update test names for attach -> start renaming

PiperOrigin-RevId: 232676346
parent 73813b9b
...@@ -109,7 +109,7 @@ public class ImaAdsLoaderTest { ...@@ -109,7 +109,7 @@ public class ImaAdsLoaderTest {
} }
@Test @Test
public void testAttachPlayer_setsAdUiViewGroup() { public void testStart_setsAdUiViewGroup() {
setupPlayback(CONTENT_TIMELINE, PREROLL_ADS_DURATIONS_US, PREROLL_CUE_POINTS_SECONDS); setupPlayback(CONTENT_TIMELINE, PREROLL_ADS_DURATIONS_US, PREROLL_CUE_POINTS_SECONDS);
imaAdsLoader.start(adsLoaderListener, adUiViewGroup); imaAdsLoader.start(adsLoaderListener, adUiViewGroup);
...@@ -117,7 +117,7 @@ public class ImaAdsLoaderTest { ...@@ -117,7 +117,7 @@ public class ImaAdsLoaderTest {
} }
@Test @Test
public void testAttachPlayer_updatesAdPlaybackState() { public void testStart_updatesAdPlaybackState() {
setupPlayback(CONTENT_TIMELINE, PREROLL_ADS_DURATIONS_US, PREROLL_CUE_POINTS_SECONDS); setupPlayback(CONTENT_TIMELINE, PREROLL_ADS_DURATIONS_US, PREROLL_CUE_POINTS_SECONDS);
imaAdsLoader.start(adsLoaderListener, adUiViewGroup); imaAdsLoader.start(adsLoaderListener, adUiViewGroup);
...@@ -128,14 +128,14 @@ public class ImaAdsLoaderTest { ...@@ -128,14 +128,14 @@ public class ImaAdsLoaderTest {
} }
@Test @Test
public void testAttachAfterRelease() { public void testStartAfterRelease() {
setupPlayback(CONTENT_TIMELINE, PREROLL_ADS_DURATIONS_US, PREROLL_CUE_POINTS_SECONDS); setupPlayback(CONTENT_TIMELINE, PREROLL_ADS_DURATIONS_US, PREROLL_CUE_POINTS_SECONDS);
imaAdsLoader.release(); imaAdsLoader.release();
imaAdsLoader.start(adsLoaderListener, adUiViewGroup); imaAdsLoader.start(adsLoaderListener, adUiViewGroup);
} }
@Test @Test
public void testAttachAndCallbacksAfterRelease() { public void testStartAndCallbacksAfterRelease() {
setupPlayback(CONTENT_TIMELINE, PREROLL_ADS_DURATIONS_US, PREROLL_CUE_POINTS_SECONDS); setupPlayback(CONTENT_TIMELINE, PREROLL_ADS_DURATIONS_US, PREROLL_CUE_POINTS_SECONDS);
imaAdsLoader.release(); imaAdsLoader.release();
imaAdsLoader.start(adsLoaderListener, adUiViewGroup); imaAdsLoader.start(adsLoaderListener, adUiViewGroup);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment