summaryrefslogtreecommitdiff
path: root/tests/corelib/numerics/DateTimeTest.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-19 00:00:49 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:17 -0400
commit086ea40d9993f2ac86941a0462dabbd7f18d58f3 (patch)
tree9b905b976c620382f9cc048655254dc23588e365 /tests/corelib/numerics/DateTimeTest.h
parentba2a54f3d22dacd69d8202fc9a7d32a2b40b1d1e (diff)
downloadfork-ledger-086ea40d9993f2ac86941a0462dabbd7f18d58f3.tar.gz
fork-ledger-086ea40d9993f2ac86941a0462dabbd7f18d58f3.tar.bz2
fork-ledger-086ea40d9993f2ac86941a0462dabbd7f18d58f3.zip
We now compile with boost_date_time (although parts of the code have
been stubbed out as a result).
Diffstat (limited to 'tests/corelib/numerics/DateTimeTest.h')
-rw-r--r--tests/corelib/numerics/DateTimeTest.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/corelib/numerics/DateTimeTest.h b/tests/corelib/numerics/DateTimeTest.h
new file mode 100644
index 00000000..abc914cd
--- /dev/null
+++ b/tests/corelib/numerics/DateTimeTest.h
@@ -0,0 +1,28 @@
+#ifndef _DATETIMETEST_H
+#define _DATETIMETEST_H
+
+#include "UnitTests.h"
+
+class DateTimeTestCase : public CPPUNIT_NS::TestCase
+{
+ CPPUNIT_TEST_SUITE(DateTimeTestCase);
+
+ CPPUNIT_TEST(testConstructors);
+
+ CPPUNIT_TEST_SUITE_END();
+
+public:
+ DateTimeTestCase() {}
+ virtual ~DateTimeTestCase() {}
+
+ virtual void setUp();
+ virtual void tearDown();
+
+ void testConstructors();
+
+private:
+ DateTimeTestCase(const DateTimeTestCase &copy);
+ void operator=(const DateTimeTestCase &copy);
+};
+
+#endif /* _DATETIMETEST_H */