photosgallery/viewframework/medialists/tsrc/ut_glxerrormanager/ut_glxerrormanager.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Testing GlxErrorManager
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __UT_GLXERRORMANAGER_H__
       
    22 #define __UT_GLXERRORMANAGER_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 CGlxMedia;
       
    34 
       
    35 //  CLASS DEFINITION
       
    36 /**
       
    37  * TODO Auto-generated EUnit test suite
       
    38  *
       
    39  */
       
    40 NONSHARABLE_CLASS( ut_glxerrormanager )
       
    41 	: public CEUnitTestSuiteClass
       
    42     {
       
    43     public:     // Constructors and destructors
       
    44 
       
    45         /**
       
    46          * Two phase construction
       
    47          */
       
    48         static ut_glxerrormanager* NewL();
       
    49         static ut_glxerrormanager* NewLC();
       
    50         /**
       
    51          * Destructor
       
    52          */
       
    53         ~ut_glxerrormanager();
       
    54 
       
    55     private:    // Constructors and destructors
       
    56 
       
    57         ut_glxerrormanager();
       
    58         void ConstructL();
       
    59 
       
    60     private:    // New methods
       
    61 
       
    62          void SetupL();
       
    63         
       
    64          void Teardown();
       
    65         
       
    66          void T_Test1L();
       
    67          void T_Test2L();
       
    68          void T_Test3L();
       
    69          void T_Test4L();
       
    70          void T_Test5L();
       
    71          void T_Test6L();
       
    72         
       
    73 
       
    74     private:    // Data
       
    75 		
       
    76 
       
    77         EUNIT_DECLARE_TEST_TABLE; 
       
    78 
       
    79         CGlxMedia* iItem1;
       
    80         CGlxMedia* iItem2;
       
    81         CGlxMedia* iItem3;
       
    82         CGlxMedia* iItem4;
       
    83         CGlxMedia* iItem5;
       
    84         CGlxMedia* iItem6;
       
    85     };
       
    86 
       
    87 #endif      //  __UT_GLXERRORMANAGER_H__
       
    88 
       
    89 // End of file