55
|
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_P_H
|
|
19 |
#define TESTVIDEOOPERATORSERVICE_P_H
|
|
20 |
|
|
21 |
// INCLUDE FILES
|
|
22 |
#include <qttest/qttest>
|
|
23 |
#include "apgclistub.h"
|
|
24 |
#include "apaidstub.h"
|
|
25 |
#include "coemainstub.h"
|
|
26 |
#include "apgtaskstub.h"
|
|
27 |
|
|
28 |
// FORWARD DECLARATIONS
|
|
29 |
class VideoOperatorServicePrivate;
|
|
30 |
|
|
31 |
class TestVideoOperatorServicePrivate : public QObject
|
|
32 |
{
|
|
33 |
Q_OBJECT
|
|
34 |
|
|
35 |
public:
|
|
36 |
TestVideoOperatorServicePrivate();
|
|
37 |
virtual ~TestVideoOperatorServicePrivate();
|
|
38 |
|
|
39 |
private slots: // test functions for the test framework
|
|
40 |
void init();
|
|
41 |
|
|
42 |
void cleanup();
|
|
43 |
|
|
44 |
private slots:
|
|
45 |
|
|
46 |
void testLoad();
|
|
47 |
void testTitle();
|
|
48 |
void testIconResource();
|
|
49 |
void testLaunchService();
|
|
50 |
void testSlots();
|
67
|
51 |
void testLaunchUrl();
|
55
|
52 |
|
|
53 |
signals:
|
|
54 |
|
|
55 |
private:
|
|
56 |
/** class under test */
|
|
57 |
VideoOperatorServicePrivate *mTestObject;
|
|
58 |
|
|
59 |
};
|
|
60 |
|
|
61 |
#endif//TESTVIDEOOPERATORSERVICE_P_H
|