[Android] Move ConvertersTest to the correct package
Geoffrey Métais
git at videolan.org
Wed Feb 5 11:05:53 CET 2020
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 30 11:59:54 2020 +0100| [e00d76f0899e888de2e2faab056c692497dfab0b] | committer: Nicolas Pomepuy
Move ConvertersTest to the correct package
> https://code.videolan.org/videolan/vlc-android/commit/e00d76f0899e888de2e2faab056c692497dfab0b
---
.../videolan/moviepedia/ExampleInstrumentedTest.kt | 24 ----------------------
.../moviepedia/{ => database}/ConvertersTest.kt | 3 +--
2 files changed, 1 insertion(+), 26 deletions(-)
diff --git a/application/moviepedia/src/androidTest/java/org/videolan/moviepedia/ExampleInstrumentedTest.kt b/application/moviepedia/src/androidTest/java/org/videolan/moviepedia/ExampleInstrumentedTest.kt
deleted file mode 100644
index d54b6d072..000000000
--- a/application/moviepedia/src/androidTest/java/org/videolan/moviepedia/ExampleInstrumentedTest.kt
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.videolan.moviepedia
-
-import androidx.test.platform.app.InstrumentationRegistry
-import androidx.test.ext.junit.runners.AndroidJUnit4
-
-import org.junit.Test
-import org.junit.runner.RunWith
-
-import org.junit.Assert.*
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
- at RunWith(AndroidJUnit4::class)
-class ExampleInstrumentedTest {
- @Test
- fun useAppContext() {
- // Context of the app under test.
- val appContext = InstrumentationRegistry.getInstrumentation().targetContext
- assertEquals("org.videolan.moviepedia.test", appContext.packageName)
- }
-}
diff --git a/application/moviepedia/src/androidTest/java/org/videolan/moviepedia/ConvertersTest.kt b/application/moviepedia/src/androidTest/java/org/videolan/moviepedia/database/ConvertersTest.kt
similarity index 94%
rename from application/moviepedia/src/androidTest/java/org/videolan/moviepedia/ConvertersTest.kt
rename to application/moviepedia/src/androidTest/java/org/videolan/moviepedia/database/ConvertersTest.kt
index 098911807..c6116d968 100644
--- a/application/moviepedia/src/androidTest/java/org/videolan/moviepedia/ConvertersTest.kt
+++ b/application/moviepedia/src/androidTest/java/org/videolan/moviepedia/database/ConvertersTest.kt
@@ -18,14 +18,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
******************************************************************************/
-package org.videolan.moviepedia
+package org.videolan.moviepedia.database
import android.net.Uri
import androidx.test.ext.junit.runners.AndroidJUnit4
import junit.framework.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
-import org.videolan.moviepedia.database.Converters
@RunWith(AndroidJUnit4::class)
class ConvertersTest {
More information about the Android
mailing list