mmtestenv/mmtestfwunittest/src/tsu_mmtsth12/TSU_MmTsthSuite12.cpp
author Dario Sestito <darios@symbian.org>
Tue, 20 Jul 2010 11:22:23 +0100
branchECAM_2
changeset 35 ca251dbe8e03
parent 0 40261b775718
permissions -rw-r--r--
Created ECAM_2 branch to host ISB development on ECAM stage 2

// 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_MmTsthStep12.h"
#include "TSU_MmTsth12.h"
#include "TSU_MmTsthSuite12.h"




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

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

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

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

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

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

	// add test steps
	AddTestStepL(RTestMmTsthU1201::NewL());
	AddTestStepL(RTestMmTsthU1202::NewL());
	AddTestStepL(RTestMmTsthU1203::NewL());

	AddTestStepL(RTestMmTsthU1221::NewL());
	AddTestStepL(RTestMmTsthU1222::NewL());
	}