Update test names for attach -> start renaming

PiperOrigin-RevId: 232676346
This commit is contained in:
andrewlewis 2019-02-06 16:04:58 +00:00 committed by Andrew Lewis
parent f898bddbfc
commit 858415e3b1

View File

@ -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 {
} }
@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 {
} }
@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);