videocollection/videocollectionview/tsrc/testvideocollectionviewutils/inc/testvideocollectionviewutils.h
changeset 15 cf5481c2bc0b
child 17 69946d1824c4
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     1 /**
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   tester for methods in VideoCollectionViewUtils
       
    15 * 
       
    16 */
       
    17 
       
    18 #ifndef __TESTVIDEOCOLLECTIONVIEWUTILS_H__
       
    19 #define __TESTVIDEOCOLLECTIONVIEWUTILS_H__
       
    20 
       
    21 
       
    22 // INCLUDES
       
    23 #include <QtTest/QtTest>
       
    24 #include "hbmessagebox.h"
       
    25 
       
    26 
       
    27 class VideoCollectionWrapper;
       
    28 
       
    29 class TestVideoVideoCollectionViewUtils : public QObject
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33     // test functions for the test framework
       
    34 private slots:
       
    35    
       
    36     /**
       
    37      * will be called before each testfunction is executed.
       
    38      *
       
    39      */
       
    40     void init(); 
       
    41    
       
    42     /**
       
    43      * will be called after every testfunction.
       
    44      *
       
    45      */
       
    46     void cleanup();
       
    47 
       
    48     /**
       
    49      * verifies showErrorMsgSlot
       
    50      */
       
    51     void testShowErrorMsgSlot();
       
    52     
       
    53     /**
       
    54      * verifies saveSortingValues
       
    55      */
       
    56     void testSaveSortingValues();
       
    57 
       
    58     /**
       
    59      * verifies loadSortingValues
       
    60      */
       
    61     void testLoadSortingValues();
       
    62     
       
    63     /**
       
    64      * verifies getServiceIconStrings
       
    65      */
       
    66     void testGetServiceIconStrings();
       
    67     
       
    68     /**
       
    69      * verifies getServiceUriString
       
    70      */
       
    71     void testGetServiceUriString();
       
    72 
       
    73 };
       
    74 
       
    75 
       
    76 #endif  // __TESTVIDEOCOLLECTIONVIEWUTILS_H__
       
    77 
       
    78 // End of file
       
    79     
       
    80 
       
    81