event: Add mock for clients
Makes it easier for client libraries to test their gpio logic.
Change-Id: I34d4372ff57698873ad449e02b78c8fa826d383d
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/mocks.cpp b/test/mocks.cpp
index 2bc1f61..c7d7392 100644
--- a/test/mocks.cpp
+++ b/test/mocks.cpp
@@ -1,3 +1,4 @@
+#include <gpioplus/test/event.hpp>
#include <gpioplus/test/handle.hpp>
namespace gpioplus
@@ -7,6 +8,7 @@
TEST(Mocks, Compile)
{
+ test::EventMock event;
test::HandleMock handle;
}