author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 24 Nov 2009 08:56:33 +0200 | |
changeset 33 | 50974a8b132e |
parent 19 | 989d2f495d90 |
permissions | -rw-r--r-- |
19 | 1 |
/* |
2 |
* Copyright (c) 2002 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 the License "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: ?Description |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
||
20 |
||
21 |
// INCLUDE FILES |
|
22 |
#include <e32base.h> |
|
23 |
#include <msvstd.h> |
|
24 |
#include <msvapi.h> |
|
25 |
#include <msvids.h> |
|
26 |
||
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
27 |
#include <StifTestInterface.h> |
19 | 28 |
|
29 |
#include "tcalendargetlisttest.h" |
|
30 |
||
31 |
#include "startconsolealarmserver.h" |
|
32 |
||
33 |
||
34 |
//#include <SAPI_TEST\testprg.h> |
|
35 |
||
36 |
||
37 |
||
38 |
// ============================ MEMBER FUNCTIONS =============================== |
|
39 |
||
40 |
// ----------------------------------------------------------------------------- |
|
41 |
// CTSendMessageTest::CTSendMessageTest |
|
42 |
// C++ default constructor can NOT contain any code, that |
|
43 |
// might leave. |
|
44 |
// ----------------------------------------------------------------------------- |
|
45 |
// |
|
46 |
CTCalendarGetListTest::CTCalendarGetListTest( |
|
47 |
CTestModuleIf& aTestModuleIf ): |
|
48 |
CScriptBase( aTestModuleIf ) |
|
49 |
{ |
|
50 |
||
51 |
} |
|
52 |
||
53 |
// ----------------------------------------------------------------------------- |
|
54 |
// CTSendMessageTest::ConstructL |
|
55 |
// Symbian 2nd phase constructor can leave. |
|
56 |
// ----------------------------------------------------------------------------- |
|
57 |
// |
|
58 |
void CTCalendarGetListTest::ConstructL() |
|
59 |
{ |
|
60 |
} |
|
61 |
||
62 |
// ----------------------------------------------------------------------------- |
|
63 |
// CTSendMessageTest::NewL |
|
64 |
// Two-phased constructor. |
|
65 |
// ----------------------------------------------------------------------------- |
|
66 |
// |
|
67 |
CTCalendarGetListTest* CTCalendarGetListTest::NewL( |
|
68 |
CTestModuleIf& aTestModuleIf ) |
|
69 |
{ |
|
70 |
#if __WINS__ |
|
71 |
StartAlarmServerL(); |
|
72 |
#endif |
|
73 |
CTCalendarGetListTest* self = new (ELeave) CTCalendarGetListTest( aTestModuleIf ); |
|
74 |
||
75 |
CleanupStack::PushL( self ); |
|
76 |
self->ConstructL(); |
|
77 |
CleanupStack::Pop(); |
|
78 |
||
79 |
return self; |
|
80 |
||
81 |
} |
|
82 |
||
83 |
// Destructor |
|
84 |
CTCalendarGetListTest::~CTCalendarGetListTest() |
|
85 |
{ |
|
86 |
||
87 |
// Delete resources allocated from test methods |
|
88 |
Delete(); |
|
89 |
} |
|
90 |
||
91 |
// ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
92 |
||
93 |
// ----------------------------------------------------------------------------- |
|
94 |
// LibEntryL is a polymorphic Dll entry point. |
|
95 |
// Returns: CScriptBase: New CScriptBase derived object |
|
96 |
// ----------------------------------------------------------------------------- |
|
97 |
// |
|
98 |
EXPORT_C CScriptBase* LibEntryL( |
|
99 |
CTestModuleIf& aTestModuleIf ) // Backpointer to STIF Test Framework |
|
100 |
{ |
|
101 |
||
102 |
return ( CScriptBase* ) CTCalendarGetListTest::NewL( aTestModuleIf ); |
|
103 |
||
104 |
} |
|
105 |
||
106 |
// ----------------------------------------------------------------------------- |
|
107 |
// E32Dll is a DLL entry point function. |
|
108 |
// Returns: KErrNone |
|
109 |
// ----------------------------------------------------------------------------- |
|
110 |
// |
|
111 |
#ifndef EKA2 // Hide Dll entry point to EKA2 |
|
112 |
GLDEF_C TInt E32Dll( |
|
113 |
TDllReason /*aReason*/) // Reason code |
|
114 |
{ |
|
115 |
return(KErrNone); |
|
116 |
||
117 |
} |
|
118 |
#endif // EKA2 |
|
119 |
||
120 |
// End of File |