mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Almost showing a chapter reader
This commit is contained in:
parent
49c69be38e
commit
5142df103b
28 changed files with 580 additions and 119 deletions
|
@ -19,9 +19,6 @@ import eu.kanade.mangafeed.data.models.Chapter;
|
|||
import eu.kanade.mangafeed.data.models.Manga;
|
||||
import eu.kanade.mangafeed.sources.Batoto;
|
||||
import eu.kanade.mangafeed.sources.Source;
|
||||
import rx.android.schedulers.AndroidSchedulers;
|
||||
import rx.observers.TestSubscriber;
|
||||
import rx.schedulers.Schedulers;
|
||||
|
||||
@Config(constants = BuildConfig.class, sdk = Build.VERSION_CODES.LOLLIPOP)
|
||||
@RunWith(RobolectricGradleTestRunner.class)
|
||||
|
@ -44,7 +41,7 @@ public class BatotoTest {
|
|||
|
||||
@Test
|
||||
public void testImageList() {
|
||||
List<String> imageUrls = b.getImageUrlsFromNetwork(chapterUrl)
|
||||
List<String> imageUrls = b.getRemainingImageUrlsFromPageList(chapterUrl)
|
||||
.toList().toBlocking().single();
|
||||
|
||||
Assert.assertTrue(imageUrls.size() > 5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue