genericservices/httputils/Test/t_uriparser/EscapeUtilsTestCommon.h
author William Roberts <williamr@symbian.org>
Fri, 02 Apr 2010 10:28:35 +0100
branchRCL_3
changeset 16 541f844fab81
parent 0 e4d67989cc36
permissions -rw-r--r--
Updated fix for Bug 2109, to include the new /openc_signalserver_stub.sis

// Copyright (c) 2001-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 __ESCAPEUTILSTESTCOMMON_H__
#define __ESCAPEUTILSTESTCOMMON_H__

// System includes
//
#include <e32base.h>

template<class HBufCType, class TDesCType>
LOCAL_C TInt DoTestEscapeUtilsEscapeEncode(const TDesCType& aData, const TDesCType& aExpected, EscapeUtils::TEscapeMode aEscapeMode);

template<class HBufCType, class TDesCType>
LOCAL_C TInt DoTestEscapeUtilsEscapeDecode(const TDesCType& aData, const TDesCType& aExpected);

template<class TDesCType>
LOCAL_C TInt DoTestEscapeUtilsIsEscapeTriple(const TDesCType& aData, TBool aIsTriple, TInt aValue);

#endif	// __ESCAPEUTILSTESTCOMMON_H__