My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1308: [CTS Fail] "android.telephony.cts.PhoneNumberUtilsTest" is always fail at KT.
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Mar 2012


Sign in to add a comment
 
Reported by jini7...@gmail.com, Mar 27, 2012
There is always CTS-FAIL problems at PhoneNumberUtilsTest in new CTS Version in case of KT.
But, there is always CTS-SUCCESS in old versions.
 
   Here is your old version.
       assertFalse(PhoneNumberUtils.isWellFormedSmsAddress("android"));
   
   but you add code in new version as below 
        // KT allow a to be a dialable character, the network portion of 'android' is 'a'
        if (TelephonyUtils.isKt(tm)) {
            assertTrue(PhoneNumberUtils.isWellFormedSmsAddress("android"));
        } else {
            assertFalse(PhoneNumberUtils.isWellFormedSmsAddress("android"));
        }

why did you add this code?
PhoneNumberUtils.isWellFormedSmsAddress() returns true when allow to be a dialable character that means numeral(0~9), +, # and *. also it returns FALSE except for that.
but in code you add, that is, in case of PhoneNumberUtils.isWellFormedSmsAddress("android"), it returns always FALSE because "android" is not character to be able to be dialed. 
so, "android.telephony.cts.PhoneNumberUtilsTest" is always fail at KT. 

Thanks you.
Mar 27, 2012
#1 sop@google.com
Wrong project. Android bugs should be filed at code.google.com/p/android/
Status: Invalid
Mar 27, 2012
#2 jini7...@gmail.com
I submit this issue at code.google.com/p/android/
thank you.
Sign in to add a comment

Powered by Google Project Hosting