multimediacommscontroller/mmccilbcpayloadformat/tsrc/ut_ilbcpayloadformat/inc/UT_TStreamEncoder.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004 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 
       
    20 
       
    21 #ifndef __UT_TSTREAMENCODER_H__
       
    22 #define __UT_TSTREAMENCODER_H__
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/ceunittestsuiteclass.h>
       
    26 
       
    27 //  INTERNAL INCLUDES
       
    28 
       
    29 
       
    30 //  FORWARD DECLARATIONS
       
    31 class TStreamEncoder;
       
    32 
       
    33 #include <e32def.h>
       
    34 #include <e32base.h>
       
    35 #ifndef NONSHARABLE_CLASS
       
    36     #define NONSHARABLE_CLASS(x) class x
       
    37 #endif
       
    38 
       
    39 //  CLASS DEFINITION
       
    40 /**
       
    41  *
       
    42  * EUnitWizard generated test class. 
       
    43  *
       
    44  */
       
    45 NONSHARABLE_CLASS( UT_TStreamEncoder )
       
    46      : public CEUnitTestSuiteClass
       
    47     {
       
    48     public:     // Constructors and destructors
       
    49 
       
    50         /**
       
    51          * Two phase construction
       
    52          */
       
    53         static UT_TStreamEncoder* NewL();
       
    54         static UT_TStreamEncoder* NewLC();
       
    55         /**
       
    56          * Destructor
       
    57          */
       
    58         ~UT_TStreamEncoder();
       
    59 
       
    60     private:    // Constructors and destructors
       
    61 
       
    62         UT_TStreamEncoder();
       
    63         void ConstructL();
       
    64 
       
    65     public:     // From observer interface
       
    66 
       
    67         
       
    68 
       
    69     private:    // New methods
       
    70 
       
    71          void SetupL();
       
    72         
       
    73          void Teardown();
       
    74         
       
    75          void UT_TStreamEncoder_InitializeL();
       
    76         
       
    77         
       
    78          void UT_TStreamEncoder_EncodeL();
       
    79         
       
    80         
       
    81          void UT_TStreamEncoder_Encode_1L();
       
    82         
       
    83         
       
    84          void UT_TStreamEncoder_ByteIndexL();
       
    85         
       
    86         
       
    87          void UT_TStreamEncoder_BitIndexL();
       
    88         
       
    89         
       
    90          void UT_TStreamEncoder_SetByteIndexL();
       
    91         
       
    92         
       
    93          void UT_TStreamEncoder_SetBitIndexL();
       
    94         
       
    95 
       
    96     private:    // Data
       
    97 
       
    98         EUNIT_DECLARE_TEST_TABLE; 
       
    99 
       
   100     };
       
   101 
       
   102 #endif      //  __UT_TSTREAMENCODER_H__
       
   103 
       
   104 // End of file