|
1 // Copyright (c) 2002-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 // EPOC includes |
|
17 #include <e32base.h> |
|
18 |
|
19 // Test system includes |
|
20 #include <testframework.h> |
|
21 #include "TSU_MmTsth10.h" |
|
22 #include "TSU_MmTsthSuite10.h" |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 // Create an instance of this test suite. |
|
28 // NewTSUMmTsthSuite10L is exported at ordinal 1. |
|
29 // This provides the interface to allow the Test Framework |
|
30 // to create instances of this test suite. |
|
31 EXPORT_C CTSUMmTsthSuite10* NewTSUMmTsthSuite10L() |
|
32 { |
|
33 CTSUMmTsthSuite10* result = new (ELeave) CTSUMmTsthSuite10; |
|
34 CleanupStack::PushL(result); |
|
35 result->ConstructL(); |
|
36 CleanupStack::Pop(); // result |
|
37 return result; |
|
38 } |
|
39 |
|
40 // destructor |
|
41 CTSUMmTsthSuite10::~CTSUMmTsthSuite10() |
|
42 { |
|
43 } |
|
44 |
|
45 _LIT(KTxtVersion,"0.22 (build 09-Sep-2002)"); |
|
46 |
|
47 // Get test suite version. |
|
48 TPtrC CTSUMmTsthSuite10::GetVersion() const |
|
49 { |
|
50 return KTxtVersion(); |
|
51 } |
|
52 |
|
53 // Initialiser for test suite. |
|
54 // This creates all the test steps and stores them |
|
55 // inside CTestSuite |
|
56 void CTSUMmTsthSuite10::InitialiseL() |
|
57 { |
|
58 |
|
59 // store the name of this test suite |
|
60 iSuiteName = _L("TSU_MMTSTH10"); |
|
61 |
|
62 // add test steps |
|
63 AddTestStepL(RTestMmTsthU1001::NewL()); |
|
64 AddTestStepL(RTestMmTsthU1011::NewL()); |
|
65 AddTestStepL(RTestMmTsthU1012::NewL()); |
|
66 AddTestStepL(RTestMmTsthU1013::NewL()); |
|
67 } |
|
68 |