|
@@ -9,14 +9,14 @@ import org.junit.Before;
|
|
|
import org.junit.Test;
|
|
|
import org.junit.runner.RunWith;
|
|
|
import org.robolectric.Robolectric;
|
|
|
-import org.robolectric.RobolectricGradleTestRunner;
|
|
|
import org.robolectric.annotation.Config;
|
|
|
import org.robolectric.shadows.ShadowApplication;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
|
|
|
-import eu.kanade.tachiyomi.CustomBuildConfig;
|
|
|
+import eu.kanade.tachiyomi.BuildConfig;
|
|
|
+import eu.kanade.tachiyomi.CustomRobolectricGradleTestRunner;
|
|
|
import eu.kanade.tachiyomi.data.database.models.Chapter;
|
|
|
import eu.kanade.tachiyomi.data.database.models.Manga;
|
|
|
import eu.kanade.tachiyomi.data.source.base.Source;
|
|
@@ -31,8 +31,8 @@ import static org.mockito.Mockito.times;
|
|
|
import static org.mockito.Mockito.verify;
|
|
|
import static org.mockito.Mockito.when;
|
|
|
|
|
|
-@Config(constants = CustomBuildConfig.class, sdk = Build.VERSION_CODES.LOLLIPOP)
|
|
|
-@RunWith(RobolectricGradleTestRunner.class)
|
|
|
+@Config(constants = BuildConfig.class, sdk = Build.VERSION_CODES.LOLLIPOP)
|
|
|
+@RunWith(CustomRobolectricGradleTestRunner.class)
|
|
|
public class LibraryUpdateServiceTest {
|
|
|
|
|
|
ShadowApplication app;
|