1 /** |
1 /** |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
38 |
38 |
39 /** |
39 /** |
40 * will be called before each testfunction is executed. |
40 * will be called before each testfunction is executed. |
41 * |
41 * |
42 */ |
42 */ |
43 void init(); |
43 void init(); |
44 |
44 |
45 /** |
45 /** |
46 * will be called after every testfunction. |
46 * will be called after every testfunction. |
47 * |
47 * |
48 */ |
48 */ |
49 void cleanup(); |
49 void cleanup(); |
50 |
50 |
51 // test functions for the test framework |
51 // test functions for the test framework |
52 void setup( TVideoPlaybackControls control ); |
52 void setup( TVideoPlaybackControls control ); |
53 |
53 |
54 void createControl( TVideoPlaybackControls control ); |
54 void createControl( TVideoPlaybackControls control ); |
55 |
55 |
56 private slots: |
56 private slots: |
57 |
57 |
58 void testControlIndex(); |
58 void testControlIndex(); |
59 |
59 |
60 void testDurationChanged(); |
60 void testDurationChanged(); |
61 |
61 |
62 void testPositionChanged(); |
62 void testPositionChanged(); |
63 |
63 |
64 void testAspectRatioChanged(); |
64 void testAspectRatioChanged(); |
65 |
65 |
66 void testUpdateState(); |
66 void testUpdateState(); |
67 |
67 |
68 void testUpdateControlsWithFileDetails(); |
68 void testUpdateControlsWithFileDetails(); |
69 |
69 |
70 void testUpdateControlProperties(); |
70 void testUpdateControlProperties(); |
71 |
71 |
|
72 void testResetControl(); |
|
73 |
72 signals: |
74 signals: |
73 void commandSignal(int); |
75 void commandSignal(int); |
74 |
76 |
75 private: |
77 private: |
76 VideoPlaybackControlsController* mControlsController; |
78 VideoPlaybackControlsController* mControlsController; |
77 VideoPlaybackFullScreenControl* mFullScreenControl; |
79 VideoPlaybackFullScreenControl* mFullScreenControl; |
78 }; |
80 }; |
79 |
81 |