uh the fucking tests are fucking compiling :sigh: ♿ fuck itgit add *git add *git add *git add *git add *
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#include "../../src/input/InputDriver.h"
|
||||
|
||||
#include "../../src/input/Event.hpp"
|
||||
#include "../../src/input/Event.h"
|
||||
#include "../../src/input/IEventNotifier.h"
|
||||
#include "../../src/input/IDetector.h"
|
||||
|
||||
@@ -26,7 +26,7 @@ SCENARIO("An InputDriver gets created", "[construction}")
|
||||
Mock<Input::IDetector> detector_mock;
|
||||
|
||||
Mock<Input::IEventNotifier> event_notifier_mock;
|
||||
Mock<Input::IEventHandler> event_handler_mock;
|
||||
Mock<IEventHandler> event_handler_mock;
|
||||
|
||||
WHEN("The InputDriver gets created")
|
||||
{
|
||||
@@ -40,13 +40,13 @@ SCENARIO("An InputDriver gets created", "[construction}")
|
||||
}
|
||||
}
|
||||
|
||||
SCENARIO("An EventHandler [un]registers at the driver", "[[un]register]")
|
||||
SCENARIO("An EventHandler [un]registers at the driver", "[un-register]")
|
||||
{
|
||||
GIVEN("An InputDriver, EventHandler and an EventNotifier")
|
||||
{
|
||||
Mock<Input::IDetector> detector_mock;
|
||||
|
||||
Mock<Input::IEventHandler> event_handler_mock;
|
||||
Mock<IEventHandler> event_handler_mock;
|
||||
Mock<Input::IEventNotifier> event_notifier_mock;
|
||||
When(Method(event_notifier_mock, register_event_handler));
|
||||
When(Method(event_notifier_mock, unregister_event_handler));
|
||||
|
||||
Reference in New Issue
Block a user