forked from upstream-mirrors/OpenTracks
merge conflicts, update ids
This commit is contained in:
@@ -114,7 +114,7 @@ public class DeleteTest extends ActivityInstrumentationTestCase2<TrackListActivi
|
||||
EndToEndTestUtils
|
||||
.getButtonOnScreen(activityMyTracks.getString(R.string.generic_ok), true, true);
|
||||
instrumentation.waitForIdleSync();
|
||||
assertFalse(EndToEndTestUtils.SOLO.getCurrentActivity().findViewById(R.id.track_list_stop_recording_button).isEnabled());
|
||||
assertFalse(EndToEndTestUtils.SOLO.getCurrentActivity().findViewById(R.id.track_controller_stop).isEnabled());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-5
@@ -383,7 +383,7 @@ public class EndToEndTestUtils {
|
||||
* Starts recoding track.
|
||||
*/
|
||||
static void startRecording() {
|
||||
View startButton = SOLO.getCurrentActivity().findViewById(R.id.track_list_record_track_button);
|
||||
View startButton = SOLO.getCurrentActivity().findViewById(R.id.track_controller_record);
|
||||
if(startButton != null && startButton.isShown()) {
|
||||
SOLO.clickOnView(startButton);
|
||||
} else if (hasActionBar) {
|
||||
@@ -416,7 +416,7 @@ public class EndToEndTestUtils {
|
||||
* Pauses recoding track.
|
||||
*/
|
||||
static void pauseRecording() {
|
||||
View pauseButton = SOLO.getCurrentActivity().findViewById(R.id.track_list_record_track_button);
|
||||
View pauseButton = SOLO.getCurrentActivity().findViewById(R.id.track_controller_record);
|
||||
if(pauseButton != null && pauseButton.isShown()) {
|
||||
SOLO.clickOnView(pauseButton);
|
||||
} else if (hasActionBar) {
|
||||
@@ -434,7 +434,7 @@ public class EndToEndTestUtils {
|
||||
* Resume recoding track.
|
||||
*/
|
||||
static void resumeRecording() {
|
||||
View startButton = SOLO.getCurrentActivity().findViewById(R.id.track_list_record_track_button);
|
||||
View startButton = SOLO.getCurrentActivity().findViewById(R.id.track_controller_record);
|
||||
if(startButton != null && startButton.isShown()) {
|
||||
SOLO.clickOnView(startButton);
|
||||
} else if (hasActionBar) {
|
||||
@@ -454,7 +454,7 @@ public class EndToEndTestUtils {
|
||||
* @return true if it is under recording.
|
||||
*/
|
||||
static boolean isUnderRecording() {
|
||||
View startButton = SOLO.getCurrentActivity().findViewById(R.id.track_list_record_track_button);
|
||||
View startButton = SOLO.getCurrentActivity().findViewById(R.id.track_controller_record);
|
||||
if(startButton != null && startButton.isShown()) {
|
||||
return false;
|
||||
}
|
||||
@@ -479,7 +479,7 @@ public class EndToEndTestUtils {
|
||||
* @param isSave true means should save this track
|
||||
*/
|
||||
static void stopRecording(boolean isSave) {
|
||||
View stopButton = SOLO.getCurrentActivity().findViewById(R.id.track_list_stop_recording_button);
|
||||
View stopButton = SOLO.getCurrentActivity().findViewById(R.id.track_controller_stop);
|
||||
if(stopButton != null && stopButton.isShown() ) {
|
||||
SOLO.clickOnView(stopButton);
|
||||
} else if (hasActionBar) {
|
||||
|
||||
Reference in New Issue
Block a user