|
5 | 5 | import android.app.Instrumentation;
|
6 | 6 | import android.content.Intent;
|
7 | 7 | import android.net.Uri;
|
8 |
| -import android.support.test.InstrumentationRegistry; |
9 |
| -import android.support.test.espresso.Espresso; |
10 |
| -import android.support.test.espresso.intent.rule.IntentsTestRule; |
11 |
| -import android.support.test.filters.LargeTest; |
12 |
| -import android.support.test.rule.GrantPermissionRule; |
13 |
| -import android.support.test.runner.AndroidJUnit4; |
14 |
| -import android.support.test.uiautomator.UiDevice; |
15 | 8 | import android.widget.Button;
|
16 | 9 | import android.widget.EditText;
|
17 | 10 | import android.widget.Spinner;
|
| 11 | + |
| 12 | +import androidx.test.InstrumentationRegistry; |
| 13 | +import androidx.test.espresso.Espresso; |
| 14 | +import androidx.test.espresso.intent.rule.IntentsTestRule; |
| 15 | +import androidx.test.filters.LargeTest; |
| 16 | +import androidx.test.rule.GrantPermissionRule; |
| 17 | +import androidx.test.uiautomator.UiDevice; |
| 18 | + |
18 | 19 | import org.junit.After;
|
19 | 20 | import org.junit.Before;
|
20 | 21 | import org.junit.ClassRule;
|
21 | 22 | import org.junit.Rule;
|
22 | 23 | import org.junit.Test;
|
23 | 24 | import org.junit.rules.RuleChain;
|
24 | 25 | import org.junit.rules.TestRule;
|
25 |
| -import org.junit.runner.RunWith; |
26 | 26 | import org.opendatakit.tables.R;
|
27 | 27 | import org.opendatakit.tables.activities.MainActivity;
|
28 | 28 | import org.opendatakit.tables.utils.TableFileUtils;
|
|
35 | 35 | import java.io.File;
|
36 | 36 | import java.io.FilenameFilter;
|
37 | 37 |
|
38 |
| -import static android.support.test.espresso.Espresso.onData; |
39 |
| -import static android.support.test.espresso.Espresso.onView; |
40 |
| -import static android.support.test.espresso.action.ViewActions.click; |
41 |
| -import static android.support.test.espresso.action.ViewActions.typeText; |
42 |
| -import static android.support.test.espresso.assertion.ViewAssertions.matches; |
43 |
| -import static android.support.test.espresso.intent.Intents.intending; |
44 |
| -import static android.support.test.espresso.intent.matcher.IntentMatchers.hasAction; |
45 |
| -import static android.support.test.espresso.matcher.RootMatchers.isPlatformPopup; |
46 |
| -import static android.support.test.espresso.matcher.ViewMatchers.assertThat; |
47 |
| -import static android.support.test.espresso.matcher.ViewMatchers.isCompletelyDisplayed; |
48 |
| -import static android.support.test.espresso.matcher.ViewMatchers.withClassName; |
49 |
| -import static android.support.test.espresso.matcher.ViewMatchers.withId; |
50 |
| -import static android.support.test.espresso.matcher.ViewMatchers.withText; |
| 38 | +import static androidx.test.espresso.Espresso.onData; |
| 39 | +import static androidx.test.espresso.Espresso.onView; |
| 40 | +import static androidx.test.espresso.action.ViewActions.click; |
| 41 | +import static androidx.test.espresso.action.ViewActions.typeText; |
| 42 | +import static androidx.test.espresso.assertion.ViewAssertions.matches; |
| 43 | +import static androidx.test.espresso.intent.Intents.intending; |
| 44 | +import static androidx.test.espresso.intent.matcher.IntentMatchers.hasAction; |
| 45 | +import static androidx.test.espresso.matcher.RootMatchers.isPlatformPopup; |
| 46 | +import static androidx.test.espresso.matcher.ViewMatchers.assertThat; |
| 47 | +import static androidx.test.espresso.matcher.ViewMatchers.isCompletelyDisplayed; |
| 48 | +import static androidx.test.espresso.matcher.ViewMatchers.withClassName; |
| 49 | +import static androidx.test.espresso.matcher.ViewMatchers.withId; |
| 50 | +import static androidx.test.espresso.matcher.ViewMatchers.withText; |
51 | 51 | import static org.hamcrest.Matchers.endsWith;
|
52 | 52 | import static org.hamcrest.Matchers.equalTo;
|
53 | 53 | import static org.hamcrest.Matchers.is;
|
|
56 | 56 | import static org.opendatakit.util.TestConstants.T_HOUSE_DISPLAY_NAME;
|
57 | 57 | import static org.opendatakit.util.TestConstants.T_HOUSE_TABLE_ID;
|
58 | 58 |
|
59 |
| -@RunWith(AndroidJUnit4.class) |
| 59 | + |
60 | 60 | @LargeTest
|
61 | 61 | public class CsvTest {
|
62 | 62 | @ClassRule
|
|
0 commit comments