1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/imagingandcamerafws/cameraunittest/src/TSU_ECM_ADV/ECamEnhanceFuncTest.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,119 @@
1.4 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// ECamEnhaceFuncTest.h
1.18 +//
1.19 +//
1.20 +
1.21 +#ifndef ECAMENHANCEFUNCTEST_H
1.22 +#define ECAMENHANCEFUNCTEST_H
1.23 +
1.24 +#include <testframework.h>
1.25 +#include "ECamObserverTest.h"
1.26 +#include "EnhanceFunctionality.h"
1.27 +
1.28 +
1.29 +class RECamHistTest : public RTestStep
1.30 + {
1.31 +public:
1.32 + static RECamHistTest* NewL(const TDesC& aTestStep);
1.33 +protected:
1.34 + // from RTestStep;
1.35 + TVerdict DoTestStepL();
1.36 +
1.37 + // new
1.38 + TVerdict DoTestStep_20L();
1.39 + TVerdict DoTestStep_21L();
1.40 + TVerdict DoTestStep_22L();
1.41 +
1.42 + TVerdict DoHistTestStepL();
1.43 +
1.44 +private:
1.45 + RECamHistTest(const TDesC& aTestStep);
1.46 + };
1.47 +
1.48 +class RECamHistogramNotificationTest : public RECamObserverTest
1.49 + {
1.50 +public:
1.51 + static RECamHistogramNotificationTest* NewL(TBool aAllocTest);
1.52 +
1.53 +protected:
1.54 + // from RTestStep;
1.55 + TVerdict DoTestStepL();
1.56 + void ConstructL();
1.57 +
1.58 +private:
1.59 + RECamHistogramNotificationTest(TBool aAllocTest);
1.60 + RArray<TUid> iOriginalSet;
1.61 + RArray<TUid> iResultSet;
1.62 + TUid iInputEventUid;
1.63 + };
1.64 +
1.65 +
1.66 +// Overlay tests class
1.67 +class RECamOvrlayTest : public RTestStep
1.68 + {
1.69 +public:
1.70 + static RECamOvrlayTest* NewL(const TDesC& aTestStep);
1.71 +protected:
1.72 + // from RTestStep;
1.73 + TVerdict DoTestStepL();
1.74 + TVerdict DoTestStep_30L();
1.75 + TVerdict DoTestStep_31L();
1.76 +
1.77 + TVerdict DoOverlayTestStepL();
1.78 +
1.79 +private:
1.80 + RECamOvrlayTest(const TDesC& aTestStep);
1.81 + };
1.82 +
1.83 +
1.84 +// Snapshot test
1.85 +class RECamSnapTest : public RTestStep
1.86 + {
1.87 +public:
1.88 + static RECamSnapTest* NewL(const TDesC& aTestStep);
1.89 +protected:
1.90 + // from RTestStep;
1.91 + TVerdict DoTestStepL();
1.92 +
1.93 + // new
1.94 + TVerdict DoTestStep_40L();
1.95 + TVerdict DoTestStep_41L();
1.96 + TVerdict DoTestStep_42L();
1.97 +
1.98 + TVerdict DoSnapTestStepL();
1.99 +
1.100 +private:
1.101 + RECamSnapTest(const TDesC& aTestStep);
1.102 + };
1.103 +
1.104 +class RECamSnapNotificationTest : public RECamObserverTest
1.105 + {
1.106 +public:
1.107 + static RECamSnapNotificationTest* NewL(TBool aAllocTest);
1.108 +
1.109 +protected:
1.110 + // from RTestStep;
1.111 + TVerdict DoTestStepL();
1.112 + void ConstructL();
1.113 +
1.114 +private:
1.115 + RECamSnapNotificationTest(TBool aAllocTest);
1.116 + RArray<TUid> iOriginalSet;
1.117 + RArray<TUid> iResultSet;
1.118 + TUid iInputEventUid;
1.119 + };
1.120 +
1.121 +#endif // ECAMENHANCEFUNCTEST_H
1.122 +