Disable PeopleActivityTest
This test is pretty outdated.
Bug 5193806
Change-Id: I40a72ed73d577c5e441a93fba32bf3647bbfbc0e
diff --git a/tests/src/com/android/contacts/activities/PeopleActivityTest.java b/tests/src/com/android/contacts/activities/PeopleActivityTest.java
index fe6d60a..f419842 100644
--- a/tests/src/com/android/contacts/activities/PeopleActivityTest.java
+++ b/tests/src/com/android/contacts/activities/PeopleActivityTest.java
@@ -52,6 +52,8 @@
import android.widget.TextView;
/**
+ * This test is so outdated that it's disabled temporarily. TODO Update the test and re-enable it.
+ *
* Tests for {@link PeopleActivity}.
*
* Running all tests:
@@ -60,6 +62,7 @@
* or
* adb shell am instrument \
* -w com.android.contacts.tests/android.test.InstrumentationTestRunner
+ *
*/
@Smoke
public class PeopleActivityTest
@@ -109,6 +112,11 @@
}
public void testSingleAccountNoGroups() {
+
+ if (true) { // Need this to avoid "unreachable statement"
+ return; // Disabled for now.
+ }
+
// This two-pane UI test only makes sense if we run with two panes.
// Let's ignore this in the single pane case
if (!PhoneCapabilityTester.isUsingTwoPanes(mContext)) return;