diff -r e20de85af2ee -r ce057bb09d0b genericservices/httputils/Test/t_wspcodec/cwspencodetest.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/genericservices/httputils/Test/t_wspcodec/cwspencodetest.h Fri Jun 04 16:20:51 2010 +0100 @@ -0,0 +1,54 @@ +// 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 + +#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__