logsui/logsapp/tsrc/ut_logsapp/src/ut_logscomponentrepository.cpp
changeset 16 c5af8598d22c
parent 11 64a47b97e1e1
child 17 90fe74753f71
equal deleted inserted replaced
14:f27aebe284bb 16:c5af8598d22c
   125 {
   125 {
   126     //Unknow viewId, section is not loaded
   126     //Unknow viewId, section is not loaded
   127     QVERIFY( !mRepository->loadSection(LogsUnknownViewId, "default") );
   127     QVERIFY( !mRepository->loadSection(LogsUnknownViewId, "default") );
   128     
   128     
   129     //loading of non-existing section
   129     //loading of non-existing section
   130     QVERIFY( mRepository->loadSection(LogsDetailsViewId, "dummy") );
   130     QVERIFY( !mRepository->loadSection(LogsDetailsViewId, "dummy") );
   131 
   131 
   132     //loading of existing section is ok
   132     //loading of existing section is ok
   133     mRepository->matchesView();
   133     mRepository->matchesView();
   134     QVERIFY( mRepository->loadSection(LogsMatchesViewId, "default") );    
   134     QVERIFY( mRepository->loadSection(LogsMatchesViewId, "default") );    
   135     mRepository->recentCallsView();
   135     mRepository->recentCallsView();