videocollection/videocollectionview/tsrc/testcollectionview/inc/testcollectionview.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 55 4bfa887905cf
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
    29 {
    29 {
    30     Q_OBJECT
    30     Q_OBJECT
    31 
    31 
    32 public:
    32 public:
    33     
    33     
    34     TestCollectionView();
    34 
    35     
    35 
       
    36     // test functions for the test framework
       
    37 private slots:
       
    38 
    36     /**
    39     /**
    37      * call to init a testcase
    40      * call to init a testcase
    38      */
    41      */
    39     void init(); 
    42     void init(); 
    40     
    43     
    41     /**
    44     /**
    42      * call to cleanup a testcase
    45      * call to cleanup a testcase
    43      */
    46      */
    44     void cleanup();
    47     void cleanup();
    45     
    48     
    46     // test functions for the test framework
       
    47 private slots:
       
    48 
       
    49     /**
    49     /**
    50      * called before anything else when test starts
    50      * called before anything else when test starts
    51      */
    51      */
    52      void initTestCase();
    52     void initTestCase();
    53      
    53      
    54     /**
    54     /**
    55      * will be called after testing ends
    55      * will be called after testing ends
    56      *
    56      *
    57      */
    57      */
    62     void testDeactivateView();
    62     void testDeactivateView();
    63     void testDestroyView();
    63     void testDestroyView();
    64     void testGetView();
    64     void testGetView();
    65     void testBack();
    65     void testBack();
    66     void testOrientationChange();
    66     void testOrientationChange();
       
    67     void testTimerEvent();
    67 
    68 
    68 signals:
    69 signals:
    69 
    70 
    70     void commandSignal(int);
    71     void commandSignal(int);
    71     
    72     
    72 private:
    73 private:
       
    74     
    73     VideoCollectionViewPlugin* mTestView;
    75     VideoCollectionViewPlugin* mTestView;
       
    76     
    74 };
    77 };
    75 
    78 
    76 
    79 
    77 #endif  // __TESTCOLLECTIONVIEW_H__
    80 #endif  // __TESTCOLLECTIONVIEW_H__
    78 
    81