switch from eclipse to android studio
[goodguy/cinelerra.git] / CineRmt / app / src / androidTest / java / com / local / cinermt / ExampleInstrumentedTest.java
1 package com.local.cinermt;
2
3 import android.content.Context;
4 import android.support.test.InstrumentationRegistry;
5 import android.support.test.runner.AndroidJUnit4;
6
7 import org.junit.Test;
8 import org.junit.runner.RunWith;
9
10 import static org.junit.Assert.*;
11
12 /**
13  * Instrumented test, which will execute on an Android device.
14  *
15  * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
16  */
17 @RunWith(AndroidJUnit4.class)
18 public class ExampleInstrumentedTest {
19     @Test
20     public void useAppContext() {
21         // Context of the app under test.
22         Context appContext = InstrumentationRegistry.getTargetContext();
23
24         assertEquals("com.local.cinermt", appContext.getPackageName());
25     }
26 }