equal
deleted
inserted
replaced
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". |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: tester for methods in TestProgressBar |
14 * Description: tester for methods in TestProgressBar |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 3 % |
18 // Version : %version: 4 % |
19 |
19 |
20 #ifndef __TESTPROGRESSBAR_H__ |
20 #ifndef __TESTPROGRESSBAR_H__ |
21 #define __TESTPROGRESSBAR_H__ |
21 #define __TESTPROGRESSBAR_H__ |
22 |
22 |
23 |
23 |
35 |
35 |
36 /** |
36 /** |
37 * will be called before each testfunction is executed. |
37 * will be called before each testfunction is executed. |
38 * |
38 * |
39 */ |
39 */ |
40 void init(); |
40 void init(); |
41 |
41 |
42 /** |
42 /** |
43 * will be called after every testfunction. |
43 * will be called after every testfunction. |
44 * |
44 * |
45 */ |
45 */ |
46 void cleanup(); |
46 void cleanup(); |
47 |
47 |
48 void setup(); |
48 void setup(); |
49 |
49 |
50 // test functions for the test framework |
50 // test functions for the test framework |
51 private slots: |
51 private slots: |
52 void testHandleSliderPressed(); |
52 void testHandleSliderPressed(); |
53 void testHandleSliderMoved(); |
53 void testHandleSliderMoved(); |
54 void testHandleSliderReleased(); |
54 void testHandleSliderReleased(); |
55 void testUpdateWithFileDetails(); |
55 void testUpdateWithFileDetails(); |
56 void testUpdateState(); |
56 void testUpdateState(); |
57 void testDurationChanged(); |
57 void testDurationChanged(); |
58 void testPositionChanged(); |
58 void testPositionChanged(); |
59 void testHandleSeekingTimeout(); |
59 void testHandleSeekingTimeout(); |
|
60 void testResetControl(); |
60 |
61 |
61 signals: |
62 signals: |
62 void commandSignal(); |
63 void commandSignal(); |
63 |
64 |
64 private: |
65 private: |