convergedcallengine/spsettings/tsrc/public/basic/spsettingsUT/src/ut_spsbufferedpublisher.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     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 #ifndef __UT_SPSBUFFEREDPUBLISHER_H__
       
    19 #define __UT_SPSBUFFEREDPUBLISHER_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include <CEUnitTestSuiteClass.h>
       
    23 #include <EUnitDecorators.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CSpsBufferedPublisher;
       
    27 
       
    28 // CLASS DEFINITION
       
    29 /**
       
    30  * Generated EUnit test suite class.
       
    31  */
       
    32 NONSHARABLE_CLASS( Ut_CSpsBufferedPublisher )
       
    33 	: public CEUnitTestSuiteClass
       
    34     {
       
    35     public:  // Constructors and destructor
       
    36 
       
    37         static Ut_CSpsBufferedPublisher* NewL();
       
    38 
       
    39         ~Ut_CSpsBufferedPublisher();
       
    40 
       
    41     private: // Constructors
       
    42 
       
    43         Ut_CSpsBufferedPublisher();
       
    44         void ConstructL();
       
    45 
       
    46     private: // New methods
       
    47 
       
    48          void SetupL();
       
    49         
       
    50          void Teardown();
       
    51          
       
    52          void Ut_ConstructL();
       
    53          
       
    54          void Ut_CSpsBufferedPublisher_DataSizeL();
       
    55          
       
    56          void Ut_CSpsBufferedPublisher_BufferSizeL();
       
    57          
       
    58          void Ut_CSpsBufferedPublisher_DataValidyL();
       
    59         
       
    60     private: // Data
       
    61 
       
    62         CSpsBufferedPublisher* iPublisher;
       
    63 
       
    64         EUNIT_DECLARE_TEST_TABLE;
       
    65 
       
    66     };
       
    67 
       
    68 #endif      //  __UT_SPSBUFFEREDPUBLISHER_H__