os/mm/imagingandcamerafws/cameraunittest/src/TSU_ECM_ADV/ECamImageProcessingTest.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 
     2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 // All rights reserved.
     4 // This component and the accompanying materials are made available
     5 // under the terms of "Eclipse Public License v1.0"
     6 // which accompanies this distribution, and is available
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 //
     9 // Initial Contributors:
    10 // Nokia Corporation - initial contribution.
    11 //
    12 // Contributors:
    13 //
    14 // Description:
    15 //
    16 
    17 #ifndef ECamImageProcessingTest_H
    18 #define ECamImageProcessingTest_H
    19 
    20 #include <testframework.h>
    21 #include "ECamObserverTest.h"
    22 
    23 class RECamImageProcessingTest : public RTestStep
    24 	{
    25 public:
    26 	static RECamImageProcessingTest* NewL(TBool aAllocTest);
    27 protected:
    28 	// from RTestStep;
    29 	TVerdict DoTestStepL();
    30 	TVerdict DoImageProcessingTestStepL();
    31 private:
    32 	RECamImageProcessingTest(TBool aAllocTest);	
    33 	};
    34 	
    35 class RECamImageProcDefaultsTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/
    36 	{
    37 public:
    38 	static RECamImageProcDefaultsTest* NewL(TBool aAllocTest);
    39 protected:
    40 	// from RTestStep;
    41 	TVerdict DoTestStepL();
    42 	TBool CompareUidArrays(RArray<TUid>& firstArray, RArray<TUid>& secondArray);
    43 private:
    44 	RECamImageProcDefaultsTest(TBool aAllocTest);
    45 	void TestColorSwapL(CCamera::CCameraImageProcessing* aImageProcess, TVerdict& aResult);
    46 	void TestColorAccentL(CCamera::CCameraImageProcessing* aImageProcess, TVerdict& aResult);
    47 private:
    48 	TUid iInputEventUid;	
    49 	};
    50 
    51 class RECamImageProcRangesTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/
    52 	{
    53 public:
    54 	static RECamImageProcRangesTest* NewL(TBool aAllocTest);
    55 protected:
    56 	// from RTestStep;
    57 	TVerdict DoTestStepL();
    58 private:
    59 	RECamImageProcRangesTest(TBool aAllocTest);	
    60 	TUid iInputEventUid;	
    61 	};
    62 
    63 class RECamImageProcNegTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/
    64 	{
    65 public:
    66 	static RECamImageProcNegTest* NewL(TBool aAllocTest);
    67 protected:
    68 	// from RTestStep;
    69 	TVerdict DoTestStepL();
    70 private:
    71 	RECamImageProcNegTest(TBool aAllocTest);
    72 	TUid iInputEventUid;	
    73 	};	
    74 	
    75 class RECamImageProcBaselineTest : public RECamObserverTest /*RTestStep, public MCameraObserver2*/
    76 	{
    77 public:
    78 	static RECamImageProcBaselineTest* NewL(TBool aAllocTest);
    79 protected:
    80 	// from RTestStep;
    81 	TVerdict DoTestStepL();
    82 	TBool CompareUidArrays(RArray<TUid>& firstArray, RArray<TUid>& secondArray);
    83 private:
    84 	RECamImageProcBaselineTest(TBool aAllocTest);
    85 	TUid iInputEventUid;	
    86 	};	
    87 #endif // ECamImageProcessingTest_H