@Test public void constructor_shouldSetVideoListenersAndVideoPath() throws Exception { initializeSubject(); ShadowVideoView videoView = shadowOf(subject.getVideoView()); assertThat(videoView.getOnCompletionListener()).isNotNull(); assertThat(videoView.getOnErrorListener()).isNotNull(); assertThat(videoView.getOnTouchListener()).isNotNull(); assertThat(videoView.getOnPreparedListener()).isNotNull(); assertThat(videoView.getVideoPath()).isEqualTo("disk_video_path"); assertThat(subject.getVideoView().hasFocus()).isTrue(); }
@Override protected VideoView getVideoView() { return mVideoView; }
VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Override protected VideoView getVideoView() { return mVideoView; } }
VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Override protected VideoView getVideoView() { return mVideoView; } VastVideoViewController(final Context context,
            final Bundle bundle,
            final long broadcastIdentifier,
            final BaseVideoViewControllerListener baseVideoViewControllerListener); }
VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Override protected VideoView getVideoView() { return mVideoView; } VastVideoViewController(final Context context,
            final Bundle bundle,
            final long broadcastIdentifier,
            final BaseVideoViewControllerListener baseVideoViewControllerListener); @Override boolean backButtonEnabled(); @Override void onComplete(String url, DownloadResponse downloadResponse); }
VastVideoViewController extends BaseVideoViewController implements DownloadTask.DownloadTaskListener { @Override protected VideoView getVideoView() { return mVideoView; } VastVideoViewController(final Context context,
            final Bundle bundle,
            final long broadcastIdentifier,
            final BaseVideoViewControllerListener baseVideoViewControllerListener); @Override boolean backButtonEnabled(); @Override void onComplete(String url, DownloadResponse downloadResponse);  }