photosgallery/viewframework/commandhandlers/commandhandlerbase/tsrc/ut_cglxmedialistcommandhandler/inc/ut_cglxmedialistcommandhandler.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2004 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:  CGlxMediaListCommandHandler unit test cases
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __UT_CGLXMEDIALISTCOMMANDHANDLER_H__
       
    22 #define __UT_CGLXMEDIALISTCOMMANDHANDLER_H__
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <CEUnitTestSuiteClass.h>
       
    26  
       
    27 //  INTERNAL INCLUDES
       
    28 
       
    29 
       
    30 //  FORWARD DECLARATIONS
       
    31 class CGlxMediaListCommandHandler;
       
    32 class _CGlxTestMediaList;
       
    33 
       
    34 #include <e32def.h>
       
    35 #ifndef NONSHARABLE_CLASS
       
    36     #define NONSHARABLE_CLASS(x) class x
       
    37 #endif
       
    38 
       
    39 //  CLASS DEFINITION
       
    40 /**
       
    41  *
       
    42  * EUnitWizard generated test class. 
       
    43  *
       
    44  */
       
    45 NONSHARABLE_CLASS( UT_CGlxMediaListCommandHandler )
       
    46      : public CEUnitTestSuiteClass
       
    47     {
       
    48     public:     // Constructors and destructors
       
    49 
       
    50         /**
       
    51          * Two phase construction
       
    52          */
       
    53         static UT_CGlxMediaListCommandHandler* NewL();
       
    54         static UT_CGlxMediaListCommandHandler* NewLC();
       
    55         /**
       
    56          * Destructor
       
    57          */
       
    58         ~UT_CGlxMediaListCommandHandler();
       
    59 
       
    60     private:    // Constructors and destructors
       
    61 
       
    62         UT_CGlxMediaListCommandHandler();
       
    63         void ConstructL();
       
    64 
       
    65     private:    // New methods
       
    66 
       
    67          void SetupL();
       
    68 
       
    69          void Teardown();
       
    70 
       
    71          void Test_SelectionLengthL();
       
    72          void Test_IsDisabledL();
       
    73 
       
    74     private:    // Data
       
    75 
       
    76         EUNIT_DECLARE_TEST_TABLE; 
       
    77 
       
    78         _CGlxTestMediaList* iML;
       
    79     };
       
    80 
       
    81 #endif      //  __UT_CGLXMEDIALISTCOMMANDHANDLER_H__
       
    82 
       
    83 // End of file