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