mmtestenv/mmtestfwunittest/src/tsu_mmtsth02/TSU_MmTsthSuite02.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 22:02:55 +0300
changeset 51 613e4e943120
parent 0 40261b775718
permissions -rw-r--r--
Revision: 201035 Kit: 201035

// 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 <e32base.h>

// Test system includes
#include <testframework.h>
#include "TSU_MmTsth02.h"
#include "TSU_MmTsthSuite02.h"




// Create an instance of this test suite.
// NewTSUMmTsthSuite02L is exported at ordinal 1.
// This provides the interface to allow the Test Framework
// to create instances of this test suite.
EXPORT_C CTSUMmTsthSuite02* NewTSUMmTsthSuite02L() 
    { 
	CTSUMmTsthSuite02* result = new (ELeave) CTSUMmTsthSuite02;
	CleanupStack::PushL(result);
	result->ConstructL();
	CleanupStack::Pop(); // result
	return result;
    }

// destructor
CTSUMmTsthSuite02::~CTSUMmTsthSuite02()
	{
	}

_LIT(KTxtVersion,"0.22 (build 09-Sep-2002)");

// Get test suite version.
TPtrC CTSUMmTsthSuite02::GetVersion() const
	{
	return KTxtVersion();
	}

// Initialiser for test suite.
// This creates all the test steps and stores them
// inside CTestSuite
void CTSUMmTsthSuite02::InitialiseL()
	{

	// store the name of this test suite
	iSuiteName = _L("TSU_MMTSTH02");

	// add test steps
	AddTestStepL(RTestMmTsthU0201::NewL());
	AddTestStepL(RTestMmTsthU0202::NewL());
	AddTestStepL(RTestMmTsthU0203::NewL());
	}