Commit 279f3a2
committed
[YouTube] Fix mix tests with invalid video ids
Replaces mix tests based on a strange mix type RDQM{videoId} (only reference I could find is ytdl-org/youtube-dl#26228) and with an invalid video id of 13 characters (the first two characters were QM, but even after removing QM there still wasn't a video available at that id).
Also updates mocks.1 parent d660c04 commit 279f3a2
25 files changed
Lines changed: 654 additions & 1584 deletions
File tree
- extractor/src/test
- java/org/schabi/newpipe/extractor/services/youtube
- resources/org/schabi/newpipe/extractor/services/youtube/extractor/mix
- channelMix
- invalid
- mixWithIndex
- mix
- myMix
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
| 131 | + | |
| 132 | + | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
Lines changed: 76 additions & 24 deletions
Large diffs are not rendered by default.
Lines changed: 23 additions & 5 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 296 deletions
This file was deleted.
Lines changed: 48 additions & 23 deletions
Large diffs are not rendered by default.
Lines changed: 29 additions & 13 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 267 deletions
This file was deleted.
Lines changed: 59 additions & 22 deletions
Large diffs are not rendered by default.
Lines changed: 44 additions & 30 deletions
Large diffs are not rendered by default.
Lines changed: 44 additions & 29 deletions
Large diffs are not rendered by default.
0 commit comments