aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ErrorCheck.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-11-25 04:22:17 +0800
committerGitHub <noreply@github.com>2016-11-25 04:22:17 +0800
commit9e7b608e789d71ff6f5751645e91a17e24c7e139 (patch)
treee8de9d03d1be8f2e9aa591f3eea1019896641253 /test/libsolidity/ErrorCheck.h
parenta077a3a5ec58c36a0e1ced3eaf8dacd8c761a209 (diff)
parenta87ed2895a5e45bc4edeb1028a17b4390e35487b (diff)
downloaddexon-solidity-9e7b608e789d71ff6f5751645e91a17e24c7e139.tar.gz
dexon-solidity-9e7b608e789d71ff6f5751645e91a17e24c7e139.tar.zst
dexon-solidity-9e7b608e789d71ff6f5751645e91a17e24c7e139.zip
Merge pull request #1392 from ethereum/check_warning_contents
Check warning text in tests
Diffstat (limited to 'test/libsolidity/ErrorCheck.h')
-rw-r--r--test/libsolidity/ErrorCheck.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/libsolidity/ErrorCheck.h b/test/libsolidity/ErrorCheck.h
new file mode 100644
index 00000000..a309a9d3
--- /dev/null
+++ b/test/libsolidity/ErrorCheck.h
@@ -0,0 +1,32 @@
+/*
+ This file is part of solidity.
+
+ solidity is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ solidity is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with solidity. If not, see <http://www.gnu.org/licenses/>.
+*/
+/** @file ErrorCheck.h
+ * @author Yoichi Hirai <i@yoichihirai.com>
+ * @date 2016
+ */
+
+#pragma once
+
+#include <libsolidity/interface/Exceptions.h>
+
+namespace dev
+{
+namespace solidity
+{
+bool searchErrorMessage(Error const& _err, std::string const& _substr);
+}
+}