System/Inc/TestSystemBase.h
author Maciej Seroka <maciejs@symbian.org>
Thu, 21 Jan 2010 12:55:15 +0000
branchSymbian3
changeset 2 e904b452aa85
parent 1 8758140453c0
child 6 c108117318cb
permissions -rw-r--r--
Created Symbian3 branch

// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Symbian Foundation License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//


#ifndef TEST_SYSTEM_BASE_H
#define TEST_SYSTEM_BASE_H

#include <eikunder.h>
#include <TestExecuteLog.h>

class CEikUndertaker;

class CSystemTestBase : public MEikUndertakerObserver
	{
public:
	static CSystemTestBase* NewL();
	~CSystemTestBase();

protected:	
	CSystemTestBase();
	void ConstructL();

protected: // From MEikUndertakerObserver
	void HandleThreadExitL(RThread& aThread);
	
protected:
	CEikUndertaker* iUndertaker;
	RTestExecuteLogServ iLogger;
	TInt iExitReason;	
	TExitCategoryName iExitCategory;
	};


#endif // TEST_SYSTEM_BASE_H