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