sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // ECamEnhaceFuncTest.h sl@0: // sl@0: // sl@0: sl@0: #ifndef ECAMENHANCEFUNCTEST_H sl@0: #define ECAMENHANCEFUNCTEST_H sl@0: sl@0: #include sl@0: #include "ECamObserverTest.h" sl@0: #include "EnhanceFunctionality.h" sl@0: sl@0: sl@0: class RECamHistTest : public RTestStep sl@0: { sl@0: public: sl@0: static RECamHistTest* NewL(const TDesC& aTestStep); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: sl@0: // new sl@0: TVerdict DoTestStep_20L(); sl@0: TVerdict DoTestStep_21L(); sl@0: TVerdict DoTestStep_22L(); sl@0: sl@0: TVerdict DoHistTestStepL(); sl@0: sl@0: private: sl@0: RECamHistTest(const TDesC& aTestStep); sl@0: }; sl@0: sl@0: class RECamHistogramNotificationTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamHistogramNotificationTest* NewL(TBool aAllocTest); sl@0: sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: void ConstructL(); sl@0: sl@0: private: sl@0: RECamHistogramNotificationTest(TBool aAllocTest); sl@0: RArray iOriginalSet; sl@0: RArray iResultSet; sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: sl@0: // Overlay tests class sl@0: class RECamOvrlayTest : public RTestStep sl@0: { sl@0: public: sl@0: static RECamOvrlayTest* NewL(const TDesC& aTestStep); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: TVerdict DoTestStep_30L(); sl@0: TVerdict DoTestStep_31L(); sl@0: sl@0: TVerdict DoOverlayTestStepL(); sl@0: sl@0: private: sl@0: RECamOvrlayTest(const TDesC& aTestStep); sl@0: }; sl@0: sl@0: sl@0: // Snapshot test sl@0: class RECamSnapTest : public RTestStep sl@0: { sl@0: public: sl@0: static RECamSnapTest* NewL(const TDesC& aTestStep); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: sl@0: // new sl@0: TVerdict DoTestStep_40L(); sl@0: TVerdict DoTestStep_41L(); sl@0: TVerdict DoTestStep_42L(); sl@0: sl@0: TVerdict DoSnapTestStepL(); sl@0: sl@0: private: sl@0: RECamSnapTest(const TDesC& aTestStep); sl@0: }; sl@0: sl@0: class RECamSnapNotificationTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamSnapNotificationTest* NewL(TBool aAllocTest); sl@0: sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: void ConstructL(); sl@0: sl@0: private: sl@0: RECamSnapNotificationTest(TBool aAllocTest); sl@0: RArray iOriginalSet; sl@0: RArray iResultSet; sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: #endif // ECAMENHANCEFUNCTEST_H sl@0: