equal
deleted
inserted
replaced
624 |
624 |
625 mEntry->setFirstName( QString("Alice 028") ); |
625 mEntry->setFirstName( QString("Alice 028") ); |
626 mEntry->setLastName( QString( "Ming" ) ); |
626 mEntry->setLastName( QString( "Ming" ) ); |
627 QVERIFY( mEntry->match( PATTERN( "02806" ) ) ); |
627 QVERIFY( mEntry->match( PATTERN( "02806" ) ) ); |
628 QVERIFY( mEntry->match( PATTERN( "0280" ) ) );//not supported |
628 QVERIFY( mEntry->match( PATTERN( "0280" ) ) );//not supported |
|
629 |
|
630 mEntry->setFirstName( QString("Ali") + QString( QChar(3) ) + QString("ce") ); |
|
631 QVERIFY( mEntry->match( PATTERN( "2" ) ) );//A |
|
632 QVERIFY( mEntry->match( PATTERN( "254" ) ) );//Ali |
|
633 QVERIFY( !mEntry->match( PATTERN( "25423" ) ) );//Alice |
629 |
634 |
630 mEntry->mType = LogsCntEntry::EntryTypeContact; |
635 mEntry->mType = LogsCntEntry::EntryTypeContact; |
631 QVERIFY( !mEntry->match( PATTERN( "+202" ) ) ); |
636 QVERIFY( !mEntry->match( PATTERN( "+202" ) ) ); |
632 |
637 |
633 mEntry->setFirstName( QString( "0J0hn" ) ); |
638 mEntry->setFirstName( QString( "0J0hn" ) ); |