phoneengine/loghandling/tsrc/ut_cpelogevent/src/testdefs.h
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
equal deleted inserted replaced
30:ebdbd102c78a 36:2eacb6118286
     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 #ifndef TESTDEFS_H_
       
    18 #define TESTDEFS_H_
       
    19 
       
    20 #include <CEunitAllocTestCaseDecorator.h>
       
    21 
       
    22 //Is eunit alloc decorator enabled or not.
       
    23 class TTestUtils
       
    24     {
       
    25 public:
       
    26     static TBool AllocTestEnabled()
       
    27         {
       
    28         CEUnitTestCaseDecorator* decorator 
       
    29             = CEUnitTestCaseDecorator::ActiveTestCaseDecorator( 
       
    30             KEUnitAllocTestCaseDecoratorName );
       
    31         return ( decorator ? ETrue : EFalse );
       
    32         }
       
    33     };
       
    34 
       
    35 //id for test controller
       
    36 const TInt KTestControllerUid = 0xFFFF;
       
    37 
       
    38 //call id
       
    39 TInt const KVoipCallId = 157;
       
    40 
       
    41 //service id
       
    42 TUint32 const KServiceId = 3;
       
    43 
       
    44 //remote party name match found
       
    45 _LIT( KRemotePartyNameMatchFound, "Match" );
       
    46 
       
    47 //no remote party name found
       
    48 _LIT( KRemotePartyNameMatchNotFound, "No Match" );
       
    49 
       
    50 #endif /*TESTDEFS_H_*/