sl@0: sl@0: // Copyright (c) 2004-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: // sl@0: sl@0: #ifndef ECamAdvSetTest_H sl@0: #define ECamAdvSetTest_H sl@0: sl@0: #include sl@0: #include sl@0: #include "ECamObserverTest.h" sl@0: sl@0: class RECamAdvSetTest : public RTestStep sl@0: { sl@0: public: sl@0: static RECamAdvSetTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: TVerdict DoAdvTestStepL(); sl@0: private: sl@0: RECamAdvSetTest(TBool aAllocTest); sl@0: }; sl@0: sl@0: class RECamAdvSetNotificationTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamAdvSetNotificationTest* 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: RECamAdvSetNotificationTest(TBool aAllocTest); sl@0: }; sl@0: sl@0: class RECamAdvSetDefaultsTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamAdvSetDefaultsTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: sl@0: private: sl@0: void TestISOTypesL(CCamera::CCameraAdvancedSettings* aSettings, CCamera::CCameraAdvancedSettings::TISORateType aIsoRateType, RArray aSupportedIsoRates, TVerdict& aResult); sl@0: private: sl@0: RECamAdvSetDefaultsTest(TBool aAllocTest); sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: class RECamAdvSetGettersTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamAdvSetGettersTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: private: sl@0: RECamAdvSetGettersTest(TBool aAllocTest); sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: class RECamAdvSetTwoCamTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamAdvSetTwoCamTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: private: sl@0: RECamAdvSetTwoCamTest(TBool aAllocTest); sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: class RECamAdvSetNegTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamAdvSetNegTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: private: sl@0: RECamAdvSetNegTest(TBool aAllocTest); sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: class RECamAdvSetBaselineTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamAdvSetBaselineTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: private: sl@0: RECamAdvSetBaselineTest(TBool aAllocTest); sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: class RECamAdvSetTest2 : public RTestStep sl@0: { sl@0: public: sl@0: static RECamAdvSetTest2* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: void RatioSubStepL(CCamera::CCameraAdvancedSettings* aCamera, TInt aSuppRange, TInt aTestValue, TInt aExpValues); sl@0: void FlashSubStepL(CCamera::CCameraAdvancedSettings*, TInt aSuppRange, TInt aTestValue, TInt aExpValues); sl@0: void OvrSubStepL(CCamera& aCamera, TInt aSuppRange, TInt aTestValue, TInt aExpValues); sl@0: private: sl@0: RECamAdvSetTest2(TBool aAllocTest); sl@0: }; sl@0: sl@0: class RECamContinuousZoomAllocTest : public RECamContinousZoomObserverTest sl@0: { sl@0: public: sl@0: static RECamContinuousZoomAllocTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: TVerdict DoAllocTestStepL(); sl@0: private: sl@0: RECamContinuousZoomAllocTest(TBool aAllocTest); sl@0: }; sl@0: sl@0: class RECamContinuousZoomTest : public RECamContinousZoomObserverTest sl@0: { sl@0: public: sl@0: static RECamContinuousZoomTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: private: sl@0: RECamContinuousZoomTest(TBool aAllocTest); sl@0: }; sl@0: sl@0: class RECamDependantSupportedDriveModesTest : public RTestStep sl@0: { sl@0: public: sl@0: static RECamDependantSupportedDriveModesTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: private: sl@0: RECamDependantSupportedDriveModesTest(TBool aAllocTest); sl@0: }; sl@0: sl@0: #endif // ECamAdvSetTest_H