diff -r 000000000000 -r bde4ae8d615e os/mm/mmtestenv/mmtestfwunittest/src/tsu_mmtsth03/TSU_MmTsthSuite03.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/mm/mmtestenv/mmtestfwunittest/src/tsu_mmtsth03/TSU_MmTsthSuite03.cpp Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,74 @@ +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +// EPOC includes +#include + +// Test system includes +#include +#include "TSU_MmTsthStep03.h" +#include "TSU_MmTsth03.h" +#include "TSU_MmTsthSuite03.h" + + + + +// Create an instance of this test suite. +// NewTSUMmTsthSuite03L is exported at ordinal 1. +// This provides the interface to allow the Test Framework +// to create instances of this test suite. +EXPORT_C CTSUMmTsthSuite03* NewTSUMmTsthSuite03L() + { + CTSUMmTsthSuite03* result = new (ELeave) CTSUMmTsthSuite03; + CleanupStack::PushL(result); + result->ConstructL(); + CleanupStack::Pop(); // result + return result; + } + +// destructor +CTSUMmTsthSuite03::~CTSUMmTsthSuite03() + { + } + +_LIT(KTxtVersion,"0.22 (build 09-Sep-2002)"); + +// Get test suite version. +TPtrC CTSUMmTsthSuite03::GetVersion() const + { + return KTxtVersion(); + } + +// Initialiser for test suite. +// This creates all the test steps and stores them +// inside CTestSuite +void CTSUMmTsthSuite03::InitialiseL() + { + + // store the name of this test suite + iSuiteName = _L("TSU_MMTSTH03"); + + // add test steps + AddTestStepL(RTestMmTsthU0301::NewL()); + AddTestStepL(RTestMmTsthU0302::NewL()); + AddTestStepL(RTestMmTsthU0303::NewL()); + AddTestStepL(RTestMmTsthU0304::NewL()); + AddTestStepL(RTestMmTsthU0305::NewL()); + + AddTestStepL(RTestMmTsthU0311::NewL()); + } + + +// -------------------------