|
1 /* |
|
2 * Copyright (c) 2004 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __UT_CAlfLCTAnchorLayout_H__ |
|
20 #define __UT_CAlfLCTAnchorLayout_H__ |
|
21 |
|
22 // EXTERNAL INCLUDES |
|
23 #include <CEUnitTestSuiteClass.h> |
|
24 |
|
25 // INTERNAL INCLUDES |
|
26 |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CAlfEnv; |
|
30 class CAlfControl; |
|
31 class CAlfLCTAnchorLayout; |
|
32 |
|
33 #include <e32def.h> |
|
34 #ifndef NONSHARABLE_CLASS |
|
35 #define NONSHARABLE_CLASS(x) class x |
|
36 #endif |
|
37 |
|
38 // CLASS DEFINITION |
|
39 /** |
|
40 * |
|
41 * EUnitWizard generated test class. |
|
42 * |
|
43 */ |
|
44 NONSHARABLE_CLASS( UT_CAlfLCTAnchorLayout ) |
|
45 : public CEUnitTestSuiteClass |
|
46 { |
|
47 public: // Constructors and destructors |
|
48 |
|
49 /** |
|
50 * Two phase construction |
|
51 */ |
|
52 static UT_CAlfLCTAnchorLayout* NewL(); |
|
53 static UT_CAlfLCTAnchorLayout* NewLC(); |
|
54 /** |
|
55 * Destructor |
|
56 */ |
|
57 ~UT_CAlfLCTAnchorLayout(); |
|
58 |
|
59 private: // Constructors and destructors |
|
60 |
|
61 UT_CAlfLCTAnchorLayout(); |
|
62 void ConstructL(); |
|
63 |
|
64 private: // New methods |
|
65 |
|
66 void SetupL(); |
|
67 void Teardown(); |
|
68 void UT_CAlfLCTAnchorLayout_CAlfLCTAnchorLayoutL(); |
|
69 void UT_CAlfLCTAnchorLayout_ConstructLL(); |
|
70 void UT_CAlfLCTAnchorLayout_RemoveAndDestroyAllDL(); |
|
71 void UT_CAlfLCTAnchorLayout_SetAnchors(); |
|
72 |
|
73 public: // Data |
|
74 |
|
75 CAlfEnv* iEnv; |
|
76 CAlfControl* iControl; |
|
77 CAlfLCTAnchorLayout* iLayout; |
|
78 |
|
79 EUNIT_DECLARE_TEST_TABLE; |
|
80 |
|
81 }; |
|
82 |
|
83 #endif // __UT_CAlfLCTAnchorLayout_H__ |
|
84 |
|
85 // End of file |