diff -r 7259cf1302ad -r 169364e7e4b4 stif/TestEngine/inc/STIFTestFrameworkSettings.h --- a/stif/TestEngine/inc/STIFTestFrameworkSettings.h Tue Jul 06 16:05:13 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,154 +0,0 @@ -/* -* Copyright (c) 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: This file contains the header file of the -* CSTIFTestFrameworkSettings. -* -*/ - -#ifndef STIFTESTFRAMEWORKSETTINGS_H -#define STIFTESTFRAMEWORKSETTINGS_H - -// INCLUDES -#include -#include -#include - -// CONSTANTS -// None - -// MACROS -// None - -// DATA TYPES -// None - -// FUNCTION PROTOTYPES -// None - -// FORWARD DECLARATIONS -// None - -// CLASS DECLARATION - -// DESCRIPTION -// CSTIFTestFrameworkSettings is a STIF Test Framework Test Engine class. -// Class contains different operations of settings parsing from Test Framework -// initíalization file. - -class CSTIFTestFrameworkSettings - :public CBase - { - public: // Enumerations - - private: // Enumerations - - public: // Constructors and destructor - - /** - * Two-phased constructor. - */ - IMPORT_C static CSTIFTestFrameworkSettings* NewL(); - - /** - * Destructor. - */ - IMPORT_C virtual ~CSTIFTestFrameworkSettings(); - - public: // New functions - - /** - * Get report mode settings from STIF TestFramework's ini file. - */ - IMPORT_C TInt GetReportModeL( CStifSectionParser* aSectionParser, - TPtrC aTag, - TUint& aSetting ); - - /** - * Get file settings from STIF TestFramework's ini file. - */ - IMPORT_C TInt GetFileSetting( CStifSectionParser* aSectionParser, - TPtrC aTag, - TPtrC& aSetting ); - - /** - * Get format setting from STIF TestFramework's ini file. - */ - IMPORT_C TInt GetFormatL( CStifSectionParser* aSectionParser, - TPtrC aTag, - CStifLogger::TLoggerType& aLoggerType ); - - /** - * Get output setting from STIF TestFramework's ini file. - */ - IMPORT_C TInt GetOutputL( CStifSectionParser* aSectionParser, - TPtrC aTag, - CStifLogger::TOutput& aOutput ); - - /** - * Get boolean type of settings from STIF TestFramework's ini file. - */ - IMPORT_C TInt GetBooleanSettingsL( CStifSectionParser* aSectionParser, - TPtrC aTag, - TBool& aOverwrite ); - - /** - * Get file creation mode setting from STIF TestFramework's ini file. - */ - IMPORT_C TInt GetOverwriteL( CStifSectionParser* aSectionParser, - TPtrC aTag, - TBool& aOverwrite ); - - /** - * Get format setting from STIF TestFramework's ini file. - */ - IMPORT_C TInt GetFormatL( CStifSectionParser* aSectionParser, - TPtrC aTag, - CStifLogger::TLoggerType& aLoggerType, - TBool &aXML ); - - public: // Functions from base classes - - protected: // New functions - - protected: // Functions from base classes - - private: - - /** - * C++ default constructor. - */ - CSTIFTestFrameworkSettings(); - - /** - * By default Symbian OS constructor is private. - */ - void ConstructL(); - - public: // Data - - protected: // Data - - private: // Data - - public: // Friend classes - - protected: // Friend classes - - private: // Friend classes - - }; - -#endif // STIFTESTFRAMEWORKSETTINGS_H - -// End of File