pimappservices/calendar/tsrc/Integration/TestCalApiPolicing/generated/EDateIteratorPrevious1_CStep.h
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef EDateIteratorPrevious1_H_ |
|
17 #define EDateIteratorPrevious1_H_ |
|
18 |
|
19 //Include the suite header |
|
20 #include "CSuite.h" |
|
21 |
|
22 #include "agmserv.h" |
|
23 |
|
24 |
|
25 class CEDateIteratorPrevious1Step: public CCapabilityTestStep |
|
26 { |
|
27 |
|
28 public: |
|
29 |
|
30 //Get the version of the server to be called |
|
31 TVersion Version() |
|
32 { |
|
33 return TVersion(KAgnServerMajorVersion, KAgnServerMinorVersion, KAgnServerBuildVersion); |
|
34 } |
|
35 |
|
36 |
|
37 //Constructor called from the respective Suite.cpp from their "AddTestStep" function |
|
38 CEDateIteratorPrevious1Step() ; |
|
39 |
|
40 //Always clean your mess |
|
41 ~CEDateIteratorPrevious1Step() |
|
42 { |
|
43 tChildThread.Close(); |
|
44 } |
|
45 |
|
46 //This is the Function called from "doTestStepL" by the test Suite,and it creates an |
|
47 //child thread which internally calls the corresponding Exec_SendReceive_SERVERNAME fn. |
|
48 TVerdict MainThread(); |
|
49 |
|
50 //Here's where the connection and testing the message takes place |
|
51 TInt Exec_SendReceive(); |
|
52 |
|
53 }; |
|
54 |
|
55 #endif |