connectivitylayer/isimessage/isimessage_dll/internal/test/inc/texecutionanddebuginfo.h
changeset 4 510c70acdbf6
parent 3 1972d8c2e329
child 5 8ccc39f9d787
equal deleted inserted replaced
3:1972d8c2e329 4:510c70acdbf6
     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 the License "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 -------------------------------------------------------------------------------
       
    22 
       
    23     DESCRIPTION
       
    24 
       
    25     This file contains the header file of DemoModule of 
       
    26     STIF TestFramework.
       
    27 
       
    28 -------------------------------------------------------------------------------
       
    29 */
       
    30 
       
    31 #ifndef TEXECUTIONANDDebugINFO
       
    32 #define TEXECUTIONANDDebugINFO
       
    33 
       
    34 //INCLUDEs
       
    35 #include <stiftestmodule.h>         // CTestModuleIf
       
    36 #include <stiflogger.h>             // CLogger
       
    37 
       
    38 class TTestResult;
       
    39 class CTestModuleIf;
       
    40 class CStifLogger;
       
    41 
       
    42 
       
    43 // An internal structure containing a test result and the testmodule
       
    44 // interface. If new test tools will come change those members and 
       
    45 // you don't have to mess the whole interface design.
       
    46 class TExecutionAndDebugInfo
       
    47     {
       
    48 
       
    49     public: 
       
    50 
       
    51         TExecutionAndDebugInfo( TTestResult& aResult, CTestModuleIf& aIf,
       
    52                                 CStifLogger& aLogger, const TPtrC aCaseName
       
    53                                )
       
    54         : iTestResult( aResult ), iTestInterface( aIf ), iLogger( aLogger ),
       
    55         iCaseName( aCaseName )
       
    56         {};
       
    57 
       
    58     public:
       
    59 
       
    60         // CTestBase
       
    61         const TPtrC     iCaseName;
       
    62         // Ref. to logger.
       
    63         CStifLogger&    iLogger;
       
    64         // Ref. to Test result.
       
    65         TTestResult&    iTestResult;
       
    66         // Ref. to Testmodule interface.
       
    67         CTestModuleIf&  iTestInterface;
       
    68 
       
    69     };
       
    70 
       
    71 #endif