videocollection/videocollectionwrapper/tsrc/testvideoproxymodelallvideos/inc/testvideoproxymodelallvideos.h
changeset 62 0e1e938beb1a
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
       
     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 VideoProxyModelAllVideos
       
    15 * 
       
    16 */
       
    17 
       
    18 #ifndef __TESTVIDEOPROXYMODELALLVIDEOS_H__
       
    19 #define __TESTVIDEOPROXYMODELALLVIDEOS_H__
       
    20 
       
    21 
       
    22 // INCLUDES
       
    23 #include <QtTest/QtTest>
       
    24 #include <mpxitemid.h>
       
    25 
       
    26 class FilterProxyTester;
       
    27 
       
    28 class TestVideoProxyModelAllVideos : public QObject
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32     // test functions for the test framework
       
    33     
       
    34 signals:
       
    35     
       
    36 private slots:
       
    37 
       
    38     /**
       
    39      * will be called before each testfunction is executed.
       
    40      *
       
    41      */
       
    42     void init(); 
       
    43     
       
    44     /**
       
    45      * will be called after every testfunction.
       
    46      *
       
    47      */
       
    48     void cleanup();
       
    49 
       
    50     /**
       
    51      * Tests filterAcceptsRow.
       
    52      */
       
    53     void testFilterAcceptsRow();
       
    54     
       
    55     /**
       
    56      * Tests getOpenItem.
       
    57      */
       
    58     void testGetOpenItem();
       
    59 
       
    60 private:
       
    61 
       
    62     /**
       
    63      * tester object inherited from the actual test object
       
    64      * implemented to be able to call protected objects
       
    65      */
       
    66     FilterProxyTester *mTestObject;
       
    67     
       
    68 };
       
    69 
       
    70 #endif  // __TESTVIDEOPROXYMODELALLVIDEOS_H__
       
    71 
       
    72 // End of file
       
    73     
       
    74 
       
    75