#include "gpio_mock.hpp" #include #include // Set this before each test that hits a call to getEnv(). GpioHandleInterface* gpioIntf; namespace gpio { std::unique_ptr BuildGpioHandle(const std::string& gpiochip, const std::string& line) { return (gpioIntf) ? gpioIntf->build(gpiochip, line) : nullptr; } } // namespace gpio