From 05529b2c6817f899ff8d97685ffed82e52e0ec6b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 25 Oct 2009 05:40:26 -0400 Subject: Call times_initialize/shutdown in the unit tests --- test/unit/t_times.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/unit/t_times.cc') 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 -- cgit v1.2.3