diff --git a/README.md b/README.md index a3cbe8ad..f437fd08 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ And add this to your module's `build.gradle` ```groovy dependencies { + compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.github.esafirm.android-image-picker:imagepicker:x.y.z@aar' // for experimental rx picker compile 'com.github.esafirm.android-image-picker:rximagepicker:x.y.z@aar' diff --git a/imagepicker/build.gradle b/imagepicker/build.gradle index ae51a846..55d3c6bb 100644 --- a/imagepicker/build.gradle +++ b/imagepicker/build.gradle @@ -21,10 +21,11 @@ android { dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') - testCompile 'junit:junit:4.12' compile 'com.github.bumptech.glide:glide:3.7.0' final supportLibraryVersion = '25.3.1' compile "com.android.support:appcompat-v7:$supportLibraryVersion" compile "com.android.support:recyclerview-v7:$supportLibraryVersion" + + testCompile 'junit:junit:4.12' } diff --git a/imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerActivity.java b/imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerActivity.java index 9dccc1f7..fc52fe21 100644 --- a/imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerActivity.java +++ b/imagepicker/src/main/java/com/esafirm/imagepicker/features/ImagePickerActivity.java @@ -126,7 +126,7 @@ public void run() { snackBarView.hide(); } }); - }a + } private void setupExtras() { Intent intent = getIntent(); diff --git a/rximagepicker/src/androidTest/java/com/esafirm/rximagepicker/ExampleInstrumentedTest.java b/rximagepicker/src/androidTest/java/com/esafirm/rximagepicker/ExampleInstrumentedTest.java deleted file mode 100644 index 228ea18f..00000000 --- a/rximagepicker/src/androidTest/java/com/esafirm/rximagepicker/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.esafirm.rximagepicker; - -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.*; - -/** - * Instrumentation 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("com.esafirm.rximagepicker.test", appContext.getPackageName()); - } -} diff --git a/rximagepicker/src/test/java/com/esafirm/rximagepicker/ExampleUnitTest.java b/rximagepicker/src/test/java/com/esafirm/rximagepicker/ExampleUnitTest.java deleted file mode 100644 index 87cc1073..00000000 --- a/rximagepicker/src/test/java/com/esafirm/rximagepicker/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.esafirm.rximagepicker; - -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