Fix usage of obsolete junit.framework.Assert method
This commit is contained in:
parent
41cdeec30c
commit
943a5a7aff
@ -34,9 +34,9 @@ import static androidx.test.espresso.matcher.ViewMatchers.withText;
|
|||||||
import static de.test.antennapod.EspressoTestUtils.clickPreference;
|
import static de.test.antennapod.EspressoTestUtils.clickPreference;
|
||||||
import static de.test.antennapod.EspressoTestUtils.openNavDrawer;
|
import static de.test.antennapod.EspressoTestUtils.openNavDrawer;
|
||||||
import static de.test.antennapod.EspressoTestUtils.waitForView;
|
import static de.test.antennapod.EspressoTestUtils.waitForView;
|
||||||
import static junit.framework.TestCase.assertTrue;
|
|
||||||
import static org.hamcrest.Matchers.allOf;
|
import static org.hamcrest.Matchers.allOf;
|
||||||
import static org.junit.Assert.assertThat;
|
import static org.junit.Assert.assertThat;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* User interface tests for MainActivity
|
* User interface tests for MainActivity
|
||||||
|
@ -42,9 +42,9 @@ import static androidx.test.espresso.matcher.ViewMatchers.withText;
|
|||||||
import static de.test.antennapod.EspressoTestUtils.onDrawerItem;
|
import static de.test.antennapod.EspressoTestUtils.onDrawerItem;
|
||||||
import static de.test.antennapod.EspressoTestUtils.waitForView;
|
import static de.test.antennapod.EspressoTestUtils.waitForView;
|
||||||
import static de.test.antennapod.NthMatcher.first;
|
import static de.test.antennapod.NthMatcher.first;
|
||||||
import static junit.framework.TestCase.assertTrue;
|
|
||||||
import static org.hamcrest.Matchers.allOf;
|
import static org.hamcrest.Matchers.allOf;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* User interface tests for MainActivity drawer.
|
* User interface tests for MainActivity drawer.
|
||||||
|
@ -43,9 +43,9 @@ import static androidx.test.espresso.matcher.ViewMatchers.withText;
|
|||||||
import static de.test.antennapod.EspressoTestUtils.clickPreference;
|
import static de.test.antennapod.EspressoTestUtils.clickPreference;
|
||||||
import static de.test.antennapod.EspressoTestUtils.waitForView;
|
import static de.test.antennapod.EspressoTestUtils.waitForView;
|
||||||
import static java.util.concurrent.TimeUnit.MILLISECONDS;
|
import static java.util.concurrent.TimeUnit.MILLISECONDS;
|
||||||
import static junit.framework.TestCase.assertTrue;
|
|
||||||
import static org.hamcrest.Matchers.endsWith;
|
import static org.hamcrest.Matchers.endsWith;
|
||||||
import static org.hamcrest.Matchers.not;
|
import static org.hamcrest.Matchers.not;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
@LargeTest
|
@LargeTest
|
||||||
public class PreferencesTest {
|
public class PreferencesTest {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user