phoneengine/loghandling/tsrc/ut_cpeloginfo/src/testdefs.h
author William Roberts <williamr@symbian.org>
Fri, 11 Jun 2010 16:24:06 +0100
branchGCC_SURGE
changeset 38 35db4fa135f4
parent 21 92ab7f8d0eab
permissions -rw-r--r--
Branch for GCC_SURGE fixes

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/
#ifndef TESTDEFS_H_
#define TESTDEFS_H_

#include <CEunitAllocTestCaseDecorator.h>

//Is eunit alloc decorator enabled or not.
class TTestUtils
    {
public:
    static TBool AllocTestEnabled()
        {
        CEUnitTestCaseDecorator* decorator 
            = CEUnitTestCaseDecorator::ActiveTestCaseDecorator( 
            KEUnitAllocTestCaseDecoratorName );
        return ( decorator ? ETrue : EFalse );
        }
    };

//id for test controller
const TInt KTestControllerUid = 0xFFFF;

//call id
TInt const KVoipCallId = 157;

//service id
TUint32 const KServiceId = 3;

//remote party name match found
_LIT( KRemotePartyNameMatchFound, "Match" );

//no remote party name found
_LIT( KRemotePartyNameMatchNotFound, "No Match" );

#endif /*TESTDEFS_H_*/