Changeset View
Changeset View
Standalone View
Standalone View
src/qt/test/test_main.cpp
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
#include "config/bitcoin-config.h" | #include "config/bitcoin-config.h" | ||||
#endif | #endif | ||||
#include "bitcoinaddressvalidatortests.h" | |||||
#include "chainparams.h" | #include "chainparams.h" | ||||
#include "compattests.h" | #include "compattests.h" | ||||
#include "guiutiltests.h" | #include "guiutiltests.h" | ||||
#include "key.h" | #include "key.h" | ||||
#include "rpcnestedtests.h" | #include "rpcnestedtests.h" | ||||
#include "uritests.h" | #include "uritests.h" | ||||
#include "util.h" | #include "util.h" | ||||
▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | #ifdef ENABLE_WALLET | ||||
if (QTest::qExec(&test2) != 0) fInvalid = true; | if (QTest::qExec(&test2) != 0) fInvalid = true; | ||||
#endif | #endif | ||||
RPCNestedTests test3; | RPCNestedTests test3; | ||||
if (QTest::qExec(&test3) != 0) fInvalid = true; | if (QTest::qExec(&test3) != 0) fInvalid = true; | ||||
CompatTests test4; | CompatTests test4; | ||||
if (QTest::qExec(&test4) != 0) fInvalid = true; | if (QTest::qExec(&test4) != 0) fInvalid = true; | ||||
GUIUtilTests test5; | GUIUtilTests test5; | ||||
if (QTest::qExec(&test5) != 0) fInvalid = true; | if (QTest::qExec(&test5) != 0) fInvalid = true; | ||||
BitcoinAddressValidatorTests test6; | |||||
if (QTest::qExec(&test6) != 0) fInvalid = true; | |||||
ECC_Stop(); | ECC_Stop(); | ||||
return fInvalid; | return fInvalid; | ||||
} | } |