aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/addressbooktests.h
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@gmail.com>2018-03-29 10:59:57 -0400
committerJames O'Beirne <james.obeirne@gmail.com>2018-04-25 13:13:24 -0400
commit5109fc4a9cb2cbd73c33197fb9129e1413ab051b (patch)
tree0836355a6740398437a4ffab523ffa78886fdde0 /src/qt/test/addressbooktests.h
parent9c01be1b85f8ad11a8a0826a4a2bcdc2668a5c1f (diff)
[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/addressbooktests.h')
-rw-r--r--src/qt/test/addressbooktests.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/qt/test/addressbooktests.h b/src/qt/test/addressbooktests.h
new file mode 100644
index 0000000000..beeb9e76a9
--- /dev/null
+++ b/src/qt/test/addressbooktests.h
@@ -0,0 +1,15 @@
+#ifndef BITCOIN_QT_TEST_ADDRESSBOOKTESTS_H
+#define BITCOIN_QT_TEST_ADDRESSBOOKTESTS_H
+
+#include <QObject>
+#include <QTest>
+
+class AddressBookTests : public QObject
+{
+ Q_OBJECT
+
+private Q_SLOTS:
+ void addressBookTests();
+};
+
+#endif // BITCOIN_QT_TEST_ADDRESSBOOKTESTS_H