videoplayerapp/videoplayerengine/tsrc/testvideoiadupdatewrapper/inc/testvideoiadupdatewrapper.h
changeset 66 adb51f74b890
equal deleted inserted replaced
63:4707a0db12f6 66:adb51f74b890
       
     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:  Videoplayerengine test class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 1 %
       
    19 
       
    20 #ifndef __TESTVIDEOIADUPDATEWRAPPER_H__
       
    21 #define __TESTVIDEOIADUPDATEWRAPPER_H__
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <QtTest/QtTest>
       
    26 
       
    27 class VideoIadUpdateWrapper;
       
    28 
       
    29 class TestVideoIadUpdateWrapper : public QObject
       
    30 {
       
    31 
       
    32     Q_OBJECT
       
    33 
       
    34     public: 
       
    35 
       
    36         /**
       
    37          * Contructor.
       
    38          *
       
    39          */
       
    40         TestVideoIadUpdateWrapper();
       
    41 
       
    42         /**
       
    43          * Destructor.
       
    44          *
       
    45          */
       
    46         virtual ~TestVideoIadUpdateWrapper();
       
    47 
       
    48     private slots:
       
    49 
       
    50         void init();
       
    51         void cleanup();
       
    52         void TestCreateDelete();
       
    53         void TestCheckForUpdates();
       
    54         void TestCheckUpdatesComplete();
       
    55         void TestUpdateComplete();
       
    56         void TestUpdateQueryComplete();
       
    57         void TestDoCheckForUpdatesL();
       
    58         void TestCleanup();
       
    59 
       
    60         // called after last test case executed
       
    61         void cleanupTestCase();
       
    62 
       
    63     signals:
       
    64 
       
    65 	    void aboutToQuit();
       
    66 
       
    67     private:
       
    68 
       
    69 	    VideoIadUpdateWrapper*  mTestObject;
       
    70 };
       
    71 
       
    72 #endif  // __TESTVIDEOIADUPDATEWRAPPER_H__
       
    73 
       
    74 // End of file
       
    75 
       
    76 
       
    77