删除test目录

This commit is contained in:
董宏宇
2021-08-02 15:10:06 +08:00
parent ae8e18aa78
commit 0aed392a32
2 changed files with 0 additions and 41 deletions

View File

@@ -1,24 +0,0 @@
package com.zhidao.mogo.module.obu
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("com.zhidao.mogo.module.obu.test", appContext.packageName)
}
}

View File

@@ -1,17 +0,0 @@
package com.zhidao.mogo.module.obu
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)
}
}