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 sl@0: sl@0: // Test system includes sl@0: #include sl@0: #include "TSU_MmTsth01.h" sl@0: #include "TSU_MmTsthSuite01.h" sl@0: sl@0: sl@0: sl@0: sl@0: // Create an instance of this test suite. sl@0: // NewTSUMmTsthSuite01L 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 CTSUMmTsthSuite01* NewTSUMmTsthSuite01L() sl@0: { sl@0: CTSUMmTsthSuite01* result = new (ELeave) CTSUMmTsthSuite01; sl@0: CleanupStack::PushL(result); sl@0: result->ConstructL(); sl@0: CleanupStack::Pop(); // result sl@0: return result; sl@0: } sl@0: sl@0: // destructor sl@0: CTSUMmTsthSuite01::~CTSUMmTsthSuite01() sl@0: { sl@0: } sl@0: sl@0: _LIT(KTxtVersion,"0.22 (build 09-Sep-2002)"); sl@0: sl@0: // Get test suite version. sl@0: TPtrC CTSUMmTsthSuite01::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 CTSUMmTsthSuite01::InitialiseL() sl@0: { sl@0: sl@0: // store the name of this test suite sl@0: iSuiteName = _L("TSU_MMTSTH01"); sl@0: sl@0: // add test steps sl@0: AddTestStepL(RTestMmTsthU0101::NewL()); sl@0: AddTestStepL(RTestMmTsthU0102::NewL()); sl@0: AddTestStepL(RTestMmTsthU0103::NewL()); sl@0: AddTestStepL(RTestMmTsthU0104::NewL()); sl@0: AddTestStepL(RTestMmTsthU0111::NewL()); sl@0: AddTestStepL(RTestStepDummy::NewL()); sl@0: AddTestStepL(RPanicTestStepDummy::NewL()); sl@0: sl@0: }