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_amount.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/unit/t_amount.cc') diff --git a/test/unit/t_amount.cc b/test/unit/t_amount.cc index ba863ca7..c2a6b8c9 100644 --- a/test/unit/t_amount.cc +++ b/test/unit/t_amount.cc @@ -11,6 +11,7 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(AmountTestCase, "math"); void AmountTestCase::setUp() { + times_initialize(); amount_t::initialize(); // Cause the display precision for dollars to be initialized to 2. @@ -24,6 +25,7 @@ void AmountTestCase::tearDown() { amount_t::stream_fullstrings = false; amount_t::shutdown(); + times_shutdown(); } void AmountTestCase::testParser() -- cgit v1.2.3