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_MmTsthStep11.h"
|
sl@0
|
22 |
#include "TSU_MmTsth11.h"
|
sl@0
|
23 |
#include "TSU_MmTsthSuite11.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 |
// NewTSUMmTsthSuite11L 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 CTSUMmTsthSuite11* NewTSUMmTsthSuite11L()
|
sl@0
|
33 |
{
|
sl@0
|
34 |
CTSUMmTsthSuite11* result = new (ELeave) CTSUMmTsthSuite11;
|
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 |
CTSUMmTsthSuite11::~CTSUMmTsthSuite11()
|
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 CTSUMmTsthSuite11::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 CTestSuite
|
sl@0
|
57 |
void CTSUMmTsthSuite11::InitialiseL()
|
sl@0
|
58 |
{
|
sl@0
|
59 |
|
sl@0
|
60 |
// store the name of this test suite
|
sl@0
|
61 |
iSuiteName = _L("TSU_MMTSTH11");
|
sl@0
|
62 |
|
sl@0
|
63 |
// add test steps
|
sl@0
|
64 |
AddTestStepL(RTestMmTsthU1101::NewL());
|
sl@0
|
65 |
AddTestStepL(RTestMmTsthU1102::NewL());
|
sl@0
|
66 |
AddTestStepL(RTestMmTsthU1103::NewL());
|
sl@0
|
67 |
AddTestStepL(RTestMmTsthU1104::NewL());
|
sl@0
|
68 |
AddTestStepL(RTestMmTsthU1105::NewL());
|
sl@0
|
69 |
|
sl@0
|
70 |
AddTestStepL(RTestMmTsthU1111::NewL());
|
sl@0
|
71 |
}
|
sl@0
|
72 |
|
sl@0
|
73 |
|
sl@0
|
74 |
// -------------------------
|