Remove useless tests
rubytextview/src/androidTest/java/eu/lepiller/views/ExampleInstrumentedTest.java unknown status 2
| 1 | - | package eu.lepiller.views; | |
| 2 | - | ||
| 3 | - | import android.content.Context; | |
| 4 | - | ||
| 5 | - | import androidx.test.platform.app.InstrumentationRegistry; | |
| 6 | - | import androidx.test.ext.junit.runners.AndroidJUnit4; | |
| 7 | - | ||
| 8 | - | import org.junit.Test; | |
| 9 | - | import org.junit.runner.RunWith; | |
| 10 | - | ||
| 11 | - | import static org.junit.Assert.*; | |
| 12 | - | ||
| 13 | - | /** | |
| 14 | - | * Instrumented test, which will execute on an Android device. | |
| 15 | - | * | |
| 16 | - | * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | |
| 17 | - | */ | |
| 18 | - | @RunWith(AndroidJUnit4.class) | |
| 19 | - | public class ExampleInstrumentedTest { | |
| 20 | - | @Test | |
| 21 | - | public void useAppContext() { | |
| 22 | - | // Context of the app under test. | |
| 23 | - | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); | |
| 24 | - | assertEquals("eu.lepiller.furiganatextview.test", appContext.getPackageName()); | |
| 25 | - | } | |
| 26 | - | } | |
| 26 | > | ||
| 27 | 0 | > | \ No newline at end of file |
rubytextview/src/test/java/eu/lepiller/views/ExampleUnitTest.java unknown status 2
| 1 | - | package eu.lepiller.views; | |
| 2 | - | ||
| 3 | - | import org.junit.Test; | |
| 4 | - | ||
| 5 | - | import static org.junit.Assert.*; | |
| 6 | - | ||
| 7 | - | /** | |
| 8 | - | * Example local unit test, which will execute on the development machine (host). | |
| 9 | - | * | |
| 10 | - | * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | |
| 11 | - | */ | |
| 12 | - | public class ExampleUnitTest { | |
| 13 | - | @Test | |
| 14 | - | public void addition_isCorrect() { | |
| 15 | - | assertEquals(4, 2 + 2); | |
| 16 | - | } | |
| 17 | - | } | |
| 17 | > | ||
| 18 | 0 | > | \ No newline at end of file |