NerfUS mobile node that manages a target for the Nerf gun firing range

Dependencies:   LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager

Fork of NerfUS by NerfUS

Committer:
Maxime Dupuis
Date:
Wed Apr 12 10:33:32 2017 -0400
Revision:
51:6bf268cd1a1b
Parent:
32:50b777bab5a4
Update tests to ignore target hits before 750ms threshold

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Maxime Dupuis 29:049a2f46c738 1 #ifndef MOCK_NERFUS_TICKER_HPP
Maxime Dupuis 29:049a2f46c738 2 #define MOCK_NERFUS_TICKER_HPP
Maxime Dupuis 29:049a2f46c738 3
Maxime Dupuis 29:049a2f46c738 4 #include "NerfusTickerInterface.hpp"
Maxime Dupuis 29:049a2f46c738 5
Maxime Dupuis 29:049a2f46c738 6 class MockNerfusTicker : public NerfusTickerInterface
Maxime Dupuis 29:049a2f46c738 7 {
Maxime Dupuis 29:049a2f46c738 8 public:
Maxime Dupuis 29:049a2f46c738 9 MOCK_METHOD1(start, void(int timeout_ms));
Maxime Dupuis 29:049a2f46c738 10 MOCK_METHOD0(stop, void());
Maxime Dupuis 32:50b777bab5a4 11 MOCK_METHOD0(get_time_ms, int());
Maxime Dupuis 29:049a2f46c738 12 };
Maxime Dupuis 29:049a2f46c738 13
Maxime Dupuis 29:049a2f46c738 14 #endif
Maxime Dupuis 29:049a2f46c738 15