videocollection/videocollectionview/tsrc/testvideooperatorservice/inc/testvideooperatorservice.h
changeset 50 21fe8338c6bf
child 55 4bfa887905cf
equal deleted inserted replaced
49:824471cb468a 50:21fe8338c6bf
       
     1 /**
       
     2 * Copyright (c) 2010 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: tests for VideoOperatorService
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef TESTVIDEOOPERATORSERVICE_H
       
    19 #define TESTVIDEOCOLLECTIONUILOADER_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <qttest/qttest>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class VideoOperatorService;
       
    26 
       
    27 class TestVideoOperatorService : public QObject
       
    28 {
       
    29     Q_OBJECT
       
    30 
       
    31 public:
       
    32     TestVideoOperatorService();
       
    33     virtual ~TestVideoOperatorService();
       
    34     
       
    35 private slots: // test functions for the test framework
       
    36     void init();
       
    37         
       
    38     void cleanup();
       
    39     
       
    40 private slots:
       
    41     
       
    42     void testLoad();
       
    43     void testTitle();
       
    44     void testIconResource();
       
    45     void testLaunchService();
       
    46     
       
    47 signals:
       
    48     
       
    49 private:
       
    50     /** class under test */
       
    51     VideoOperatorService *mTestObject;
       
    52     
       
    53 
       
    54 };
       
    55 
       
    56 #endif//TESTVIDEOCOLLECTIONUILOADER_H