summaryrefslogtreecommitdiff
path: root/test/unit/t_valexpr.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-05 19:48:42 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-05 19:48:42 -0400
commit36cd8164049b570d9730a886e55d5a985bae1c2b (patch)
treea667029488caf3da54ec6d673628942ef6958ba8 /test/unit/t_valexpr.h
parent262bda35cfb7e739e1d148330ac429abfeaad895 (diff)
downloadfork-ledger-36cd8164049b570d9730a886e55d5a985bae1c2b.tar.gz
fork-ledger-36cd8164049b570d9730a886e55d5a985bae1c2b.tar.bz2
fork-ledger-36cd8164049b570d9730a886e55d5a985bae1c2b.zip
Moved the test sources around, so that all the unit tests are in test/unit.
Diffstat (limited to 'test/unit/t_valexpr.h')
-rw-r--r--test/unit/t_valexpr.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/unit/t_valexpr.h b/test/unit/t_valexpr.h
new file mode 100644
index 00000000..3cac4ed6
--- /dev/null
+++ b/test/unit/t_valexpr.h
@@ -0,0 +1,30 @@
+#ifndef _T_VALEXPR_H
+#define _T_VALEXPR_H
+
+#include "UnitTests.h"
+
+class ValueExprTestCase : public CPPUNIT_NS::TestCase
+{
+ CPPUNIT_TEST_SUITE(ValueExprTestCase);
+
+ CPPUNIT_TEST(testConstructors);
+
+ CPPUNIT_TEST_SUITE_END();
+
+public:
+ ledger::session_t session;
+
+ ValueExprTestCase() {}
+ virtual ~ValueExprTestCase() {}
+
+ virtual void setUp();
+ virtual void tearDown();
+
+ void testConstructors();
+
+private:
+ ValueExprTestCase(const ValueExprTestCase &copy);
+ void operator=(const ValueExprTestCase &copy);
+};
+
+#endif // _T_VALEXPR_H