diff --git a/MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/GoToMyLocationTest.java b/MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/MyLocationTest.java similarity index 62% rename from MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/GoToMyLocationTest.java rename to MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/MyLocationTest.java index ac3080705..078e01047 100644 --- a/MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/GoToMyLocationTest.java +++ b/MyTracksTest_E2E/src/com/google/android/apps/mytracks/endtoendtest/common/MyLocationTest.java @@ -13,27 +13,29 @@ * License for the specific language governing permissions and limitations under * the License. */ + 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.util.GoogleLocationUtils; +import com.google.android.maps.mytracks.R; import android.app.Instrumentation; import android.test.ActivityInstrumentationTestCase2; - +import android.view.View; /** - * Tests the function of go to my location. + * Tests the my location button. * * @author Youtao Liu */ -public class GoToMyLocationTest extends ActivityInstrumentationTestCase2 { +public class MyLocationTest extends ActivityInstrumentationTestCase2 { private Instrumentation instrumentation; - private TrackListActivity activityMyTracks; + private TrackListActivity trackListActivity; - public GoToMyLocationTest() { + public MyLocationTest() { super(TrackListActivity.class); } @@ -41,28 +43,33 @@ public class GoToMyLocationTest extends ActivityInstrumentationTestCase2