sl@0: // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: // EPOC includes sl@0: #include <e32base.h> sl@0: sl@0: // Test system includes sl@0: #include <testframework.h> sl@0: #include "TSU_MmTsth22.h" sl@0: #include "TSU_MmTsthSuite22.h" sl@0: sl@0: sl@0: sl@0: sl@0: // Create an instance of this test suite. sl@0: sl@0: // NewTSUMmTsthSuite22L is exported at ordinal 1. sl@0: // This provides the interface to allow the Test Framework sl@0: // to create instances of this test suite. sl@0: EXPORT_C CTSUMmTsthSuite22* NewTSUMmTsthSuite22L() sl@0: { sl@0: CTSUMmTsthSuite22* result = new (ELeave) CTSUMmTsthSuite22; sl@0: CleanupStack::PushL(result); sl@0: result->ConstructL(); sl@0: CleanupStack::Pop(); // result sl@0: return result; sl@0: } sl@0: sl@0: CTSUMmTsthSuite22::~CTSUMmTsthSuite22() sl@0: { sl@0: } sl@0: sl@0: _LIT(KTxtVersion,"0.22 (build 09-Sep-2002)"); sl@0: sl@0: // Get version sl@0: TPtrC CTSUMmTsthSuite22::GetVersion() const sl@0: { sl@0: return KTxtVersion(); sl@0: } sl@0: sl@0: // Initialiser for test suite. sl@0: // This creates all the test steps and stores them sl@0: // inside CTestSuite sl@0: void CTSUMmTsthSuite22::InitialiseL() sl@0: { sl@0: // store the name of this test suite sl@0: iSuiteName = _L("TSU_MMTSTH22"); sl@0: sl@0: // add test steps sl@0: AddTestStepL(RTestMmTsthU2201::NewL()); sl@0: }