From e851c02d2747be0acc336bc278da9e0460b75738 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 28 Jan 2009 20:49:26 -0400 Subject: Unit test for Python are now auto-generated from the C++ tests. --- test/unit/t_expr.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/unit/t_expr.cc') diff --git a/test/unit/t_expr.cc b/test/unit/t_expr.cc index a6655f6a..209bb934 100644 --- a/test/unit/t_expr.cc +++ b/test/unit/t_expr.cc @@ -9,15 +9,20 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ValueExprTestCase, "expr"); void ValueExprTestCase::setUp() { amount_t::initialize(); +#ifndef NOT_FOR_PYTHON expr_t::initialize(); +#endif // NOT_FOR_PYTHON } void ValueExprTestCase::tearDown() { +#ifndef NOT_FOR_PYTHON expr_t::shutdown(); +#endif // NOT_FOR_PYTHON amount_t::shutdown(); } void ValueExprTestCase::testConstructors() { + int x = 1; } -- cgit v1.2.3