|
1 // Copyright (c) 2003-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 /** |
|
17 @file |
|
18 */ |
|
19 |
|
20 #include "CMtfTestCaseSample001.h" |
|
21 #include "CMtfTestActionSampleActionA.h" |
|
22 #include "CMtfTestActionSampleActionB.h" |
|
23 #include "CMtfTestActionSampleActionC.h" |
|
24 #include "CMtfTestActionSampleActionD.h" |
|
25 #include "CMtfTestActionSampleActionE.h" |
|
26 #include "CMtfTestActionSampleActionF.h" |
|
27 #include "CMtfTestActionParameters.h" |
|
28 |
|
29 void CMtfTestCaseSample001::CheckPostConditionsL() |
|
30 /** |
|
31 * Override of base class virtual |
|
32 */ |
|
33 { |
|
34 CMtfTestActionSampleActionE::NewL(*this,CMtfTestActionParameters::NewLC()); |
|
35 CleanupStack::Pop(); |
|
36 CMtfTestActionSampleActionF::NewL(*this,CMtfTestActionParameters::NewLC()); |
|
37 CleanupStack::Pop(); |
|
38 } |
|
39 |
|
40 CMtfTestCase* CMtfTestCaseSample001::NewL(const CMtfTestServer& aTestServer) |
|
41 { |
|
42 CMtfTestCaseSample001* self = new (ELeave) CMtfTestCaseSample001(aTestServer); |
|
43 CleanupStack::PushL(self); |
|
44 self->ConstructL(); |
|
45 CleanupStack::Pop(); |
|
46 return self; |
|
47 } |
|
48 |
|
49 CMtfTestCaseSample001::CMtfTestCaseSample001(const CMtfTestServer& aTestServer) |
|
50 : CMtfTestCase(aTestServer,EFalse,ETrue) |
|
51 { |
|
52 } |
|
53 |
|
54 void CMtfTestCaseSample001::SetupTestCaseL() |
|
55 /** |
|
56 * Override of base class virtual |
|
57 */ |
|
58 { |
|
59 CMtfTestActionSampleActionA::NewL(*this,CMtfTestActionParameters::NewLC()); |
|
60 CleanupStack::Pop(); |
|
61 CMtfTestActionSampleActionB::NewL(*this,CMtfTestActionParameters::NewLC()); |
|
62 CleanupStack::Pop(); |
|
63 } |
|
64 |
|
65 |
|
66 void CMtfTestCaseSample001::ExecuteTestCaseL() |
|
67 /** |
|
68 * Override of base class pure virtual |
|
69 */ |
|
70 { |
|
71 CMtfTestActionSampleActionC::NewL(*this,CMtfTestActionParameters::NewLC()); |
|
72 CleanupStack::Pop(); |
|
73 CMtfTestActionSampleActionD::NewL(*this,CMtfTestActionParameters::NewLC()); |
|
74 CleanupStack::Pop(); |
|
75 } |