aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorMarko Simovic <markobarko@gmail.com>2014-03-19 12:35:16 +0800
committerMarko Simovic <markobarko@gmail.com>2014-03-19 12:35:16 +0800
commit72ea831cd5c7740f95343422589fa2b16f680a37 (patch)
tree4328704c4eda48fcbc2869fa7c2620c81abfd704 /main.cpp
parent07e1b513bac15ae0cf50c01b6ca11a06293aa269 (diff)
downloaddexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar
dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.gz
dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.bz2
dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.lz
dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.xz
dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.zst
dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.zip
Updated test project to use Boost Test
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index c5d75020..4cfb71ce 100644
--- a/main.cpp
+++ b/main.cpp
@@ -20,6 +20,8 @@
* Main test functions.
*/
+#include <boost/test/unit_test.hpp>
+
// TODO: utilise the shared testdata.
int trieTest();
@@ -34,7 +36,7 @@ int peerTest(int argc, char** argv);
#include <BlockInfo.h>
using namespace eth;
-int main(int, char**)
+BOOST_AUTO_TEST_CASE(basic_tests)
{
/* RLPStream s;
BlockInfo::genesis().fillStream(s, false);
@@ -51,7 +53,6 @@ int main(int, char**)
// r += daggerTest();
// r += stateTest();
// r += peerTest(argc, argv);
- assert(!r);
- return 0;
+ BOOST_REQUIRE(!r);
}