plugins/contacts/symbian/plugin/tsrc/ut_symbian/ut_cntfiltering.cpp
changeset 5 603d3f8b6302
parent 0 876b1a06bc25
equal deleted inserted replaced
3:e4ebb16b39ea 5:603d3f8b6302
   241     createContact_5();
   241     createContact_5();
   242     createContact_6();
   242     createContact_6();
   243     createContact_7();
   243     createContact_7();
   244     createContact_8();
   244     createContact_8();
   245     createContact_9();
   245     createContact_9();
   246     // Empty contact
       
   247     //QContact empty;
       
   248     //mCntMng->saveContact(&empty);
       
   249     
   246     
   250     QContactManager::Error err;
   247     QContactManager::Error err;
   251     QList<QContactLocalId> cnt_ids = m_engine->contactIds(QContactFilter(),QList<QContactSortOrder>(), &err);
   248     QList<QContactLocalId> cnt_ids = m_engine->contactIds(QContactFilter(),QList<QContactSortOrder>(), &err);
   252     int j = cnt_ids.count();
   249     int j = cnt_ids.count();
   253     // 7contacts created in code, so check if all 5 were created
       
   254     QVERIFY(9 == j);
   250     QVERIFY(9 == j);
   255     
       
   256 }
   251 }
   257 
   252 
   258 
   253 
   259 void TestFiltering::createContact_1()
   254 void TestFiltering::createContact_1()
   260 {
   255 {