photosgallery/slideshow/engine/tsrc/t_cshwdefaulteffectmanager/t_cshwdefaulteffectmanager.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2007-2007 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:   Test for default effect order manager
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __T_CSHWDEFAULTEFFECTMANAGER_H__
       
    22 #define __T_CSHWDEFAULTEFFECTMANAGER_H__
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/CEUnitTestSuiteClass.h>
       
    26 #include <digia/eunit/EUnitDecorators.h>
       
    27 
       
    28 
       
    29 //  INTERNAL INCLUDES
       
    30 
       
    31 
       
    32 //  FORWARD DECLARATIONS
       
    33 class CShwDefaultEffectManager;
       
    34 class CShwCrossFadeEffect;
       
    35 class CShwZoomAndPanEffect;
       
    36 
       
    37 //  CLASS DEFINITION
       
    38 /**
       
    39  * TODO Auto-generated EUnit test suite
       
    40  *
       
    41  */
       
    42 NONSHARABLE_CLASS( T_CShwDefaultEffectManager )
       
    43 	: public CEUnitTestSuiteClass
       
    44     {
       
    45     public:     // Constructors and destructors
       
    46 
       
    47         /**
       
    48          * Two phase construction
       
    49          */
       
    50         static T_CShwDefaultEffectManager* NewL();
       
    51         static T_CShwDefaultEffectManager* NewLC();
       
    52         /**
       
    53          * Destructor
       
    54          */
       
    55         ~T_CShwDefaultEffectManager();
       
    56 
       
    57     private:    // Constructors and destructors
       
    58 
       
    59         T_CShwDefaultEffectManager();
       
    60         void ConstructL();
       
    61 
       
    62     private:    // New methods
       
    63 
       
    64         void EmptySetupL();
       
    65         void SetupL();
       
    66         
       
    67         void Teardown();
       
    68         
       
    69         void TestConstructionL();
       
    70         void TestAddEffectL();
       
    71         void TestAddNullEffectL();
       
    72         void TestNextEffectL();
       
    73         void TestProgrammedEffectL();
       
    74         void TestMultiProgrammedEffectL();
       
    75 
       
    76     private:    // Data
       
    77 		CShwDefaultEffectManager* iDefaultEffectManager;
       
    78         
       
    79         EUNIT_DECLARE_TEST_TABLE;
       
    80 
       
    81     };
       
    82 
       
    83 #endif      //  __T_CSHWDEFAULTEFFECTMANAGER_H__
       
    84 
       
    85 // End of file