sl@0: sl@0: // Copyright (c) 2004-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: // This main DLL entry point for the TSU_MMF_SBCCODEC.dll sl@0: // sl@0: // sl@0: sl@0: // EPOC includes sl@0: #include sl@0: sl@0: // Test system includes sl@0: #include "TSU_MMF_SbcCodecSuite.h" sl@0: #include "TSU_MMF_SbcCodec.h" sl@0: sl@0: sl@0: /** sl@0: * NewTestSuite is exported at ordinal 1 sl@0: * this provides the interface to allow schedule test sl@0: * to create instances of this test suite sl@0: */ sl@0: EXPORT_C CTestSuite_MMF_SbcCodec* NewTestSuiteL() sl@0: { sl@0: CTestSuite_MMF_SbcCodec* self = new(ELeave) CTestSuite_MMF_SbcCodec; sl@0: CleanupStack::PushL(self); sl@0: self->ConstructL(); sl@0: CleanupStack::Pop(); // result sl@0: return self; sl@0: } sl@0: sl@0: /** sl@0: * Destructor sl@0: */ sl@0: CTestSuite_MMF_SbcCodec::~CTestSuite_MMF_SbcCodec() sl@0: { sl@0: } sl@0: sl@0: /** sl@0: * Get Test Suite version sl@0: */ sl@0: TPtrC CTestSuite_MMF_SbcCodec::GetVersion() sl@0: { sl@0: _LIT(KTxtVersion, "1.0"); sl@0: return KTxtVersion(); sl@0: } sl@0: sl@0: /** sl@0: * This function initialises the test suite sl@0: * this creates all the test steps and stores them inside CTestSuite_MMF_SbcCodec sl@0: */ sl@0: void CTestSuite_MMF_SbcCodec::InitialiseL() sl@0: { sl@0: // store the name of this test suite sl@0: iSuiteName = _L("TSU_MMF_SbcCodec"); sl@0: sl@0: // NewL() tests sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_001); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_002); sl@0: sl@0: // ProcessL() tests sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_010); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_011); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_012); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_013); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_014); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_015); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_016); sl@0: sl@0: // Memory tests sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_021); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_022); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_023); sl@0: AddTestStepL(new(ELeave) CTest_MMF_SbcCodec_U_024); sl@0: } sl@0: sl@0: