Skip to content

Commit

Permalink
Remove example tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed Sep 16, 2024
1 parent 11b12eb commit 85118ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
package com.rubensousa.carioca.android.report.coroutines

import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith

/**
* 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.rubensousa.carioca.android.report.coroutines.test", appContext.packageName)
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,12 @@

package com.rubensousa.carioca.core

import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith

/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedBlockingTestStageReportInterface {

@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.rubensousa.carioca.core.test", appContext.packageName)
}

}

0 comments on commit 85118ab

Please sign in to comment.