summaryrefslogtreecommitdiff
path: root/test/unit/t_times.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/t_times.cc')
-rw-r--r--test/unit/t_times.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/unit/t_times.cc b/test/unit/t_times.cc
index 8485a2c9..d8a67b43 100644
--- a/test/unit/t_times.cc
+++ b/test/unit/t_times.cc
@@ -9,6 +9,16 @@ using namespace ledger;
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(DateTimeTestCase, "util");
+void DateTimeTestCase::setUp()
+{
+ times_initialize();
+}
+
+void DateTimeTestCase::tearDown()
+{
+ times_shutdown();
+}
+
void DateTimeTestCase::testConstructors()
{
#ifndef NOT_FOR_PYTHON