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/MockXbeeTransmitter.hpp@26:328f659fc1b3, 2017-03-11 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Sat Mar 11 13:44:32 2017 -0500
- Revision:
- 26:328f659fc1b3
- Parent:
- TESTS/MockXbeeTransmitter.hpp@21:a701f5a37a37
- Child:
- 28:8fc53a870691
Move all mocks in a subdirectory
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maxime Dupuis |
21:a701f5a37a37 | 1 | #ifndef MOCK_XBEE_TRANSMITTER_HPP |
Maxime Dupuis |
21:a701f5a37a37 | 2 | #define MOCK_XBEE_TRANSMITTER_HPP |
Maxime Dupuis |
21:a701f5a37a37 | 3 | |
Maxime Dupuis |
21:a701f5a37a37 | 4 | #include "XbeeTransmitter.hpp" |
Maxime Dupuis |
21:a701f5a37a37 | 5 | |
Maxime Dupuis |
21:a701f5a37a37 | 6 | class MockXbeeTransmitter : public XbeeTransmitter |
Maxime Dupuis |
21:a701f5a37a37 | 7 | { |
Maxime Dupuis |
21:a701f5a37a37 | 8 | public: |
Maxime Dupuis |
21:a701f5a37a37 | 9 | MOCK_METHOD1(transmit, void(const std::vector<uint8_t>& bytes)); |
Maxime Dupuis |
21:a701f5a37a37 | 10 | }; |
Maxime Dupuis |
21:a701f5a37a37 | 11 | |
Maxime Dupuis |
21:a701f5a37a37 | 12 | #endif |