videocollection/videocollectionview/tsrc/testlistwidget/inc/testlistwidget.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 37 4eb2df7f7cbe
--- a/videocollection/videocollectionview/tsrc/testlistwidget/inc/testlistwidget.h	Thu Apr 01 23:32:44 2010 +0300
+++ b/videocollection/videocollectionview/tsrc/testlistwidget/inc/testlistwidget.h	Fri Apr 16 18:13:14 2010 +0300
@@ -15,12 +15,14 @@
 *
 */
 
+// Version : %version: 24 %
+
 #ifndef __TESTLISTWIDGET_H__
 #define __TESTLISTWIDGET_H__
 
-
 // INCLUDES
 #include <QtTest/QtTest>
+#include "videocollectioncommon.h"
 
 class VideoListWidget;
 class DummyDataModel;
@@ -34,13 +36,17 @@
 class VideoListDataModel;
 class VideoCollectionUiLoader;
 
+using namespace VideoCollectionCommon;
+
 class TestListWidget : public QObject
 {
     Q_OBJECT
 
 public:
 
-    void setRowCount(int count, int type = 0, VideoListDataModel *model = 0);
+    void setRowCount(int count,
+        TModelType type = EModelTypeAllVideos,
+        VideoListDataModel *model = 0);
     
     // test functions for the test framework
 private slots:
@@ -95,9 +101,14 @@
     void testEmitActivated();
     
     /**
-     * verifies longPressGesture
+     * verifies longPressedSlot
      */
-    void testLongPressGesture();
+    void testLongPressedSlot();
+    
+    /**
+     * verifies panGesture
+     */
+    void testPanGesture();
     
     /**
      * verifies setContextMenu
@@ -120,14 +131,9 @@
     void testRenameSlot();
     
     /**
-     * verifies playItemSlot
+     * verifies openItemSlot
      */
-    void testPlayItemSlot();
-    
-    /**
-     * verifies playAllSlot
-     */
-    void testPlayAllSlot();
+    void testOpenItemSlot();
     
     /**
      * verifies addToCollectionSlot