diff -r 000000000000 -r 40261b775718 mmtestenv/mmtestfwunittest/src/tsu_mmtsth22/TSU_MmTsthSuite22.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmtestenv/mmtestfwunittest/src/tsu_mmtsth22/TSU_MmTsthSuite22.cpp Tue Feb 02 01:56:55 2010 +0200 @@ -0,0 +1,63 @@ +// 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_MmTsth22.h" +#include "TSU_MmTsthSuite22.h" + + + + +// Create an instance of this test suite. + +// NewTSUMmTsthSuite22L is exported at ordinal 1. +// This provides the interface to allow the Test Framework +// to create instances of this test suite. +EXPORT_C CTSUMmTsthSuite22* NewTSUMmTsthSuite22L() + { + CTSUMmTsthSuite22* result = new (ELeave) CTSUMmTsthSuite22; + CleanupStack::PushL(result); + result->ConstructL(); + CleanupStack::Pop(); // result + return result; + } + +CTSUMmTsthSuite22::~CTSUMmTsthSuite22() + { + } + +_LIT(KTxtVersion,"0.22 (build 09-Sep-2002)"); + +// Get version +TPtrC CTSUMmTsthSuite22::GetVersion() const + { + return KTxtVersion(); + } + +// Initialiser for test suite. +// This creates all the test steps and stores them +// inside CTestSuite +void CTSUMmTsthSuite22::InitialiseL() + { + // store the name of this test suite + iSuiteName = _L("TSU_MMTSTH22"); + + // add test steps + AddTestStepL(RTestMmTsthU2201::NewL()); + }