WMS_Native/app/src/androidTest/java/it/integry/integrywmsnative/ExampleInstrumentedTest.java
Gius95 d5723df178 Migrazione ad AndroidX.
Implementazione dialog per Exceptions non gestite.
2018-12-13 19:47:00 +01:00

27 lines
744 B
Java

package it.integry.integrywmsnative;
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.*;
/**
* Instrumentation 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() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("it.integry.integrywmsnative", appContext.getPackageName());
}
}