diff options
| author | James O'Beirne <[email protected]> | 2018-03-29 10:59:57 -0400 |
|---|---|---|
| committer | James O'Beirne <[email protected]> | 2018-04-25 13:13:24 -0400 |
| commit | 5109fc4a9cb2cbd73c33197fb9129e1413ab051b (patch) | |
| tree | 0836355a6740398437a4ffab523ffa78886fdde0 /src/qt/test/test_main.cpp | |
| parent | [tests] [qt] Introduce qt/test/util with a generalized ConfirmMessage (diff) | |
| download | discoin-5109fc4a9cb2cbd73c33197fb9129e1413ab051b.tar.xz discoin-5109fc4a9cb2cbd73c33197fb9129e1413ab051b.zip | |
[tests] [qt] Add tests for address book manipulation via EditAddressDialog
Also modifies corresponding QT code to allow for use within test cases.
Diffstat (limited to 'src/qt/test/test_main.cpp')
| -rw-r--r-- | src/qt/test/test_main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/test/test_main.cpp b/src/qt/test/test_main.cpp index 25ee66dc6..56d4d3e45 100644 --- a/src/qt/test/test_main.cpp +++ b/src/qt/test/test_main.cpp @@ -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); |