Files
Bookwyrm_Android/app/src/androidTest/java/nl/privacydragon/bookwyrm/ExampleInstrumentedTest.java
Privacy_Dragon be020bdfcd update to 1.3.0
2022-04-09 23:02:39 +02:00

25 lines
739 B
Java

package nl.privacydragon.bookwyrm;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("nl.privacydragon.bookwyrm", appContext.getPackageName());
}
}