Changeset View
Changeset View
Standalone View
Standalone View
src/qt/test/rpcnestedtests.cpp
Show First 20 Lines • Show All 203 Lines • ▼ Show 20 Lines | QVERIFY_EXCEPTION_THROWN( | ||||
RPCConsole::RPCExecuteCommandLine(result, "rpcNestedTest(abc,,abc)"), | RPCConsole::RPCExecuteCommandLine(result, "rpcNestedTest(abc,,abc)"), | ||||
std::runtime_error); | std::runtime_error); | ||||
// don't tollerate empty arguments when using , | // don't tollerate empty arguments when using , | ||||
QVERIFY_EXCEPTION_THROWN( | QVERIFY_EXCEPTION_THROWN( | ||||
RPCConsole::RPCExecuteCommandLine(result, "rpcNestedTest(abc,,)"), | RPCConsole::RPCExecuteCommandLine(result, "rpcNestedTest(abc,,)"), | ||||
std::runtime_error); | std::runtime_error); | ||||
#endif | #endif | ||||
UnloadBlockIndex(); | |||||
delete pcoinsTip; | delete pcoinsTip; | ||||
pcoinsTip = nullptr; | |||||
delete pcoinsdbview; | delete pcoinsdbview; | ||||
pcoinsdbview = nullptr; | |||||
delete pblocktree; | delete pblocktree; | ||||
pblocktree = nullptr; | |||||
fs::remove_all(fs::path(path)); | fs::remove_all(fs::path(path)); | ||||
} | } |