os/ossrv/genericservices/httputils/Test/t_tinternetdate/cconverttorfc1123formtest.h
Update contrib.
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Class CConvertToRfc1123FormTest used to test parsing of TDateTime into RFC 1123
19 #ifndef __CCONVERTTORFC1123FORMTEST_H__
20 #define __CCONVERTTORFC1123FORMTEST_H__
24 #include "IpuTestUtils.h"
25 #include "ctestbase.h"
27 class CConvertToRfc1123FormTest: public CTestBase
30 static CConvertToRfc1123FormTest* NewLC(CIpuTestHarness* aTestHarness);
31 ~CConvertToRfc1123FormTest();
35 CConvertToRfc1123FormTest(CIpuTestHarness* aTestHarness);
36 void ConvertTestL(TDateTime aDateTime, const TDesC8& aExpectedResult);
37 void ConvertSingleTestL(TDateTime aDateTime, const TDesC8& aExpectedResult);
40 CIpuTestHarness* iTestHarness;
45 #endif // __CCONVERTTORFC1123FORMTEST_H__