diff --git a/appthemehelper/build.gradle b/appthemehelper/build.gradle index 383b4637d..a3ddba9ac 100644 --- a/appthemehelper/build.gradle +++ b/appthemehelper/build.gradle @@ -13,6 +13,9 @@ android { proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } + lintOptions { + abortOnError false + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/appthemehelper/src/androidTest/java/code/name/monkey/appthemehelper/ExampleInstrumentedTest.java b/appthemehelper/src/androidTest/java/code/name/monkey/appthemehelper/ExampleInstrumentedTest.java deleted file mode 100644 index 7cf7cddfc..000000000 --- a/appthemehelper/src/androidTest/java/code/name/monkey/appthemehelper/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package code.name.monkey.appthemehelper; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() throws Exception { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("code.name.monkey.appthemehelper.test", appContext.getPackageName()); - } -} diff --git a/appthemehelper/src/test/java/code/name/monkey/appthemehelper/ExampleUnitTest.java b/appthemehelper/src/test/java/code/name/monkey/appthemehelper/ExampleUnitTest.java deleted file mode 100644 index b73306367..000000000 --- a/appthemehelper/src/test/java/code/name/monkey/appthemehelper/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package code.name.monkey.appthemehelper; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() throws Exception { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file