summaryrefslogtreecommitdiff
path: root/test/UnitTests.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-19 13:33:47 -0400
committerJohn Wiegley <johnw@newartisans.com>2011-02-04 03:43:33 -0500
commit2a2c3c1ceca27bc1e0ce6408459ddbf8dd980fae (patch)
tree8cf5fd66d4995b72e4636a7df40febee5e80817c /test/UnitTests.h
parentc9730d781c33e5cbece892f78008e379cfabe2e2 (diff)
downloadfork-ledger-2a2c3c1ceca27bc1e0ce6408459ddbf8dd980fae.tar.gz
fork-ledger-2a2c3c1ceca27bc1e0ce6408459ddbf8dd980fae.tar.bz2
fork-ledger-2a2c3c1ceca27bc1e0ce6408459ddbf8dd980fae.zip
Use Boost.Test instead of CppUnit
Diffstat (limited to 'test/UnitTests.h')
-rw-r--r--test/UnitTests.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/UnitTests.h b/test/UnitTests.h
deleted file mode 100644
index a7bfcf9e..00000000
--- a/test/UnitTests.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef _UNITTESTS_H
-#define _UNITTESTS_H
-
-#include <cppunit/extensions/HelperMacros.h>
-#include <cppunit/Exception.h>
-#include <cppunit/Portability.h>
-
-#define assertDoublesEqual(x,y,z,w) CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(x,y,z,w)
-#define assertEqual(x,y) CPPUNIT_ASSERT_EQUAL(x,y)
-#define assertNotEqual(x,y) CPPUNIT_ASSERT((x) != (y))
-#define assertTrue(x) CPPUNIT_ASSERT(x)
-#define assertFalse(x) CPPUNIT_ASSERT(! (x))
-#define assertValid(x) CPPUNIT_ASSERT((x).valid())
-#define assertEqualMessage(x,y,z) CPPUNIT_ASSERT_EQUAL_MESSAGE(x,y,z)
-#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)
-
-#endif /* _UNITTESTS_H */