imagingtestenv/imagingtestfw/Source/TestFramework/TestFrameworkMain.h
changeset 0 5752a19fdefe
equal deleted inserted replaced
-1:000000000000 0:5752a19fdefe
       
     1 // Copyright (c) 2002-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 #ifndef __TESTFRAMEWORKMAIN_H__
       
    17 #define __TESTFRAMEWORKMAIN_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include "TestFramework.h"
       
    21 
       
    22 
       
    23 /**
       
    24  *
       
    25  * Main class for Test Framework
       
    26  *
       
    27  * @xxxx
       
    28  *
       
    29  */
       
    30 class CTestFrameworkMain : public CBase
       
    31 	{
       
    32 public:
       
    33 	static CTestFrameworkMain* NewLC();
       
    34 	~CTestFrameworkMain();
       
    35 	void StartTestingL(const TDesC& aCmdLine);
       
    36 	CLog* LogClient() const;
       
    37 
       
    38 private:
       
    39 	CTestFrameworkMain();
       
    40 	void ConstructL();
       
    41 
       
    42 	void RunTestScriptL(const TDesC& aCmdLine);
       
    43 	void UsageL();
       
    44 
       
    45 private:
       
    46 	CLog* iLogClient;
       
    47 	TUint iLogMode;
       
    48 	CTestUtils* iTestUtils;
       
    49 	TInt64 iGuardTimer;
       
    50 	TBuf<64> iTestMatchString;
       
    51 	};
       
    52 
       
    53 #endif // __TESTFRAMEWORKMAIN_H__
       
    54