Sha256: 9e7b3535c97a2a20a66e0421f4c4afd700a29310f343666069a2752c75dc9649

Contents?: true

Size: 744 Bytes

Versions: 5

Compression:

Stored size: 744 Bytes

Contents

package com.vuebly.commandly;

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("com.vuebly.commandly", appContext.getPackageName());
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
commandly-0.2.2 templates/android/app/src/androidTest/java/com/vuebly/commandly/ExampleInstrumentedTest.java
commandly-0.2.1 templates/android/app/src/androidTest/java/com/vuebly/commandly/ExampleInstrumentedTest.java
commandly-0.2.0 templates/android/app/src/androidTest/java/com/vuebly/commandly/ExampleInstrumentedTest.java
commandly-0.1.2 templates/android/app/src/androidTest/java/com/vuebly/commandly/ExampleInstrumentedTest.java
commandly-0.1.1 templates/android/app/src/androidTest/java/com/vuebly/commandly/ExampleInstrumentedTest.java