camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxestillimagesymbian/unittest_cxestillimagesymbian.cpp
changeset 43 0e652f8f1fbd
parent 19 d9aefe59d544
equal deleted inserted replaced
28:3075d9b614e6 43:0e652f8f1fbd
   116 {
   116 {
   117     CX_DEBUG_ENTER_FUNCTION();
   117     CX_DEBUG_ENTER_FUNCTION();
   118     QVERIFY(!mCxeStillImageSymbian->dataItem());
   118     QVERIFY(!mCxeStillImageSymbian->dataItem());
   119     QByteArray data("124343423423456e74576");
   119     QByteArray data("124343423423456e74576");
   120     QString path = "\\Images\\Camera\\blaah.jpg";
   120     QString path = "\\Images\\Camera\\blaah.jpg";
   121     CxeImageDataItemSymbian* dataItem = new CxeImageDataItemSymbian(data, path, mCxeStillImageSymbian->id());
   121     CxeImageDataItemSymbian* dataItem = new CxeImageDataItemSymbian(data, path, mCxeStillImageSymbian->id(), false);
   122     mCxeStillImageSymbian->setDataItem(dataItem);
   122     mCxeStillImageSymbian->setDataItem(dataItem);
   123     QVERIFY(mCxeStillImageSymbian->dataItem() == dataItem);
   123     QVERIFY(mCxeStillImageSymbian->dataItem() == dataItem);
   124     CX_DEBUG_EXIT_FUNCTION();
   124     CX_DEBUG_EXIT_FUNCTION();
   125 }
   125 }
   126 
   126