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
TESTS/mocks/MockNerfusTicker.hpp@29:049a2f46c738, 2017-03-27 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Mon Mar 27 18:39:38 2017 -0400
- Revision:
- 29:049a2f46c738
- Child:
- 32:50b777bab5a4
Create MockNerfusTicker
Who changed what in which revision?
User | Revision | Line number | New 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 |
29:049a2f46c738 | 11 | }; |
Maxime Dupuis |
29:049a2f46c738 | 12 | |
Maxime Dupuis |
29:049a2f46c738 | 13 | #endif |
Maxime Dupuis |
29:049a2f46c738 | 14 |