diff options
author | ByteHamster <info@bytehamster.com> | 2018-10-21 22:12:07 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2018-10-21 22:12:07 +0200 |
commit | 168b41a825c355d4874f7ccb06391395f1486c81 (patch) | |
tree | 5d1506aa3f702e497ee33e552ab7671be3469ac0 /core | |
parent | 59c2c5b1d6e007ea7fa8260d994d21743a092f73 (diff) | |
download | AntennaPod-168b41a825c355d4874f7ccb06391395f1486c81.zip |
Updated tests
Diffstat (limited to 'core')
-rw-r--r-- | core/build.gradle | 5 | ||||
-rw-r--r-- | core/src/androidTest/java/de/danoeh/antennapod/core/AntennaPodTestRunner.java | 16 |
2 files changed, 4 insertions, 17 deletions
diff --git a/core/build.gradle b/core/build.gradle index 0a6d4c36b..80adefa60 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -10,7 +10,7 @@ android { versionCode 1 versionName "1.0" testApplicationId "de.danoeh.antennapod.core.tests" - testInstrumentationRunner "de.danoeh.antennapod.core.AntennaPodTestRunner" + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { @@ -83,6 +83,9 @@ dependencies { } testImplementation 'junit:junit:4.12' + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + androidTestImplementation 'com.android.support.test:runner:1.0.2' + androidTestImplementation 'com.android.support.test:rules:1.0.2' } diff --git a/core/src/androidTest/java/de/danoeh/antennapod/core/AntennaPodTestRunner.java b/core/src/androidTest/java/de/danoeh/antennapod/core/AntennaPodTestRunner.java deleted file mode 100644 index 5d086c054..000000000 --- a/core/src/androidTest/java/de/danoeh/antennapod/core/AntennaPodTestRunner.java +++ /dev/null @@ -1,16 +0,0 @@ -package de.danoeh.antennapod.core; - -import android.test.InstrumentationTestRunner; -import android.test.suitebuilder.TestSuiteBuilder; - -import junit.framework.TestSuite; - -public class AntennaPodTestRunner extends InstrumentationTestRunner { - - @Override - public TestSuite getAllTests() { - return new TestSuiteBuilder(AntennaPodTestRunner.class) - .includeAllPackagesUnderHere() - .build(); - } -}
\ No newline at end of file |