buildverification/smoketest/System/Inc/TestSystemBase.h
branchRCL_3
changeset 10 4ca382093dae
parent 5 6beaa9cf4752
child 11 493058e57c8c
equal deleted inserted replaced
5:6beaa9cf4752 10:4ca382093dae
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 #ifndef TEST_SYSTEM_BASE_H
       
    18 #define TEST_SYSTEM_BASE_H
       
    19 
       
    20 #include <eikunder.h>
       
    21 #include <test/testexecutelog.h>
       
    22 
       
    23 class CEikUndertaker;
       
    24 
       
    25 class CSystemTestBase : public MEikUndertakerObserver
       
    26 	{
       
    27 public:
       
    28 	static CSystemTestBase* NewL();
       
    29 	~CSystemTestBase();
       
    30 
       
    31 protected:	
       
    32 	CSystemTestBase();
       
    33 	void ConstructL();
       
    34 
       
    35 protected: // From MEikUndertakerObserver
       
    36 	void HandleThreadExitL(RThread& aThread);
       
    37 	
       
    38 protected:
       
    39 	CEikUndertaker* iUndertaker;
       
    40 	RTestExecuteLogServ iLogger;
       
    41 	TInt iExitReason;	
       
    42 	TExitCategoryName iExitCategory;
       
    43 	};
       
    44 
       
    45 
       
    46 #endif // TEST_SYSTEM_BASE_H