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_MmTsthStep11.h" sl@0: #include "TSU_MmTsth11.h" sl@0: #include "TSU_MmTsthSuite11.h" sl@0: sl@0: sl@0: sl@0: sl@0: // Create an instance of this test suite. sl@0: // NewTSUMmTsthSuite11L 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 CTSUMmTsthSuite11* NewTSUMmTsthSuite11L() sl@0: { sl@0: CTSUMmTsthSuite11* result = new (ELeave) CTSUMmTsthSuite11; 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: CTSUMmTsthSuite11::~CTSUMmTsthSuite11() 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 CTSUMmTsthSuite11::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 CTSUMmTsthSuite11::InitialiseL() sl@0: { sl@0: sl@0: // store the name of this test suite sl@0: iSuiteName = _L("TSU_MMTSTH11"); sl@0: sl@0: // add test steps sl@0: AddTestStepL(RTestMmTsthU1101::NewL()); sl@0: AddTestStepL(RTestMmTsthU1102::NewL()); sl@0: AddTestStepL(RTestMmTsthU1103::NewL()); sl@0: AddTestStepL(RTestMmTsthU1104::NewL()); sl@0: AddTestStepL(RTestMmTsthU1105::NewL()); sl@0: sl@0: AddTestStepL(RTestMmTsthU1111::NewL()); sl@0: } sl@0: sl@0: sl@0: // -------------------------