os/ossrv/genericservices/httputils/Test/t_tinternetdate/cconverttorfc1123formtest.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Class CConvertToRfc1123FormTest used to test parsing of TDateTime into RFC 1123
    15 // date/time formats
    16 // 
    17 //
    18 
    19 #ifndef		__CCONVERTTORFC1123FORMTEST_H__
    20 #define		__CCONVERTTORFC1123FORMTEST_H__
    21 
    22 #include <e32base.h>
    23 
    24 #include "IpuTestUtils.h"
    25 #include "ctestbase.h"
    26 
    27 class CConvertToRfc1123FormTest: public CTestBase
    28 	{
    29 public:
    30 	static CConvertToRfc1123FormTest* NewLC(CIpuTestHarness* aTestHarness);
    31 	~CConvertToRfc1123FormTest();
    32 	void DoTestsL();
    33 
    34 private:
    35 	CConvertToRfc1123FormTest(CIpuTestHarness* aTestHarness);
    36 	void ConvertTestL(TDateTime aDateTime, const TDesC8& aExpectedResult);
    37 	void ConvertSingleTestL(TDateTime aDateTime, const TDesC8& aExpectedResult);
    38 
    39 private:
    40 	CIpuTestHarness* iTestHarness;
    41 	};
    42 
    43 
    44 
    45 #endif //	__CCONVERTTORFC1123FORMTEST_H__