--- a/logsui/logscntfinder/tsrc/ut_logscntfinder/src/ut_logscntentry.cpp Thu Jun 24 14:44:14 2010 +0300
+++ b/logsui/logscntfinder/tsrc/ut_logscntfinder/src/ut_logscntentry.cpp Thu Jul 08 11:31:03 2010 +0300
@@ -626,6 +626,11 @@
mEntry->setLastName( QString( "Ming" ) );
QVERIFY( mEntry->match( PATTERN( "02806" ) ) );
QVERIFY( mEntry->match( PATTERN( "0280" ) ) );//not supported
+
+ mEntry->setFirstName( QString("Ali") + QString( QChar(3) ) + QString("ce") );
+ QVERIFY( mEntry->match( PATTERN( "2" ) ) );//A
+ QVERIFY( mEntry->match( PATTERN( "254" ) ) );//Ali
+ QVERIFY( !mEntry->match( PATTERN( "25423" ) ) );//Alice
mEntry->mType = LogsCntEntry::EntryTypeContact;
QVERIFY( !mEntry->match( PATTERN( "+202" ) ) );