forked from upstream-mirrors/OpenTracks
Merge heads
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ import junit.framework.Assert;
|
||||
* @author Youtao Liu
|
||||
*/
|
||||
public class EndToEndTestUtils {
|
||||
public static int emulatorPort = 5556;
|
||||
public static int emulatorPort = 5554;
|
||||
// usually 5554.
|
||||
private static final int ORIENTATION_PORTRAIT = 1;
|
||||
private static final int ORIENTATION_LANDSCAPE = 0;
|
||||
|
||||
+2
-2
@@ -43,7 +43,7 @@ public class ExportAllAndImportAllTest extends ActivityInstrumentationTestCase2<
|
||||
|
||||
private final static String tracksName = "testTrackName1373523959524";
|
||||
private final static String maxAltitude = "33.3";
|
||||
private final static String minAltitude = "33.3";
|
||||
private final static String minAltitude = "22.2";
|
||||
|
||||
public ExportAllAndImportAllTest() {
|
||||
super(TrackListActivity.class);
|
||||
@@ -54,7 +54,7 @@ public class ExportAllAndImportAllTest extends ActivityInstrumentationTestCase2<
|
||||
super.setUp();
|
||||
instrumentation = getInstrumentation();
|
||||
activityMyTracks = getActivity();
|
||||
EndToEndTestUtils.setupForDebug(instrumentation, activityMyTracks);
|
||||
EndToEndTestUtils.setupForAllTest(instrumentation, activityMyTracks);
|
||||
trackNumber = EndToEndTestUtils.SOLO.getCurrentViews(ListView.class).get(0).getCount();
|
||||
EndToEndTestUtils.createTrackIfEmpty(1, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user