sl@0: 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: // sl@0: sl@0: #ifndef ECamImageProcessingTest_H sl@0: #define ECamImageProcessingTest_H sl@0: sl@0: #include sl@0: #include "ECamObserverTest.h" sl@0: sl@0: class RECamImageProcessingTest : public RTestStep sl@0: { sl@0: public: sl@0: static RECamImageProcessingTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: TVerdict DoImageProcessingTestStepL(); sl@0: private: sl@0: RECamImageProcessingTest(TBool aAllocTest); sl@0: }; sl@0: sl@0: class RECamImageProcDefaultsTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/ sl@0: { sl@0: public: sl@0: static RECamImageProcDefaultsTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: TBool CompareUidArrays(RArray& firstArray, RArray& secondArray); sl@0: private: sl@0: RECamImageProcDefaultsTest(TBool aAllocTest); sl@0: void TestColorSwapL(CCamera::CCameraImageProcessing* aImageProcess, TVerdict& aResult); sl@0: void TestColorAccentL(CCamera::CCameraImageProcessing* aImageProcess, TVerdict& aResult); sl@0: private: sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: class RECamImageProcRangesTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/ sl@0: { sl@0: public: sl@0: static RECamImageProcRangesTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: private: sl@0: RECamImageProcRangesTest(TBool aAllocTest); sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: class RECamImageProcNegTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/ sl@0: { sl@0: public: sl@0: static RECamImageProcNegTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: private: sl@0: RECamImageProcNegTest(TBool aAllocTest); sl@0: TUid iInputEventUid; sl@0: }; sl@0: sl@0: class RECamImageProcBaselineTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/ sl@0: { sl@0: public: sl@0: static RECamImageProcBaselineTest* NewL(TBool aAllocTest); sl@0: protected: sl@0: // from RTestStep; sl@0: TVerdict DoTestStepL(); sl@0: TBool CompareUidArrays(RArray& firstArray, RArray& secondArray); sl@0: private: sl@0: RECamImageProcBaselineTest(TBool aAllocTest); sl@0: TUid iInputEventUid; sl@0: }; sl@0: #endif // ECamImageProcessingTest_H