Add clang-tidy file
This commit implements a clang-tidy file, and makes
some changes to get it to pass.
Most changes are naming or mechanical in nature.
Tested:
CI passed in docker.
Change-Id: I1f9acf546542c839b8f9facb5b8beff37c0d5909
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/test/TestBmcEpoch.cpp b/test/TestBmcEpoch.cpp
index aee19f9..8556d72 100644
--- a/test/TestBmcEpoch.cpp
+++ b/test/TestBmcEpoch.cpp
@@ -26,7 +26,7 @@
// BmcEpoch requires sd_event to init
sd_event_default(&event);
bus.attach_event(event, SD_EVENT_PRIORITY_NORMAL);
- bmcEpoch = std::make_unique<BmcEpoch>(bus, OBJPATH_BMC, manager);
+ bmcEpoch = std::make_unique<BmcEpoch>(bus, objpathBmc, manager);
}
~TestBmcEpoch()