We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b89b6b1 commit beb07a4Copy full SHA for beb07a4
1 file changed
extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelperTest.java
@@ -0,0 +1,22 @@
1
+package org.schabi.newpipe.extractor.services.youtube;
2
+
3
+import org.junit.BeforeClass;
4
+import org.junit.Test;
5
+import org.schabi.newpipe.DownloaderTestImpl;
6
+import org.schabi.newpipe.extractor.NewPipe;
7
+import org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeParsingHelper;
8
9
+import static org.junit.Assert.assertTrue;
10
11
+public class YoutubeParsingHelperTest {
12
+ @BeforeClass
13
+ public static void setUp() {
14
+ NewPipe.init(DownloaderTestImpl.getInstance());
15
+ }
16
17
+ @Test
18
+ public void testIsHardcodedClientVersionValid() {
19
+ assertTrue("Hardcoded client version is not valid anymore",
20
+ YoutubeParsingHelper.isHardcodedClientVersionValid());
21
22
+}
0 commit comments