equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 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: Unit tests |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __T_GLXLISTWINDOW_H__ |
|
22 #define __T_GLXLISTWINDOW_H__ |
|
23 |
|
24 // EXTERNAL INCLUDES |
|
25 #include <digia/eunit/CEUnitTestSuiteClass.h> |
|
26 #include <digia/eunit/EUnitDecorators.h> |
|
27 |
|
28 // INTERNAL INCLUDES |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 |
|
32 /** |
|
33 * EUnit test suite |
|
34 */ |
|
35 NONSHARABLE_CLASS( t_CGlxListWindow ) : public CEUnitTestSuiteClass |
|
36 { |
|
37 public: // Constructors and destructors |
|
38 /** |
|
39 * Two phase construction |
|
40 */ |
|
41 static t_CGlxListWindow* NewL(); |
|
42 static t_CGlxListWindow* NewLC(); |
|
43 /** |
|
44 * Destructor |
|
45 */ |
|
46 ~t_CGlxListWindow(); |
|
47 |
|
48 private: // Constructors and destructors |
|
49 t_CGlxListWindow(); |
|
50 void ConstructL(); |
|
51 |
|
52 private: // New methods |
|
53 void SetupL(); |
|
54 void Teardown(); |
|
55 |
|
56 void T_CleanupL(); |
|
57 void T_SetRangeOffsetsLL(); |
|
58 void T_SetFocusIndexL(); |
|
59 void T_AddObjectsL(); |
|
60 void T_RemoveObjectsL(); |
|
61 |
|
62 private: // Data |
|
63 |
|
64 EUNIT_DECLARE_TEST_TABLE; |
|
65 |
|
66 }; |
|
67 |
|
68 #endif // __T_GLXLISTWINDOW_H__ |