summaryrefslogtreecommitdiffstats
path: root/telephony/tests/telephonytests
diff options
context:
space:
mode:
authorXia Wang <xiaw@google.com>2010-07-08 19:09:28 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-07-08 19:09:28 -0700
commiteff55802b56e94c9c957dafcfdbccbe2ec888214 (patch)
tree32006d02af889d817eb1a50b990007c67b099300 /telephony/tests/telephonytests
parent9df613a7dfaf1fa08f9d7c97591cd8f6c33c15cc (diff)
parentf3bfd841019b404f98a67fc307240031790344c9 (diff)
downloadframeworks_base-eff55802b56e94c9c957dafcfdbccbe2ec888214.zip
frameworks_base-eff55802b56e94c9c957dafcfdbccbe2ec888214.tar.gz
frameworks_base-eff55802b56e94c9c957dafcfdbccbe2ec888214.tar.bz2
am f3bfd841: am 98738272: Merge "Remove voice mail number verification for testing on no-sim device" into gingerbread
Merge commit 'f3bfd841019b404f98a67fc307240031790344c9' * commit 'f3bfd841019b404f98a67fc307240031790344c9': Remove voice mail number verification for testing on no-sim device
Diffstat (limited to 'telephony/tests/telephonytests')
-rw-r--r--telephony/tests/telephonytests/src/com/android/internal/telephony/PhoneNumberUtilsTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/telephony/tests/telephonytests/src/com/android/internal/telephony/PhoneNumberUtilsTest.java b/telephony/tests/telephonytests/src/com/android/internal/telephony/PhoneNumberUtilsTest.java
index a74c5c2..de59b81 100644
--- a/telephony/tests/telephonytests/src/com/android/internal/telephony/PhoneNumberUtilsTest.java
+++ b/telephony/tests/telephonytests/src/com/android/internal/telephony/PhoneNumberUtilsTest.java
@@ -496,9 +496,11 @@ public class PhoneNumberUtilsTest extends AndroidTestCase {
assertFalse(PhoneNumberUtils.isVoiceMailNumber("+18001234567"));
assertFalse(PhoneNumberUtils.isVoiceMailNumber(""));
assertFalse(PhoneNumberUtils.isVoiceMailNumber(null));
- TelephonyManager mTelephonyManager =
+ // This test fails on a device without a sim card
+ /*TelephonyManager mTelephonyManager =
(TelephonyManager)getContext().getSystemService(Context.TELEPHONY_SERVICE);
String mVoiceMailNumber = mTelephonyManager.getDefault().getVoiceMailNumber();
assertTrue(PhoneNumberUtils.isVoiceMailNumber(mVoiceMailNumber));
+ */
}
}