videoplayback/videoplaybackview/tsrc/testdetailsplaybackwindow/inc/testdetailsplaybackwindow.h
equal
deleted
inserted
replaced
|
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: tester for methods in TestDetailsPlaybackWindow |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 7 % |
|
19 |
|
20 |
|
21 #ifndef __TESTDETAILSPLAYBACKWINDOW_H__ |
|
22 #define __TESTDETAILSPLAYBACKWINDOW_H__ |
|
23 |
|
24 |
|
25 // INCLUDES |
|
26 #include <QtTest/QtTest> |
|
27 |
|
28 class QEvent; |
|
29 class VideoPlaybackDetailsPlaybackWindow; |
|
30 class VideoPlaybackControlsController; |
|
31 |
|
32 class TestDetailsPlaybackWindow : public QObject |
|
33 { |
|
34 Q_OBJECT |
|
35 |
|
36 public: |
|
37 |
|
38 /** |
|
39 * will be called before each testfunction is executed. |
|
40 * |
|
41 */ |
|
42 void init( bool attachOperation = false ); |
|
43 |
|
44 /** |
|
45 * will be called after every testfunction. |
|
46 * |
|
47 */ |
|
48 void cleanup(); |
|
49 |
|
50 // test functions for the test framework |
|
51 private slots: |
|
52 |
|
53 // the order in which these testXX methods are declared is important |
|
54 // changing this order will affect the test results |
|
55 void testUpdateState(); |
|
56 void testPlay(); |
|
57 void testAttach(); |
|
58 void testSend(); |
|
59 |
|
60 signals: |
|
61 void commandSignal(); |
|
62 |
|
63 private: |
|
64 VideoPlaybackDetailsPlaybackWindow* mWindow; |
|
65 VideoPlaybackControlsController* mController; |
|
66 }; |
|
67 |
|
68 |
|
69 #endif // __TESTDETAILSPLAYBACKWINDOW_H__ |
|
70 |
|
71 // End of file |