From e38e9ab6195950d2083efde283788b91d03354c4 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 28 May 2014 17:47:33 -0700 Subject: Fix broken Dialer tests Remove unneeded use of resources Instantiate CallLogListItemViews correctly Add dummy number to SmartDialPrefixTests Change-Id: I417f54329f43d53e24c4ab6cc65d08d05b5dd6a1 --- tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java') diff --git a/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java b/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java index 30fd0e2a7..679335e57 100644 --- a/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java +++ b/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java @@ -112,8 +112,6 @@ public class PhoneCallDetailsHelperTest extends AndroidTestCase { setPhoneCallDetailsWithNumber("14125551212", Calls.PRESENTATION_ALLOWED, "1-412-555-1212"); assertTrue(mViews.callLocationAndDate.getText().toString().contains("Yesterday")); - assertTrue(mViews.callLocationAndDate.getText().toString().contains( - "Yesterday")); } /** Asserts that a char sequence is actually a Spanned corresponding to the expected HTML. */ -- cgit v1.2.3