sl@0
|
1 |
// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
//
|
sl@0
|
15 |
|
sl@0
|
16 |
// EPOC includes
|
sl@0
|
17 |
#include <e32base.h>
|
sl@0
|
18 |
|
sl@0
|
19 |
// Test system includes
|
sl@0
|
20 |
#include <testframework.h>
|
sl@0
|
21 |
#include "TSU_MmTsthStep12.h"
|
sl@0
|
22 |
#include "TSU_MmTsth12.h"
|
sl@0
|
23 |
#include "TSU_MmTsthSuite12.h"
|
sl@0
|
24 |
|
sl@0
|
25 |
|
sl@0
|
26 |
|
sl@0
|
27 |
|
sl@0
|
28 |
// Create an instance of this test suite.
|
sl@0
|
29 |
// NewTSUMmTsthSuite12L is exported at ordinal 1.
|
sl@0
|
30 |
// This provides the interface to allow the Test Framework
|
sl@0
|
31 |
// to create instances of this test suite.
|
sl@0
|
32 |
EXPORT_C CTSUMmTsthSuite12* NewTSUMmTsthSuite12L()
|
sl@0
|
33 |
{
|
sl@0
|
34 |
CTSUMmTsthSuite12* result = new (ELeave) CTSUMmTsthSuite12;
|
sl@0
|
35 |
CleanupStack::PushL(result);
|
sl@0
|
36 |
result->ConstructL();
|
sl@0
|
37 |
CleanupStack::Pop(); // result
|
sl@0
|
38 |
return result;
|
sl@0
|
39 |
}
|
sl@0
|
40 |
|
sl@0
|
41 |
// destructor
|
sl@0
|
42 |
CTSUMmTsthSuite12::~CTSUMmTsthSuite12()
|
sl@0
|
43 |
{
|
sl@0
|
44 |
}
|
sl@0
|
45 |
|
sl@0
|
46 |
_LIT(KTxtVersion,"0.22 (build 09-Sep-2002)");
|
sl@0
|
47 |
|
sl@0
|
48 |
// Get test suite version.
|
sl@0
|
49 |
TPtrC CTSUMmTsthSuite12::GetVersion() const
|
sl@0
|
50 |
{
|
sl@0
|
51 |
return KTxtVersion();
|
sl@0
|
52 |
}
|
sl@0
|
53 |
|
sl@0
|
54 |
// Initialiser for test suite.
|
sl@0
|
55 |
// This creates all the test steps and stores them
|
sl@0
|
56 |
// inside CTestSuiteSelfTest
|
sl@0
|
57 |
void CTSUMmTsthSuite12::InitialiseL()
|
sl@0
|
58 |
{
|
sl@0
|
59 |
|
sl@0
|
60 |
// store the name of this test suite
|
sl@0
|
61 |
iSuiteName = _L("TSU_MMTSTH12");
|
sl@0
|
62 |
|
sl@0
|
63 |
// add test steps
|
sl@0
|
64 |
AddTestStepL(RTestMmTsthU1201::NewL());
|
sl@0
|
65 |
AddTestStepL(RTestMmTsthU1202::NewL());
|
sl@0
|
66 |
AddTestStepL(RTestMmTsthU1203::NewL());
|
sl@0
|
67 |
|
sl@0
|
68 |
AddTestStepL(RTestMmTsthU1221::NewL());
|
sl@0
|
69 |
AddTestStepL(RTestMmTsthU1222::NewL());
|
sl@0
|
70 |
}
|