mmtestenv/mmtestfwunittest/src/tsu_mmtsth01/TSU_MmTsthSuite01.cpp
author Tapani Kanerva <tapani.kanerva@nice.fi>
Tue, 16 Nov 2010 14:11:25 +0200
branchRCL_3
changeset 67 b35006be8823
parent 0 40261b775718
permissions -rw-r--r--
Bug 3673 - Seeking via grabbing the Music Player progress bar does not work.

// 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_MmTsth01.h"
#include "TSU_MmTsthSuite01.h"




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

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

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

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

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

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

	// add test steps
	AddTestStepL(RTestMmTsthU0101::NewL());
	AddTestStepL(RTestMmTsthU0102::NewL());
	AddTestStepL(RTestMmTsthU0103::NewL());
	AddTestStepL(RTestMmTsthU0104::NewL());
	AddTestStepL(RTestMmTsthU0111::NewL());
	AddTestStepL(RTestStepDummy::NewL());
	AddTestStepL(RPanicTestStepDummy::NewL());

	}