Clean up commit

This commit is contained in:
anrannn
2022-09-13 15:06:39 +08:00
parent 220d2dc3f7
commit 5de453adca
3 changed files with 2 additions and 46 deletions
+2
View File
@@ -10,3 +10,5 @@
local.properties local.properties
/app/build /app/build
/app/release /app/release
/app/src/test
/app/src/androidTest
@@ -1,29 +0,0 @@
package com.lsp.view
import android.os.Environment
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.lsp.view", appContext.packageName)
}
fun getPath(){
println(Environment.getExternalStorageDirectory().toString())
}
}
@@ -1,17 +0,0 @@
package com.lsp.view
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)
}
}