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