1
0
Fork 0
mirror of https://github.com/vanitasvitae/Spherical synced 2025-12-12 07:11:10 +01:00

Initial commit

This commit is contained in:
vanitasvitae 2017-09-12 14:54:41 +02:00
parent 645da0ba34
commit 547667a6e0
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
29 changed files with 469 additions and 0 deletions

View file

@ -0,0 +1,26 @@
package de.trac.spherical;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.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("de.trac.spherical", appContext.getPackageName());
}
}