From ecbd7ea76988588e187bdcc6b9f1e5f1b9ff8b5b Mon Sep 17 00:00:00 2001 From: youtaol Date: Mon, 27 May 2013 11:02:02 +0800 Subject: [PATCH] Add checks in testShareActivity_withDrive about the share result in the destination account. --- .../endtoendtest/common/MenuItemsTest.java | 44 ++++++++++++++++++- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/MenuItemsTest.java b/MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/MenuItemsTest.java index 298f70448..db8842dc8 100644 --- a/MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/MenuItemsTest.java +++ b/MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/MenuItemsTest.java @@ -18,7 +18,10 @@ package com.google.android.apps.mytracks.endtoendtest.common; import com.google.android.apps.mytracks.TrackListActivity; import com.google.android.apps.mytracks.endtoendtest.EndToEndTestUtils; import com.google.android.apps.mytracks.endtoendtest.GoogleUtils; +import com.google.android.apps.mytracks.endtoendtest.sync.SyncTestUtils; +import com.google.android.gms.auth.GoogleAuthException; import com.google.android.maps.mytracks.R; +import com.google.api.services.drive.Drive; import android.app.Instrumentation; import android.content.Intent; @@ -26,6 +29,7 @@ import android.test.ActivityInstrumentationTestCase2; import android.view.KeyEvent; import android.view.View; +import java.io.IOException; import java.util.ArrayList; /** @@ -113,9 +117,25 @@ public class MenuItemsTest extends ActivityInstrumentationTestCase2