|
|
|
@ -19,40 +19,41 @@ package org.xbmc.kore.testhelpers;
|
|
|
|
|
import android.app.Activity;
|
|
|
|
|
import android.content.pm.ActivityInfo;
|
|
|
|
|
import android.content.res.Configuration;
|
|
|
|
|
import android.support.test.espresso.Espresso;
|
|
|
|
|
import android.support.test.espresso.NoMatchingViewException;
|
|
|
|
|
import android.support.test.espresso.UiController;
|
|
|
|
|
import android.support.test.espresso.ViewAction;
|
|
|
|
|
import android.support.test.espresso.ViewInteraction;
|
|
|
|
|
import android.support.test.espresso.contrib.RecyclerViewActions;
|
|
|
|
|
import android.view.View;
|
|
|
|
|
import android.widget.AutoCompleteTextView;
|
|
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
|
|
|
|
import androidx.test.espresso.Espresso;
|
|
|
|
|
import androidx.test.espresso.NoMatchingViewException;
|
|
|
|
|
import androidx.test.espresso.UiController;
|
|
|
|
|
import androidx.test.espresso.ViewAction;
|
|
|
|
|
import androidx.test.espresso.ViewInteraction;
|
|
|
|
|
import androidx.test.espresso.contrib.RecyclerViewActions;
|
|
|
|
|
|
|
|
|
|
import com.sothree.slidinguppanel.SlidingUpPanelLayout;
|
|
|
|
|
|
|
|
|
|
import org.hamcrest.Matcher;
|
|
|
|
|
import org.xbmc.kore.R;
|
|
|
|
|
import org.xbmc.kore.testhelpers.action.ViewActions;
|
|
|
|
|
|
|
|
|
|
import static android.support.test.espresso.Espresso.onData;
|
|
|
|
|
import static android.support.test.espresso.Espresso.onView;
|
|
|
|
|
import static android.support.test.espresso.Espresso.openActionBarOverflowOrOptionsMenu;
|
|
|
|
|
import static android.support.test.espresso.Espresso.pressBack;
|
|
|
|
|
import static android.support.test.espresso.action.ViewActions.clearText;
|
|
|
|
|
import static android.support.test.espresso.action.ViewActions.click;
|
|
|
|
|
import static android.support.test.espresso.action.ViewActions.closeSoftKeyboard;
|
|
|
|
|
import static android.support.test.espresso.action.ViewActions.typeText;
|
|
|
|
|
import static android.support.test.espresso.assertion.ViewAssertions.doesNotExist;
|
|
|
|
|
import static android.support.test.espresso.assertion.ViewAssertions.matches;
|
|
|
|
|
import static android.support.test.espresso.matcher.ViewMatchers.hasDescendant;
|
|
|
|
|
import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
|
|
|
|
|
import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
|
|
|
|
|
import static android.support.test.espresso.matcher.ViewMatchers.isRoot;
|
|
|
|
|
import static android.support.test.espresso.matcher.ViewMatchers.withContentDescription;
|
|
|
|
|
import static android.support.test.espresso.matcher.ViewMatchers.withId;
|
|
|
|
|
import static android.support.test.espresso.matcher.ViewMatchers.withParent;
|
|
|
|
|
import static android.support.test.espresso.matcher.ViewMatchers.withText;
|
|
|
|
|
import static androidx.test.espresso.Espresso.onData;
|
|
|
|
|
import static androidx.test.espresso.Espresso.onView;
|
|
|
|
|
import static androidx.test.espresso.Espresso.openActionBarOverflowOrOptionsMenu;
|
|
|
|
|
import static androidx.test.espresso.Espresso.pressBack;
|
|
|
|
|
import static androidx.test.espresso.action.ViewActions.clearText;
|
|
|
|
|
import static androidx.test.espresso.action.ViewActions.click;
|
|
|
|
|
import static androidx.test.espresso.action.ViewActions.closeSoftKeyboard;
|
|
|
|
|
import static androidx.test.espresso.action.ViewActions.typeText;
|
|
|
|
|
import static androidx.test.espresso.assertion.ViewAssertions.doesNotExist;
|
|
|
|
|
import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
|
|
|
|
import static androidx.test.espresso.matcher.ViewMatchers.hasDescendant;
|
|
|
|
|
import static androidx.test.espresso.matcher.ViewMatchers.isAssignableFrom;
|
|
|
|
|
import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
|
|
|
|
|
import static androidx.test.espresso.matcher.ViewMatchers.isRoot;
|
|
|
|
|
import static androidx.test.espresso.matcher.ViewMatchers.withContentDescription;
|
|
|
|
|
import static androidx.test.espresso.matcher.ViewMatchers.withId;
|
|
|
|
|
import static androidx.test.espresso.matcher.ViewMatchers.withParent;
|
|
|
|
|
import static androidx.test.espresso.matcher.ViewMatchers.withText;
|
|
|
|
|
import static org.hamcrest.CoreMatchers.anything;
|
|
|
|
|
import static org.hamcrest.Matchers.allOf;
|
|
|
|
|
import static org.hamcrest.Matchers.containsString;
|
|
|
|
|