os/mm/imagingandcamerafws/cameraunittest/src/TSU_ECM_ADV/ECamImageProcessingTest.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/imagingandcamerafws/cameraunittest/src/TSU_ECM_ADV/ECamImageProcessingTest.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,87 @@
1.4 +
1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// under the terms of "Eclipse Public License v1.0"
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +
1.20 +#ifndef ECamImageProcessingTest_H
1.21 +#define ECamImageProcessingTest_H
1.22 +
1.23 +#include <testframework.h>
1.24 +#include "ECamObserverTest.h"
1.25 +
1.26 +class RECamImageProcessingTest : public RTestStep
1.27 + {
1.28 +public:
1.29 + static RECamImageProcessingTest* NewL(TBool aAllocTest);
1.30 +protected:
1.31 + // from RTestStep;
1.32 + TVerdict DoTestStepL();
1.33 + TVerdict DoImageProcessingTestStepL();
1.34 +private:
1.35 + RECamImageProcessingTest(TBool aAllocTest);
1.36 + };
1.37 +
1.38 +class RECamImageProcDefaultsTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/
1.39 + {
1.40 +public:
1.41 + static RECamImageProcDefaultsTest* NewL(TBool aAllocTest);
1.42 +protected:
1.43 + // from RTestStep;
1.44 + TVerdict DoTestStepL();
1.45 + TBool CompareUidArrays(RArray<TUid>& firstArray, RArray<TUid>& secondArray);
1.46 +private:
1.47 + RECamImageProcDefaultsTest(TBool aAllocTest);
1.48 + void TestColorSwapL(CCamera::CCameraImageProcessing* aImageProcess, TVerdict& aResult);
1.49 + void TestColorAccentL(CCamera::CCameraImageProcessing* aImageProcess, TVerdict& aResult);
1.50 +private:
1.51 + TUid iInputEventUid;
1.52 + };
1.53 +
1.54 +class RECamImageProcRangesTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/
1.55 + {
1.56 +public:
1.57 + static RECamImageProcRangesTest* NewL(TBool aAllocTest);
1.58 +protected:
1.59 + // from RTestStep;
1.60 + TVerdict DoTestStepL();
1.61 +private:
1.62 + RECamImageProcRangesTest(TBool aAllocTest);
1.63 + TUid iInputEventUid;
1.64 + };
1.65 +
1.66 +class RECamImageProcNegTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/
1.67 + {
1.68 +public:
1.69 + static RECamImageProcNegTest* NewL(TBool aAllocTest);
1.70 +protected:
1.71 + // from RTestStep;
1.72 + TVerdict DoTestStepL();
1.73 +private:
1.74 + RECamImageProcNegTest(TBool aAllocTest);
1.75 + TUid iInputEventUid;
1.76 + };
1.77 +
1.78 +class RECamImageProcBaselineTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/
1.79 + {
1.80 +public:
1.81 + static RECamImageProcBaselineTest* NewL(TBool aAllocTest);
1.82 +protected:
1.83 + // from RTestStep;
1.84 + TVerdict DoTestStepL();
1.85 + TBool CompareUidArrays(RArray<TUid>& firstArray, RArray<TUid>& secondArray);
1.86 +private:
1.87 + RECamImageProcBaselineTest(TBool aAllocTest);
1.88 + TUid iInputEventUid;
1.89 + };
1.90 +#endif // ECamImageProcessingTest_H