Swati4star/Images-to-PDF

View on GitHub
app/src/androidTest/java/swati4star/createpdf/ApplicationTest.java

Summary

Maintainability
A
0 mins
Test Coverage
package swati4star.createpdf;

import static junit.framework.TestCase.assertEquals;

import android.content.Context;
import android.support.test.InstrumentationRegistry;

import androidx.test.ext.junit.runners.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(AndroidJUnit4.class)
public class ApplicationTest {
    @Test
    public void useAppContext() {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals("swati4star.createpdf", appContext.getPackageName());
    }
}