photosgallery/viewframework/commandhandlers/commandhandlerupnp/tsrc/t_glxupnprenderer/inc/t_glxupnprenderer.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:  CommandHandlerUpNP unit test cases for upnp renderer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __T_GLXUPNPRENDERER_H__
       
    22 #define __T_GLXUPNPRENDERER_H__
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <CEUnitTestSuiteClass.h>
       
    26 #include <EUnitDecorators.h>
       
    27 
       
    28 
       
    29 //  INTERNAL INCLUDES
       
    30 
       
    31 
       
    32 //  FORWARD DECLARATIONS
       
    33 
       
    34 
       
    35 //  CLASS DEFINITION
       
    36 /**
       
    37  * TODO Auto-generated EUnit test suite
       
    38  *
       
    39  */
       
    40 NONSHARABLE_CLASS( t_glxupnprenderer )
       
    41 	: public CEUnitTestSuiteClass
       
    42     {
       
    43     public:     // Constructors and destructors
       
    44 
       
    45         /**
       
    46          * Two phase construction
       
    47          */
       
    48         static t_glxupnprenderer* NewL();
       
    49         static t_glxupnprenderer* NewLC();
       
    50         /**
       
    51          * Destructor
       
    52          */
       
    53         ~t_glxupnprenderer();
       
    54 
       
    55     private:    // Constructors and destructors
       
    56 
       
    57         t_glxupnprenderer();
       
    58         void ConstructL();
       
    59 
       
    60     private:    // New methods
       
    61 
       
    62          void T_StartShowingL();
       
    63          
       
    64          void T_StopShowingL();         
       
    65          
       
    66          
       
    67         
       
    68          void T_TestL();
       
    69          
       
    70          void T_ShowVideoL();
       
    71          
       
    72          void TearDown();
       
    73          
       
    74          //Status of the rendere
       
    75          
       
    76          void T_Status_Active();
       
    77          
       
    78          //UPnpShowCommand is Available and the impl pointer is not created
       
    79          void T_Status_AvailableNotActive();
       
    80          
       
    81          void T_Status_NotAvailable();         
       
    82          
       
    83          //UPnpShowCommand is Available and the impl pointer is created
       
    84          void T_Status_Active_Renderer();
       
    85         
       
    86 
       
    87     private:    // Data
       
    88 		
       
    89 
       
    90         EUNIT_DECLARE_TEST_TABLE; 
       
    91 
       
    92     };
       
    93 
       
    94 #endif      //  __T_GLXUPNPRENDERER_H__
       
    95 
       
    96 // End of file