mmtestenv/mmtestfwunittest/src/tsu_mmtsth22/TSU_MmTsthSuite22.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 01:56:55 +0200
changeset 0 40261b775718
permissions -rw-r--r--
Revision: 201003 Kit: 201005

// 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_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());
	}