diff --git a/app/build.gradle b/app/build.gradle index 453550794..9b3ad221c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -53,6 +53,9 @@ android { } buildTypes { + debug { + applicationIdSuffix ".debug" + } release { minifyEnabled true shrinkResources true diff --git a/app/src/main/java/eu/kanade/tachiyomi/App.java b/app/src/main/java/eu/kanade/tachiyomi/App.java index 1024edb8e..c90143050 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/App.java +++ b/app/src/main/java/eu/kanade/tachiyomi/App.java @@ -13,7 +13,7 @@ import eu.kanade.tachiyomi.injection.module.AppModule; import timber.log.Timber; @ReportsCrashes( - formUri = "http://mangafeed.kanade.eu/crash_report", + formUri = "http://tachiyomi.kanade.eu/crash_report", reportType = org.acra.sender.HttpSender.Type.JSON, httpMethod = org.acra.sender.HttpSender.Method.PUT, excludeMatchingSharedPreferencesKeys={".*username.*",".*password.*"} diff --git a/app/src/test/java/eu/kanade/tachiyomi/MainActivityTest.java b/app/src/test/java/eu/kanade/tachiyomi/MainActivityTest.java deleted file mode 100644 index 3ff4f86fa..000000000 --- a/app/src/test/java/eu/kanade/tachiyomi/MainActivityTest.java +++ /dev/null @@ -1,40 +0,0 @@ -package eu.kanade.tachiyomi; - -/** - * Created by len on 1/10/15. - */ -import android.os.Build; -import android.support.v7.widget.Toolbar; - -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 eu.kanade.tachiyomi.ui.main.MainActivity; - -import static junit.framework.Assert.assertNotNull; -import static junit.framework.Assert.assertTrue; - -@Config(constants = BuildConfig.class, sdk = Build.VERSION_CODES.LOLLIPOP) -@RunWith(RobolectricGradleTestRunner.class) -public class MainActivityTest { - private MainActivity activity; - - // @Before => JUnit 4 annotation that specifies this method should run before each test is run - // Useful to do setup for objects that are needed in the test - @Before - public void setup() { - // Convenience method to run MainActivity through the Activity Lifecycle methods: - // onCreate(...) => onStart() => onPostCreate(...) => onResume() - activity = Robolectric.setupActivity(MainActivity.class); - } - - @Test - public void validate() { - Toolbar toolbar = (Toolbar)activity.findViewById(R.id.toolbar); - assertNotNull(toolbar); - } -}