aboutsummaryrefslogtreecommitdiff
path: root/src/test/ipc_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ipc_test.h')
-rw-r--r--src/test/ipc_test.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/test/ipc_test.h b/src/test/ipc_test.h
index bcfcc2125c..2d215a20f1 100644
--- a/src/test/ipc_test.h
+++ b/src/test/ipc_test.h
@@ -7,6 +7,8 @@
#include <primitives/transaction.h>
#include <univalue.h>
+#include <util/fs.h>
+#include <validation.h>
class FooImplementation
{
@@ -14,8 +16,13 @@ public:
int add(int a, int b) { return a + b; }
COutPoint passOutPoint(COutPoint o) { return o; }
UniValue passUniValue(UniValue v) { return v; }
+ CTransactionRef passTransaction(CTransactionRef t) { return t; }
+ std::vector<char> passVectorChar(std::vector<char> v) { return v; }
+ BlockValidationState passBlockState(BlockValidationState s) { return s; }
};
-void IpcTest();
+void IpcPipeTest();
+void IpcSocketPairTest();
+void IpcSocketTest(const fs::path& datadir);
#endif // BITCOIN_TEST_IPC_TEST_H