mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-12 07:39:41 +02:00
[tests] [qt] Add tests for address book manipulation via EditAddressDialog
Also modifies corresponding QT code to allow for use within test cases.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include <qt/test/compattests.h>
|
||||
|
||||
#ifdef ENABLE_WALLET
|
||||
#include <qt/test/addressbooktests.h>
|
||||
#include <qt/test/paymentservertests.h>
|
||||
#include <qt/test/wallettests.h>
|
||||
#endif
|
||||
@@ -99,6 +100,10 @@ int main(int argc, char *argv[])
|
||||
if (QTest::qExec(&test5) != 0) {
|
||||
fInvalid = true;
|
||||
}
|
||||
AddressBookTests test6;
|
||||
if (QTest::qExec(&test6) != 0) {
|
||||
fInvalid = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
fs::remove_all(pathTemp);
|
||||
|
||||
Reference in New Issue
Block a user