Changeset View
Changeset View
Standalone View
Standalone View
src/qt/test/test_main.cpp
Show All 40 Lines | int main(int argc, char *argv[]) { | ||||
SelectParams(CBaseChainParams::MAIN); | SelectParams(CBaseChainParams::MAIN); | ||||
noui_connect(); | noui_connect(); | ||||
bool fInvalid = false; | bool fInvalid = false; | ||||
// Don't remove this, it's needed to access | // Don't remove this, it's needed to access | ||||
// QCoreApplication:: in the tests | // QCoreApplication:: in the tests | ||||
QCoreApplication app(argc, argv); | QCoreApplication app(argc, argv); | ||||
app.setApplicationName("Bitcoin-Qt-test"); | app.setApplicationName("BitcoinABC-Qt-test"); | ||||
SSL_library_init(); | SSL_library_init(); | ||||
URITests test1; | URITests test1; | ||||
if (QTest::qExec(&test1) != 0) fInvalid = true; | if (QTest::qExec(&test1) != 0) fInvalid = true; | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
PaymentServerTests test2; | PaymentServerTests test2; | ||||
if (QTest::qExec(&test2) != 0) fInvalid = true; | if (QTest::qExec(&test2) != 0) fInvalid = true; | ||||
Show All 9 Lines |