aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityInterface.cpp
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2015-03-08 01:35:59 +0800
committersubtly <subtly@users.noreply.github.com>2015-03-08 01:35:59 +0800
commitc46b429993f631c2579fed0aed8b4e18d5fd4948 (patch)
treece95149aa030eda1a0be86c79395b93abae8fab5 /SolidityInterface.cpp
parent1e91b7d1deabd69bcc969e98a128edf71f35c780 (diff)
parent986fdb9d5fef87769caa140d9b4903178cf1874a (diff)
downloaddexon-solidity-c46b429993f631c2579fed0aed8b4e18d5fd4948.tar
dexon-solidity-c46b429993f631c2579fed0aed8b4e18d5fd4948.tar.gz
dexon-solidity-c46b429993f631c2579fed0aed8b4e18d5fd4948.tar.bz2
dexon-solidity-c46b429993f631c2579fed0aed8b4e18d5fd4948.tar.lz
dexon-solidity-c46b429993f631c2579fed0aed8b4e18d5fd4948.tar.xz
dexon-solidity-c46b429993f631c2579fed0aed8b4e18d5fd4948.tar.zst
dexon-solidity-c46b429993f631c2579fed0aed8b4e18d5fd4948.zip
Merge branch 'develop' into p2p
Diffstat (limited to 'SolidityInterface.cpp')
-rw-r--r--SolidityInterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/SolidityInterface.cpp b/SolidityInterface.cpp
index 35471518..ecab64c8 100644
--- a/SolidityInterface.cpp
+++ b/SolidityInterface.cpp
@@ -20,7 +20,7 @@
* Unit tests for generating source interfaces for Solidity contracts.
*/
-#include <boost/test/unit_test.hpp>
+#include "TestHelper.h"
#include <libsolidity/CompilerStack.h>
#include <libsolidity/AST.h>
@@ -42,9 +42,9 @@ public:
ContractDefinition const& checkInterface(string const& _code, string const& _contractName = "")
{
m_code = _code;
- BOOST_REQUIRE_NO_THROW(m_compilerStack.parse(_code));
+ ETH_TEST_REQUIRE_NO_THROW(m_compilerStack.parse(_code), "Parsing failed");
m_interface = m_compilerStack.getMetadata("", DocumentationType::ABISolidityInterface);
- BOOST_REQUIRE_NO_THROW(m_reCompiler.parse(m_interface));
+ ETH_TEST_REQUIRE_NO_THROW(m_reCompiler.parse(m_interface), "Interface parsing failed");
return m_reCompiler.getContractDefinition(_contractName);
}