Exemple #1
0
  @Test
  public void testDisabled() {
    ViewUtils.checkViewIsDisplayed(R.id.mapView);
    MapboxMap mapboxMap = rule.getActivity().getMapboxMap();

    onView(withId(R.id.logoView))
        .perform(new DisableAction(mapboxMap))
        .check(matches(not(isDisplayed())));
  }
Exemple #2
0
 @Test
 public void testDefault() {
   ViewUtils.checkViewIsDisplayed(R.id.mapView);
   onView(withId(R.id.logoView)).check(matches(isDisplayed()));
 }