diff -r 000000000000 -r 4e91876724a2 photosgallery/slideshow/engine/tsrc/t_cshwdefaulteffectmanager/t_cshwdefaulteffectmanager.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/photosgallery/slideshow/engine/tsrc/t_cshwdefaulteffectmanager/t_cshwdefaulteffectmanager.h Thu Dec 17 08:45:44 2009 +0200 @@ -0,0 +1,85 @@ +/* +* Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Test for default effect order manager + * +*/ + + + + +#ifndef __T_CSHWDEFAULTEFFECTMANAGER_H__ +#define __T_CSHWDEFAULTEFFECTMANAGER_H__ + +// EXTERNAL INCLUDES +#include +#include + + +// INTERNAL INCLUDES + + +// FORWARD DECLARATIONS +class CShwDefaultEffectManager; +class CShwCrossFadeEffect; +class CShwZoomAndPanEffect; + +// CLASS DEFINITION +/** + * TODO Auto-generated EUnit test suite + * + */ +NONSHARABLE_CLASS( T_CShwDefaultEffectManager ) + : public CEUnitTestSuiteClass + { + public: // Constructors and destructors + + /** + * Two phase construction + */ + static T_CShwDefaultEffectManager* NewL(); + static T_CShwDefaultEffectManager* NewLC(); + /** + * Destructor + */ + ~T_CShwDefaultEffectManager(); + + private: // Constructors and destructors + + T_CShwDefaultEffectManager(); + void ConstructL(); + + private: // New methods + + void EmptySetupL(); + void SetupL(); + + void Teardown(); + + void TestConstructionL(); + void TestAddEffectL(); + void TestAddNullEffectL(); + void TestNextEffectL(); + void TestProgrammedEffectL(); + void TestMultiProgrammedEffectL(); + + private: // Data + CShwDefaultEffectManager* iDefaultEffectManager; + + EUNIT_DECLARE_TEST_TABLE; + + }; + +#endif // __T_CSHWDEFAULTEFFECTMANAGER_H__ + +// End of file