added tests

This commit is contained in:
Neeflix
2018-06-28 00:25:26 +02:00
parent 66dd3f2b42
commit 252dbeca47
61 changed files with 4867 additions and 14 deletions

View File

@@ -19,7 +19,7 @@
#include <thread>
#include <map>
#include "../utilities/InputGPIOInterface.h"
#include "../utilities/IInputGPIOInterface.h"
#include "Event.h"
#include "IEventNotifier.h"
@@ -30,7 +30,7 @@ class Detector : public IDetector
{
public:
Detector(InputGPIOInterface* input_gpio_interface, std::map<char, Event> events, IEventNotifier* event_notifier);
Detector(IInputGPIOInterface* input_gpio_interface, std::map<char, Event> events, IEventNotifier* event_notifier);
~Detector();
private:
@@ -38,7 +38,7 @@ private:
bool check_inputs(char& address);
private:
InputGPIOInterface* input_gpio_interface;
IInputGPIOInterface* input_gpio_interface;
std::map<char, Event> events;