poco/Foundation/testsuite/src/DateTimeTest.h
FrancisANDRE ce797f7700 Make CppUnit a component of Poco
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-01-08 00:17:13 +01:00

56 lines
982 B
C++

//
// DateTimeTest.h
//
// $Id: //poco/1.4/Foundation/testsuite/src/DateTimeTest.h#1 $
//
// Definition of the DateTimeTest class.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef DateTimeTest_INCLUDED
#define DateTimeTest_INCLUDED
#include "Poco/Foundation.h"
#include "Poco/CppUnit/TestCase.h"
class DateTimeTest: public CppUnit::TestCase
{
public:
DateTimeTest(const std::string& name);
~DateTimeTest();
void testTimestamp();
void testJulian();
void testGregorian();
void testConversions();
void testStatics();
void testCalcs();
void testAMPM();
void testRelational();
void testArithmetics();
void testSwap();
void testUsage();
void testSetYearDay();
void testIsValid();
void testDayOfWeek();
void testIncrementDecrement();
void testUTC();
void setUp();
void tearDown();
static CppUnit::Test* suite();
private:
};
#endif // DateTimeTest_INCLUDED