camerasrv_plat/camera_application_engine_api/tsrc/inc/StifCaeTestTop.h
branchRCL_3
changeset 20 e3cdd00b5ae3
parent 19 18fa9327a158
child 21 27fe719c32e6
--- a/camerasrv_plat/camera_application_engine_api/tsrc/inc/StifCaeTestTop.h	Thu Aug 19 10:05:54 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,135 +0,0 @@
-/*
-* Copyright (c) 2002 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:  StifCaeTestTop.h
-*
-*
-*/
-
-
-
-#ifndef DEMOMODULE_H
-#define DEMOMODULE_H
-
-// INCLUDES
-#if defined (_MSC_VER) && (_MSC_VER >= 1000)
-#pragma once
-#endif
-
-#include <StifTestModule.h>
-#include "TestFrameWork/testSuite.h"
-
-// CONSTANTS
-// None
-
-// MACROS
-// None
-
-// DATA TYPES
-// None
-
-// FUNCTION PROTOTYPES
-// None
-
-// FORWARD DECLARATIONS
-class CTestModule;
-class TCaseInfo;
-
-// CLASS DECLARATION
- 
-
-// DESCRIPTION
-// Demo testmodule class definition.
-NONSHARABLE_CLASS( CTestModule ) 
-        :public CTestModuleBase
-    {
-    public: // Enumerations
-    	// None
-
-    private: // Enumerations
-    	// None
-
-    public: // Constructors and destructor
-        
-        /**
-        * Two-phased constructor.
-        */
-        static CTestModule* NewL();
-        
-        /**
-        * Destructor.
-        */
-        ~CTestModule();
-
-    public: // New functions
-        // None
-        
-    public: // Functions from base classes
-
-        /**
-        * Test cases are inquired from the Test Module by calling GetTestCases. 
-        * Test cases are appended to RPointerArray<TTestCaseInfo>& aTestCases
-        * that is a list consisting of several TTestCaseInfo objects.
-        */
-        TInt GetTestCasesL( const TFileName& aConfigFile, 
-            RPointerArray<TTestCaseInfo>& aTestCases );
-        /**
-        * RunTestCase is used to run an individual test case.
-        */
-        TInt RunTestCaseL( const TInt aCaseNumber, 
-                          const TFileName& aConfig,
-                          TTestResult& aResult );
-        
-    protected: // New functions
-    	// None
-    	
-    protected: // Functions from base classes
-        // None
-    	
-    private:
-
-        /**
-        * C++ default constructor.
-        */
-        CTestModule();
-
-        /**
-        * Symbian OS constructor.
-        */
-        void ConstructL();        
-
-        /**
-        * Function returning test case name and pointer to test case function
-        */
-        const TCaseInfo Case ( const TInt aCaseNumber ) const;
-
-        void SetAllocFailureSimulation( RHeap::TAllocFail aAllocFailureType, TInt aAllocFailureRate );
-        void AllocFailureSimulation ( TBool aSwitchedOn );
-
-        void RunTestCaseInOOMLoopL( const TInt aCaseNumber, TTestResult& aResult );
-            
-    private: // Data
-
-       CTestSuite *iTestSuite ;
-       CActiveScheduler* iScheduler;
-       RHeap::TAllocFail iAllocFailureType;
-       TInt iAllocFailureRate;    	    	  	
-       TInt iCurrentAllocFailureRate;    	    	  	
-    };
-
-
-
-
-#endif // DEMOMODULE_H
-
-// End of File