summaryrefslogtreecommitdiff
path: root/test/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/helpers.h')
-rw-r--r--test/helpers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/helpers.h b/test/helpers.h
index 87ef31d..9596e12 100644
--- a/test/helpers.h
+++ b/test/helpers.h
@@ -5,6 +5,7 @@
#include <cstddef>
#include <cstdio>
#include <ctime>
+#include <eventCounter.h>
#include <iostream>
#include <memory>
#include <optional>
@@ -68,4 +69,9 @@ struct MemStream {
FILE * s;
};
+class EventCounterTarget : public MyGrate::EventCounter {
+public:
+ EventCounterTarget & add(mariadb_rpl_event, unsigned long);
+};
+
#endif