package de.eightbitboy.hijacr.activities;

import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.LargeTest;

import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;

import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.assertion.ViewAssertions.matches;
import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
import static android.support.test.espresso.matcher.ViewMatchers.withText;

@RunWith(AndroidJUnit4.class)
@LargeTest
public class MainActivityTest {

	@Rule
	public ActivityTestRule<MainActivity> mActivityRule = new ActivityTestRule(MainActivity.class);

	/*
	@Test
	public void pagerIsVisible() {
		onView(withText("LIST")).check(matches(isDisplayed()));
		onView(withText("VIEWER")).check(matches(isDisplayed()));
	}
	*/
}

@@ -564,16 +564,89 @@
 ithText;
+%0Aimport static org.hamcrest.text.IsEqualIgnoringCase.equalToIgnoringCase;
 %0A%0A@RunWi
@@ -822,12 +822,9 @@
 );%0A%0A
-%09/*
 %0A
+
 %09@Te
@@ -880,14 +880,36 @@
 ext(
+equalToIgnoringCase(
 %22LIST
-%22
+e%22)
 )).c
@@ -956,16 +956,36 @@
 ithText(
+equalToIgnoringCase(
 %22VIEWER%22
@@ -986,16 +986,17 @@
 IEWER%22))
+)
 .check(m
@@ -1026,10 +1026,6 @@
 %0A%09%7D%0A
-%09*/%0A
 %7D%0A

Fix test