summaryrefslogtreecommitdiff
path: root/test/unit/t_expr.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-28 20:49:26 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-28 20:49:26 -0400
commite851c02d2747be0acc336bc278da9e0460b75738 (patch)
treedf813c5c572922cf05a6317b7eb1d6062dedac05 /test/unit/t_expr.cc
parent3020f0f8513d8cef04d4a291dc9b5fa50e1b832c (diff)
downloadfork-ledger-e851c02d2747be0acc336bc278da9e0460b75738.tar.gz
fork-ledger-e851c02d2747be0acc336bc278da9e0460b75738.tar.bz2
fork-ledger-e851c02d2747be0acc336bc278da9e0460b75738.zip
Unit test for Python are now auto-generated from the C++ tests.
Diffstat (limited to 'test/unit/t_expr.cc')
-rw-r--r--test/unit/t_expr.cc5
1 files changed, 5 insertions, 0 deletions
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;
}