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/MockDigitalOut.hpp@26:328f659fc1b3, 2017-03-11 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Sat Mar 11 13:44:32 2017 -0500
- Revision:
- 26:328f659fc1b3
- Parent:
- TESTS/MockDigitalOut.hpp@25:0f2d698ecb3e
Move all mocks in a subdirectory
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maxime Dupuis |
25:0f2d698ecb3e | 1 | #ifndef MOCK_DIGITAL_OUT_HPP |
Maxime Dupuis |
25:0f2d698ecb3e | 2 | #define MOCK_DIGITAL_OUT_HPP |
Maxime Dupuis |
25:0f2d698ecb3e | 3 | |
Maxime Dupuis |
25:0f2d698ecb3e | 4 | #include "DigitalOutInterface.hpp" |
Maxime Dupuis |
25:0f2d698ecb3e | 5 | |
Maxime Dupuis |
25:0f2d698ecb3e | 6 | class MockDigitalOut : public DigitalOutInterface |
Maxime Dupuis |
25:0f2d698ecb3e | 7 | { |
Maxime Dupuis |
25:0f2d698ecb3e | 8 | public: |
Maxime Dupuis |
25:0f2d698ecb3e | 9 | MOCK_METHOD1(write, void(int value)); |
Maxime Dupuis |
25:0f2d698ecb3e | 10 | }; |
Maxime Dupuis |
25:0f2d698ecb3e | 11 | |
Maxime Dupuis |
25:0f2d698ecb3e | 12 | #endif |