File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44import org .junit .Ignore ;
55import org .junit .Test ;
66import org .schabi .newpipe .Downloader ;
7+ import org .schabi .newpipe .extractor .MediaFormat ;
78import org .schabi .newpipe .extractor .NewPipe ;
89import org .schabi .newpipe .extractor .exceptions .ExtractionException ;
910import org .schabi .newpipe .extractor .exceptions .ParsingException ;
1011import org .schabi .newpipe .extractor .services .youtube .extractors .YoutubeStreamExtractor ;
1112import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeStreamLinkHandlerFactory ;
1213import org .schabi .newpipe .extractor .stream .StreamExtractor ;
13- import org .schabi .newpipe .extractor .stream .SubtitlesFormat ;
1414import org .schabi .newpipe .extractor .stream .VideoStream ;
1515import org .schabi .newpipe .extractor .utils .Localization ;
1616
@@ -131,6 +131,6 @@ public void testGetSubtitlesListDefault() throws IOException, ExtractionExceptio
131131 @ Test
132132 public void testGetSubtitlesList () throws IOException , ExtractionException {
133133 // Video (/view?v=YQHsXMglC9A) set in the setUp() method has no captions => null
134- assertTrue (extractor .getSubtitles (SubtitlesFormat .TTML ).isEmpty ());
134+ assertTrue (extractor .getSubtitles (MediaFormat .TTML ).isEmpty ());
135135 }
136136}
Original file line number Diff line number Diff line change 44import org .junit .Ignore ;
55import org .junit .Test ;
66import org .schabi .newpipe .Downloader ;
7+ import org .schabi .newpipe .extractor .MediaFormat ;
78import org .schabi .newpipe .extractor .NewPipe ;
89import org .schabi .newpipe .extractor .exceptions .ExtractionException ;
910import org .schabi .newpipe .extractor .exceptions .ParsingException ;
1011import org .schabi .newpipe .extractor .services .youtube .extractors .YoutubeStreamExtractor ;
1112import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeStreamLinkHandlerFactory ;
1213import org .schabi .newpipe .extractor .stream .StreamExtractor ;
13- import org .schabi .newpipe .extractor .stream .SubtitlesFormat ;
1414import org .schabi .newpipe .extractor .stream .VideoStream ;
1515import org .schabi .newpipe .extractor .utils .Localization ;
1616
@@ -124,6 +124,6 @@ public void testGetSubtitlesListDefault() throws IOException, ExtractionExceptio
124124 @ Test
125125 public void testGetSubtitlesList () throws IOException , ExtractionException {
126126 // Video (/view?v=YQHsXMglC9A) set in the setUp() method has no captions => null
127- assertTrue (!extractor .getSubtitles (SubtitlesFormat .TTML ).isEmpty ());
127+ assertTrue (!extractor .getSubtitles (MediaFormat .TTML ).isEmpty ());
128128 }
129129}
You can’t perform that action at this time.
0 commit comments