Prototype event-loop.h for queue dependency injection.

Change-Id: I1af3f71a5b0cca741641f872f55dab10474ee064
diff --git a/aos/events/shm-event-loop_test.cc b/aos/events/shm-event-loop_test.cc
new file mode 100644
index 0000000..544adba
--- /dev/null
+++ b/aos/events/shm-event-loop_test.cc
@@ -0,0 +1,27 @@
+#include "aos/events/shm-event-loop.h"
+
+#include "aos/events/event-loop_param_test.h"
+#include "aos/testing/test_shm.h"
+#include "gtest/gtest.h"
+
+namespace aos {
+namespace testing {
+namespace {
+
+class ShmEventLoopTestFactory : public EventLoopTestFactory {
+ public:
+  std::unique_ptr<EventLoop> Make() override {
+    return std::unique_ptr<EventLoop>(new ShmEventLoop());
+  }
+
+  ::aos::testing::TestSharedMemory my_shm_;
+};
+
+INSTANTIATE_TEST_CASE_P(ShmEventLoopTest, AbstractEventLoopTest,
+                        ::testing::Values([]() {
+                          return new ShmEventLoopTestFactory();
+                        }));
+
+}  // namespace
+}  // namespace testing
+}  // namespace aos