Make the Individual tests linkable for meson
- In the current state, the tests can only be linkable
together into a single binary, as we are using the few
vaiables from external tests and using them during link
time to generate the executable.
- The idea of this commit is to make the unit test files
linkable individually, so that we have have a better way
of running unitests through meson, rather than bundling all
the tests into a gaigantic binary.
TestedBy:
The unit tests are passed in CI
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I67b953e5bc227d876139373aebeacbf5c20f56ef
diff --git a/test/mock_network_manager.hpp b/test/mock_network_manager.hpp
index b4a6894..1fc3f9b 100644
--- a/test/mock_network_manager.hpp
+++ b/test/mock_network_manager.hpp
@@ -12,6 +12,9 @@
namespace network
{
+void initializeTimers();
+void refreshObjects();
+
class MockManager : public phosphor::network::Manager
{
public: