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 ECamPresetsTest_H sl@0: #define ECamPresetsTest_H sl@0: sl@0: #include sl@0: #include "ECamObserverTest.h" sl@0: sl@0: class RECamPresetsTest : public RTestStep sl@0: { sl@0: public: sl@0: static RECamPresetsTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: TVerdict DoPresetsTestStepL(); sl@0: private: sl@0: RECamPresetsTest(TBool aAllocTest); sl@0: sl@0: }; sl@0: sl@0: class RECamPresetsNotificationTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamPresetsNotificationTest* 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: RECamPresetsNotificationTest(TBool aAllocTest); sl@0: RArray iOriginalSet; sl@0: RArray iResultSet; sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: class RECamPresetsBaselineTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamPresetsBaselineTest* 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: RECamPresetsBaselineTest(TBool aAllocTest); sl@0: RArray iOriginalSet; sl@0: RArray iResultSet; sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: sl@0: class RECamPresetsNegTest : public RECamObserverTest sl@0: { sl@0: public: sl@0: static RECamPresetsNegTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: private: sl@0: RECamPresetsNegTest(TBool aAllocTest); sl@0: TUid iInputEventUid; sl@0: }; sl@0: #endif // ECamPresetsTest_H sl@0: