799 |
799 |
800 ResetDatabaseL(); |
800 ResetDatabaseL(); |
801 CreateContactL(KCntName,KCntSurname,_L("584443049607"),KNullDesC); |
801 CreateContactL(KCntName,KCntSurname,_L("584443049607"),KNullDesC); |
802 TESTVALUE(CheckPhoneMatchL(_L("4443049607"), KBestMatchingPhoneNumbers),1); |
802 TESTVALUE(CheckPhoneMatchL(_L("4443049607"), KBestMatchingPhoneNumbers),1); |
803 |
803 |
|
804 ResetDatabaseL(); |
804 CreateContactL(KCntName,KCntSurname,_L("401234567"),KNullDesC); |
805 CreateContactL(KCntName,KCntSurname,_L("401234567"),KNullDesC); |
805 TESTVALUE(CheckPhoneMatchL(_L("2041234567"), KBestMatchingPhoneNumbers),0); |
806 TESTVALUE(CheckPhoneMatchL(_L("2041234567"), KBestMatchingPhoneNumbers),0); |
|
807 |
|
808 ResetDatabaseL(); |
|
809 CreateContactL(KCntName,KCntSurname,_L("0401234567"),KNullDesC); |
|
810 CreateContactL(KCntName,KCntSurname,_L("0501234567"),KNullDesC); |
|
811 TESTVALUE(CheckPhoneMatchL(_L("0401234567"), KBestMatchingPhoneNumbers),1); |
|
812 |
|
813 ResetDatabaseL(); |
|
814 CreateContactL(KCntName,KCntSurname,_L("020421234567"),KNullDesC); |
|
815 CreateContactL(KCntName,KCntSurname,_L("005021234567"),KNullDesC); |
|
816 TESTVALUE(CheckPhoneMatchL(_L("020421234567"), KBestMatchingPhoneNumbers),1); |
806 |
817 |
807 } |
818 } |
808 |
819 |
809 /** |
820 /** |
810 |
821 |