blob: a38af03a61948016514318aff5cad538c0f9ed0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
}
}
|