diff options
| author | Sjors Provoost <[email protected]> | 2019-02-12 20:24:29 +0100 |
|---|---|---|
| committer | Sjors Provoost <[email protected]> | 2019-02-14 11:12:30 +0100 |
| commit | fd46c4c0018c41d36cd892ccb47485b572d65837 (patch) | |
| tree | 338a1505b9ea3b8646f82a6c97b31721bbd17822 /src/qt/test/rpcnestedtests.cpp | |
| parent | Merge #15153: gui: Add Open Wallet menu (diff) | |
| download | discoin-fd46c4c0018c41d36cd892ccb47485b572d65837.tar.xz discoin-fd46c4c0018c41d36cd892ccb47485b572d65837.zip | |
Bump minimum Qt version to 5.5.1
Diffstat (limited to 'src/qt/test/rpcnestedtests.cpp')
| -rw-r--r-- | src/qt/test/rpcnestedtests.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qt/test/rpcnestedtests.cpp b/src/qt/test/rpcnestedtests.cpp index 173c814f1..f8a9c2530 100644 --- a/src/qt/test/rpcnestedtests.cpp +++ b/src/qt/test/rpcnestedtests.cpp @@ -120,7 +120,6 @@ void RPCNestedTests::rpcNestedTests() RPCConsole::RPCExecuteCommandLine(*node, result, "rpcNestedTest( abc , cba )"); QVERIFY(result == "[\"abc\",\"cba\"]"); -#if QT_VERSION >= 0x050300 // do the QVERIFY_EXCEPTION_THROWN checks only with Qt5.3 and higher (QVERIFY_EXCEPTION_THROWN was introduced in Qt5.3) QVERIFY_EXCEPTION_THROWN(RPCConsole::RPCExecuteCommandLine(*node, result, "getblockchaininfo() .\n"), std::runtime_error); //invalid syntax QVERIFY_EXCEPTION_THROWN(RPCConsole::RPCExecuteCommandLine(*node, result, "getblockchaininfo() getblockchaininfo()"), std::runtime_error); //invalid syntax @@ -131,5 +130,4 @@ void RPCNestedTests::rpcNestedTests() QVERIFY_EXCEPTION_THROWN(RPCConsole::RPCExecuteCommandLine(*node, result, "rpcNestedTest abc,,abc"), std::runtime_error); //don't tollerate empty arguments when using , QVERIFY_EXCEPTION_THROWN(RPCConsole::RPCExecuteCommandLine(*node, result, "rpcNestedTest(abc,,abc)"), std::runtime_error); //don't tollerate empty arguments when using , QVERIFY_EXCEPTION_THROWN(RPCConsole::RPCExecuteCommandLine(*node, result, "rpcNestedTest(abc,,)"), std::runtime_error); //don't tollerate empty arguments when using , -#endif } |