videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/inc/testvideoplayerengine.h
changeset 46 adbe7d5ba2f5
parent 17 69946d1824c4
child 44 518105d52e45
--- a/videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/inc/testvideoplayerengine.h	Fri Jun 11 13:39:54 2010 +0300
+++ b/videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/inc/testvideoplayerengine.h	Wed Jun 23 18:14:16 2010 +0300
@@ -23,7 +23,7 @@
 //      - how to setup construction to fail for testing purposes
 
 
-// Version : %version: %
+// Version : %version: 8 %
 
 #ifndef __TESTVIDEOPLAYERENGINE_H__
 #define __TESTVIDEOPLAYERENGINE_H__
@@ -31,6 +31,7 @@
 
 // INCLUDES
 #include <QtTest/QtTest>
+#include <qpointer.h>
 
 class MpxViewPlugin;
 class QMpxVideoPlaybackWrapper;
@@ -80,6 +81,9 @@
     
     void testPlayMedia();
     void testSetEmbedded();
+    
+    void testInitWithActivityData();
+    void testHandleQuitWihtActivityData();
 
     // called after last test case executed
     void cleanupTestCase();
@@ -91,7 +95,7 @@
 
 private:
 
-	QVideoPlayerEngine*       mTestObject;
+    QPointer<QVideoPlayerEngine>  mTestObject;
 
     MpxViewPlugin*            mCurrentViewPlugin;
     MpxViewPlugin*            mPlaybackViewPlugin;