CuneiPainter  Version 1.2
ExampleInstrumentedTest Class Reference

Instrumented test, which will execute on an Android device. More...

Public Member Functions

void useAppContext ()
 

Detailed Description

Instrumented test, which will execute on an Android device.

See Also
Testing documentation

Member Function Documentation

void useAppContext ( )
20  {
21  // Context of the app under test.
22  Context appContext = InstrumentationRegistry.getTargetContext();
23 
24  assertEquals("com.example.timo.cuneipainter", appContext.getPackageName());
25  }