summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanuj M <thetanuj@hotmail.com>2020-08-30 14:29:23 +0530
committerTanuj M <thetanuj@hotmail.com>2020-08-30 14:29:23 +0530
commit2116c683abc8869cbfb72aa6ddb6f1a40efb6c19 (patch)
tree40bc135d8b49dde0f7b63f24fdbb097df1c79949
parent5d60a677998bd7ab9dbcb935d98ae7cba19e6088 (diff)
downloadSidePhOnelauncher-2116c683abc8869cbfb72aa6ddb6f1a40efb6c19.tar.gz
SidePhOnelauncher-2116c683abc8869cbfb72aa6ddb6f1a40efb6c19.tar.bz2
SidePhOnelauncher-2116c683abc8869cbfb72aa6ddb6f1a40efb6c19.zip
Removed example test files and libraries
-rw-r--r--app/build.gradle5
-rw-r--r--app/src/androidTest/java/app/olauncher/ExampleInstrumentedTest.kt24
-rw-r--r--app/src/test/java/app/olauncher/ExampleUnitTest.kt17
3 files changed, 2 insertions, 44 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 6b9f837..39fec54 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -46,11 +46,10 @@ dependencies {
implementation 'androidx.core:core-ktx:1.3.1'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation "androidx.recyclerview:recyclerview:1.1.0"
+
+ // Android lifecycle
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
- testImplementation 'junit:junit:4.13'
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
// Navigation
implementation "androidx.navigation:navigation-fragment-ktx:2.3.0"
diff --git a/app/src/androidTest/java/app/olauncher/ExampleInstrumentedTest.kt b/app/src/androidTest/java/app/olauncher/ExampleInstrumentedTest.kt
deleted file mode 100644
index c764fcc..0000000
--- a/app/src/androidTest/java/app/olauncher/ExampleInstrumentedTest.kt
+++ /dev/null
@@ -1,24 +0,0 @@
-package app.olauncher
-
-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).
- */
-@RunWith(AndroidJUnit4::class)
-class ExampleInstrumentedTest {
- @Test
- fun useAppContext() {
- // Context of the app under test.
- val appContext = InstrumentationRegistry.getInstrumentation().targetContext
- assertEquals("app.olauncher", appContext.packageName)
- }
-} \ No newline at end of file
diff --git a/app/src/test/java/app/olauncher/ExampleUnitTest.kt b/app/src/test/java/app/olauncher/ExampleUnitTest.kt
deleted file mode 100644
index b5b37ba..0000000
--- a/app/src/test/java/app/olauncher/ExampleUnitTest.kt
+++ /dev/null
@@ -1,17 +0,0 @@
-package app.olauncher
-
-import org.junit.Test
-
-import org.junit.Assert.*
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-class ExampleUnitTest {
- @Test
- fun addition_isCorrect() {
- assertEquals(4, 2 + 2)
- }
-} \ No newline at end of file