genericservices/httputils/Test/t_wspcodec/cwspencodetest.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 22:16:05 +0300
changeset 59 09fa7c3c5079
parent 0 e4d67989cc36
permissions -rw-r--r--
Revision: 201035 Kit: 201035

// Copyright (c) 2002-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:
// Class CWSPEncodeTest
// 
//

#ifndef		__CWSPENCODETEST_H__
#define		__CWSPENCODETEST_H__

#include <e32base.h>

#include "IpuTestUtils.h"
#include "ctestbase.h"

class CWSPEncodeTest: public CTestBase
	{
public:
	static CWSPEncodeTest* NewLC(CIpuTestHarness* aTestHarness);
	~CWSPEncodeTest();
	void DoTestsL();

private:
	CWSPEncodeTest(CIpuTestHarness* aTestHarness);
	void HeaderEncoderTestL();
	void TestHeaderEncoderL();
	void ShortIntTestL();
	TInt TestShortInt();
	void LongIntTestL();
	void TestLongIntL();
	void UintVarTestL();
	void TestUintVarL();
	void TestStringL();
	void StringTestL();
	void TestDateL();
	void DateTestL();

private:
	CIpuTestHarness* iTestHarness;
	};



#endif //	__CWSPENCODETEST_H__