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