diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-11-15 23:47:52 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-11-23 18:51:06 +0800 |
commit | 0ff4cbe51ba653397a1937c8c08b3d09541492ef (patch) | |
tree | 03a8798bca8f2ef221d77fc8a4c6c5390105800c /test/libsolidity/SyntaxTest.h | |
parent | 6251a289dd55cc54f8da5a907dc4982a4b5e57fa (diff) | |
download | dexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.tar dexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.tar.gz dexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.tar.bz2 dexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.tar.lz dexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.tar.xz dexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.tar.zst dexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.zip |
Add SMTChecker tests for standard JSON
Diffstat (limited to 'test/libsolidity/SyntaxTest.h')
-rw-r--r-- | test/libsolidity/SyntaxTest.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/libsolidity/SyntaxTest.h b/test/libsolidity/SyntaxTest.h index 0f151e66..d286f934 100644 --- a/test/libsolidity/SyntaxTest.h +++ b/test/libsolidity/SyntaxTest.h @@ -67,7 +67,7 @@ public: } static std::string errorMessage(Exception const& _e); -private: +protected: static void printErrorList( std::ostream& _stream, std::vector<SyntaxTestError> const& _errors, @@ -75,6 +75,8 @@ private: bool const _formatted = false ); + virtual bool printExpectationAndError(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false); + static std::vector<SyntaxTestError> parseExpectations(std::istream& _stream); std::string m_source; |