for injection, add handler: add unit-tests
Add a handler to enable dependency injection for testing. This is a
required step to use mocks.
Add the unit-tests.
Tested: Verified the new unit-tests ran.
Change-Id: I991849e6df2c3e74f59145a966048fc6825560db
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/Makefile.am b/Makefile.am
index c0e1f35..2f78a5f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
libethstatscmddir = ${libdir}/ipmid-providers
libethstatscmd_LTLIBRARIES = libethstatscmd.la
-libethstatscmd_la_SOURCES = main.cpp ethstats.cpp
+libethstatscmd_la_SOURCES = main.cpp ethstats.cpp handler.cpp
libethstatscmd_la_LDFLAGS = \
$(LIBIPMID_LIBS) \