[android] #4365 - Improve test app examples related to InfoWindows

This commit is contained in:
Tobrun
2016-03-29 14:30:17 +02:00
parent 0539f7b4cb
commit 47ac55538a
7 changed files with 159 additions and 284 deletions

View File

@@ -1,37 +0,0 @@
package com.mapbox.mapboxsdk.testapp.espresso;
import android.app.Activity;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.LargeTest;
import com.mapbox.mapboxsdk.testapp.activity.InfoWindowConcurrentActivity;
import com.mapbox.mapboxsdk.testapp.R;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
/**
* Tests on InfoWindowConcurrentActivity
*/
@RunWith(AndroidJUnit4.class)
@LargeTest
public class InfoWindowConcurrentActivityTest extends BaseTest {
@Rule
public ActivityTestRule<InfoWindowConcurrentActivity> mActivityRule = new ActivityTestRule<>(InfoWindowConcurrentActivity.class);
private Activity mActivity = null;
@Before
public void setActivity() {
mActivity = mActivityRule.getActivity();
}
@Test
public void testSanity() {
checkViewIsDisplayed(R.id.infoWindowConcurrentMapView);
}
}