diff options
author | Yorke Lee <yorkelee@google.com> | 2015-02-27 18:13:10 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-02-27 18:13:10 -0800 |
commit | c88bdc76bf419808c2e07b69b5b0f2974100ddad (patch) | |
tree | cc603c820d9efe05d9b995e812833d39ad4b166e /tests/src | |
parent | d3e8449f22ed0604509e6bab94aa5ba6781f87d6 (diff) |
Fix some Dialer tests
Change-Id: I46188070997ebc9b69f7d9b5a8ba9cb3c221b743
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java | 2 | ||||
-rw-r--r-- | tests/src/com/android/dialer/util/TestConstants.java | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java b/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java index 7ae2c2293..df4247b8e 100644 --- a/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java +++ b/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java @@ -239,7 +239,7 @@ public class PhoneCallDetailsHelperTest extends AndroidTestCase { public void testSetCallDetailsHeader_PayphoneNumber() { setCallDetailsHeaderWithNumber("", Calls.PRESENTATION_PAYPHONE); assertEquals(View.VISIBLE, mNameView.getVisibility()); - assertEquals("Pay phone", mNameView.getText().toString()); + assertEquals("Payphone", mNameView.getText().toString()); } public void testSetCallDetailsHeader_VoicemailNumber() { diff --git a/tests/src/com/android/dialer/util/TestConstants.java b/tests/src/com/android/dialer/util/TestConstants.java index 780626a27..ff4a2faad 100644 --- a/tests/src/com/android/dialer/util/TestConstants.java +++ b/tests/src/com/android/dialer/util/TestConstants.java @@ -1,7 +1,5 @@ package com.android.dialer.util; -import android.content.Intent; - public class TestConstants { - public static final String CALL_INTENT_ACTION = Intent.ACTION_CALL; + public static final String CALL_INTENT_ACTION = PrivilegedCallUtil.CALL_ACTION; } |