photosgallery/viewframework/commandhandlers/commandhandlerupnp/tsrc/t_glxcommandhandlercopytohomenetwork/inc/t_glxcommandhandlercopytohomenetwork.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2006-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:    Upnp Command Handlers.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __T_CGLXCOMMANDHANDLERCOPYTOHOMENETWORK
       
    22 #define __T_CGLXCOMMANDHANDLERCOPYTOHOMENETWORK
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/ceunittestsuiteclass.h>
       
    26 #include <digia/eunit/eunitdecorators.h>
       
    27 
       
    28 #include "glxcommandhandlercopytohomenetwork.h"
       
    29 
       
    30 #include <mglxmedialistprovider.h>
       
    31 #include <mpxcollectionpath.h>
       
    32 
       
    33 //  FORWARD DECLARATIONS
       
    34 class MGlxMediaList;
       
    35 class CGlxCommandHandlerCopyToHomeNetwork;
       
    36 
       
    37 //  CLASS DEFINITION
       
    38 NONSHARABLE_CLASS( t_cglxcommandhandlercopytohomenetwork )
       
    39 	: public CEUnitTestSuiteClass ,public MGlxMediaListProvider//public MGlxMediaListOwner
       
    40     {   
       
    41     public:     // Constructors and destructors
       
    42 
       
    43     /**
       
    44      * Two phase construction
       
    45      */
       
    46     static t_cglxcommandhandlercopytohomenetwork* NewL();
       
    47     static t_cglxcommandhandlercopytohomenetwork* NewLC();
       
    48     /**
       
    49      * Destructor
       
    50      */
       
    51     ~t_cglxcommandhandlercopytohomenetwork();
       
    52 
       
    53     private:    // Constructors and destructors
       
    54         t_cglxcommandhandlercopytohomenetwork();
       
    55         
       
    56         void ConstructL();
       
    57 
       
    58     public:
       
    59          MGlxMediaList& MediaList();
       
    60 
       
    61     private:    // New methods
       
    62         
       
    63          void Teardown();
       
    64         
       
    65          void SetupL(); 
       
    66 
       
    67          void T_AddCopyToHomeNetworkCommandL_L();
       
    68 
       
    69          void T_DoExecuteL_L();
       
    70          
       
    71          void T_DoIsDisabled_L();
       
    72          
       
    73     private:    // Data
       
    74         EUNIT_DECLARE_TEST_TABLE; 
       
    75 
       
    76     private:
       
    77         CGlxCommandHandlerCopyToHomeNetwork* iCommandHandlerCopyToHomeNetwork;
       
    78         MGlxMediaList* iList;
       
    79 
       
    80     };
       
    81 
       
    82 #endif      //  __T_CGLXCOMMANDHANDLERCOPYTOHOMENETWORK
       
    83 
       
    84 // End of file