os/mm/imagingandcamerafws/cameraunittest/src/TSU_ECM_ADV/ECamPresetsTest.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/imagingandcamerafws/cameraunittest/src/TSU_ECM_ADV/ECamPresetsTest.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,83 @@
     1.4 +
     1.5 +// Copyright (c) 2004-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 ECamPresetsTest_H
    1.21 +#define ECamPresetsTest_H
    1.22 +
    1.23 +#include <testframework.h>
    1.24 +#include "ECamObserverTest.h"
    1.25 +
    1.26 +class RECamPresetsTest : public RTestStep
    1.27 +	{
    1.28 +public:
    1.29 +	static RECamPresetsTest* NewL(TBool aAllocTest);
    1.30 +protected:
    1.31 +	// from RTestStep;
    1.32 +	TVerdict DoTestStepL();
    1.33 +	TVerdict DoPresetsTestStepL();
    1.34 +private:
    1.35 +	RECamPresetsTest(TBool aAllocTest);
    1.36 +	
    1.37 +	};
    1.38 +
    1.39 +class RECamPresetsNotificationTest : public RECamObserverTest
    1.40 +	{
    1.41 +public:
    1.42 +	static RECamPresetsNotificationTest* NewL(TBool aAllocTest);
    1.43 +
    1.44 +protected:
    1.45 +	// from RTestStep;
    1.46 +	TVerdict DoTestStepL();
    1.47 +	void ConstructL();
    1.48 +	
    1.49 +private:
    1.50 +	RECamPresetsNotificationTest(TBool aAllocTest);
    1.51 +	RArray<TUid> iOriginalSet;
    1.52 +	RArray<TUid> iResultSet;
    1.53 +	TUid iInputEventUid;
    1.54 +	};
    1.55 +	
    1.56 +class RECamPresetsBaselineTest : public RECamObserverTest
    1.57 +	{
    1.58 +public:
    1.59 +	static RECamPresetsBaselineTest* NewL(TBool aAllocTest);
    1.60 +
    1.61 +protected:
    1.62 +	// from RTestStep;
    1.63 +	TVerdict DoTestStepL();
    1.64 +	void ConstructL();
    1.65 +	
    1.66 +private:
    1.67 +	RECamPresetsBaselineTest(TBool aAllocTest);
    1.68 +	RArray<TUid> iOriginalSet;
    1.69 +	RArray<TUid> iResultSet;
    1.70 +	TUid iInputEventUid;
    1.71 +	};
    1.72 +
    1.73 +	
    1.74 +class RECamPresetsNegTest : public RECamObserverTest
    1.75 +	{
    1.76 +public:
    1.77 +	static RECamPresetsNegTest* NewL(TBool aAllocTest);
    1.78 +protected:
    1.79 +	// from RTestStep;
    1.80 +	TVerdict DoTestStepL();
    1.81 +private:
    1.82 +	RECamPresetsNegTest(TBool aAllocTest);
    1.83 +	TUid iInputEventUid;
    1.84 +	};
    1.85 +#endif // ECamPresetsTest_H
    1.86 +