Split the CreateAndSendTrackTest to two files. Add a test case to test the send same track(the activity string of this track contains special character) to Google twice.

This commit is contained in:
youtaol
2012-11-07 15:26:54 +08:00
parent 6d2a642bc2
commit 7decb2fab0
7 changed files with 223 additions and 97 deletions
@@ -85,7 +85,7 @@ public class MenuItemsTest extends ActivityInstrumentationTestCase2<TrackListAct
* Tests search menu item.
*/
public void testSearch() {
EndToEndTestUtils.createSimpleTrack(1);
EndToEndTestUtils.createSimpleTrack(0, true);
EndToEndTestUtils.SOLO.goBack();
EndToEndTestUtils.findMenuItem(activityMyTracks.getString(R.string.menu_search), true);
EndToEndTestUtils.enterTextAvoidSoftKeyBoard(0, EndToEndTestUtils.trackName);