idlefw/tsrc/utility/mt_aiutils/MT_AiContentItemArrayIterator.h
branchRCL_3
changeset 27 2c7f27287390
equal deleted inserted replaced
25:9e077f9a342c 27:2c7f27287390
       
     1 /*
       
     2 * Copyright (c) 2010 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 __MT_AiContentItemArrayIterator_H__
       
    20 #define __MT_AiContentItemArrayIterator_H__
       
    21 
       
    22 //  EXTERNAL INCLUDES
       
    23 #include <digia/eunit/ceunittestsuiteclass.h>
       
    24 
       
    25 //  INTERNAL INCLUDES
       
    26 
       
    27 
       
    28 //  FORWARD DECLARATIONS
       
    29 
       
    30 
       
    31 #include <e32def.h>
       
    32 #ifndef NONSHARABLE_CLASS
       
    33     #define NONSHARABLE_CLASS(x) class x
       
    34 #endif
       
    35 
       
    36 //  CLASS DEFINITION
       
    37 /**
       
    38  *
       
    39  * EUnitWizard generated test class. 
       
    40  *
       
    41  */
       
    42 NONSHARABLE_CLASS( MT_AiContentItemArrayIterator )
       
    43      : public CEUnitTestSuiteClass
       
    44     {
       
    45     public:     // Constructors and destructors
       
    46 
       
    47         /**
       
    48          * Two phase construction
       
    49          */
       
    50         static MT_AiContentItemArrayIterator* NewL();
       
    51         static MT_AiContentItemArrayIterator* NewLC();
       
    52         /**
       
    53          * Destructor
       
    54          */
       
    55         ~MT_AiContentItemArrayIterator();
       
    56 
       
    57     private:    // Constructors and destructors
       
    58 
       
    59         MT_AiContentItemArrayIterator();
       
    60         void ConstructL();
       
    61 
       
    62     public:     // From observer interface
       
    63 
       
    64         
       
    65 
       
    66     private:    // New methods
       
    67 
       
    68          void SetupL();
       
    69         
       
    70          void Teardown();
       
    71         
       
    72          void TestEmptyL();
       
    73          void TestOneL();
       
    74          void TestManyL();
       
    75 
       
    76     private:    // Data
       
    77 
       
    78         EUNIT_DECLARE_TEST_TABLE; 
       
    79 
       
    80     };
       
    81 
       
    82 #endif      //  __MT_AiContentItemArrayIterator_H__
       
    83 
       
    84 // End of file