diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2015-12-09 12:07:09 -0800 |
---|---|---|
committer | Tobrun <tobrun.van.nuland@gmail.com> | 2015-12-09 14:54:38 -0800 |
commit | 50ed524e517787e8637033ea66312dfd199432ae (patch) | |
tree | 05a9d428560edde4f306a582a5574653811c825a | |
parent | bde07c8f0edcc890efd7fd6993f5309d6881c402 (diff) | |
download | qtlocation-mapboxgl-50ed524e517787e8637033ea66312dfd199432ae.tar.gz |
[android] #3224 - add espresso test for TiltActivity
-rw-r--r-- | android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/TiltActivityTest.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/TiltActivityTest.java b/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/TiltActivityTest.java new file mode 100644 index 0000000000..a38af03a61 --- /dev/null +++ b/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/TiltActivityTest.java @@ -0,0 +1,27 @@ +package com.mapbox.mapboxsdk.testapp; + +import android.support.test.rule.ActivityTestRule; + +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; + +public class TiltActivityTest extends BaseTest { + + @Rule + public ActivityTestRule<TiltActivity> mActivityRule = new ActivityTestRule<>( + TiltActivity.class); + + private TiltActivity mActivity = null; + + @Before + public void setActivity() { + mActivity = mActivityRule.getActivity(); + } + + @Test + public void testSanity() { + checkViewIsDisplayed(R.id.tiltMapView); + } + +} |