summaryrefslogtreecommitdiff
path: root/test/UnitTests.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-25 01:10:05 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-25 01:10:05 -0400
commit79a79766000a6440f651af50cfac3646171e8f0a (patch)
tree1b5a9a419ffd65770fd36ec55f9c0a608e5b1045 /test/UnitTests.h
parent1ae1033090faf566f8577cc63ac10a2d4e0e1f7f (diff)
downloadfork-ledger-79a79766000a6440f651af50cfac3646171e8f0a.tar.gz
fork-ledger-79a79766000a6440f651af50cfac3646171e8f0a.tar.bz2
fork-ledger-79a79766000a6440f651af50cfac3646171e8f0a.zip
Reorganized Ledger so that it builds as 7 separate libraries. This is mainly
to prove to myself that it has proper decoupling between prior code areas.
Diffstat (limited to 'test/UnitTests.h')
-rw-r--r--test/UnitTests.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/UnitTests.h b/test/UnitTests.h
index e7027cf4..d9314ddf 100644
--- a/test/UnitTests.h
+++ b/test/UnitTests.h
@@ -1,10 +1,6 @@
#ifndef _UNITTESTS_H
#define _UNITTESTS_H
-#include "ledger.h"
-
-using namespace ledger;
-
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/Exception.h>
#include <cppunit/Portability.h>
@@ -19,6 +15,6 @@ using namespace ledger;
#define assertMessage(x,y) CPPUNIT_ASSERT_MESSAGE(x,y)
#define assertThrow(x,y) CPPUNIT_ASSERT_THROW(x,y)
-#define internalAmount(x) amount_t::exact(x)
+#define internalAmount(x) amount_t::exact(x)
#endif /* _UNITTESTS_H */