Adds semantic tests to test framework and isoltest.

This commit is contained in:
Erik Kundt
2019-02-15 13:27:15 +01:00
committed by Erik Kundt
parent 190634e1f9
commit dacad629ef
12 changed files with 291 additions and 85 deletions
+8
View File
@@ -30,6 +30,14 @@ namespace solidity
namespace test
{
#define soltestAssert(CONDITION, DESCRIPTION) \
do \
{ \
if (!(CONDITION)) \
BOOST_THROW_EXCEPTION(runtime_error(DESCRIPTION)); \
} \
while (false)
/** Common superclass of SyntaxTest and SemanticsTest. */
class TestCase
{