mmshplugins/mmshaoplugin/tsrc/ut_aoplugin/inc/ut_muspropertymonitor.h
changeset 0 f0cf47e981f9
child 32 73a1feb507fb
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __UT_CMusPropertyMonitor_H__
       
    20 #define __UT_CMusPropertyMonitor_H__
       
    21 
       
    22 
       
    23 //  EXTERNAL INCLUDES
       
    24 #include <digia/eunit/ceunittestsuiteclass.h>
       
    25 #include <digia/eunit/eunitmacros.h>
       
    26 
       
    27 //  FORWARD DECLARATIONS
       
    28 class CMusPropertyMonitor;
       
    29 
       
    30 // Next row is to disable warning emerging from EUnit code.
       
    31 // Placement is due to a fact that most test case files
       
    32 // include this file. Directive can be removed when 
       
    33 // EUnit is fixed.  
       
    34 #pragma warn_illtokenpasting off
       
    35 
       
    36 //  CLASS DEFINITION
       
    37 /**
       
    38  * Tester class for CMusTsyPropertyMonitor. 
       
    39  * 
       
    40  */
       
    41 NONSHARABLE_CLASS( UT_CMusPropertyMonitor ): public CEUnitTestSuiteClass
       
    42     {
       
    43     public:     // Constructors and destructors
       
    44 
       
    45         /**
       
    46          * Two phase construction
       
    47          */
       
    48         static UT_CMusPropertyMonitor* NewL();
       
    49         static UT_CMusPropertyMonitor* NewLC();
       
    50                 
       
    51         /**
       
    52          * Destructor
       
    53          */
       
    54         ~UT_CMusPropertyMonitor();
       
    55 
       
    56     private: // Constructors and destructors
       
    57 
       
    58         UT_CMusPropertyMonitor();
       
    59         void ConstructL();
       
    60         
       
    61     private: // Test case setup and teardown
       
    62 
       
    63         void SetupL();
       
    64         
       
    65         void Teardown();
       
    66 
       
    67     private: // Test methdods
       
    68     
       
    69         void UT_CMusPropertyMonitor_RunLL();
       
    70         void UT_CMusPropertyMonitor_DoCancelL();
       
    71         void UT_CMusPropertyMonitor_RunErrorL(); 
       
    72 
       
    73     private:    // Data
       
    74         CMusPropertyMonitor* iMusPropertyMonitor;
       
    75 
       
    76         EUNIT_DECLARE_TEST_TABLE;
       
    77 
       
    78     };
       
    79 
       
    80 #endif      //  __UT_CMusPropertyMonitor_H__
       
    81 
       
    82 // End of file