Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager
Fork of NerfUS by
Diff: TESTS/TargetTest.cpp
- Revision:
- 37:8fc7845ae95b
- Parent:
- 27:3ae7c62008ea
- Child:
- 41:d60c9ced57ab
diff -r f55ce07292c9 -r 8fc7845ae95b TESTS/TargetTest.cpp
--- a/TESTS/TargetTest.cpp Wed Apr 05 22:24:50 2017 +0000
+++ b/TESTS/TargetTest.cpp Sat Apr 08 14:08:37 2017 -0400
@@ -47,7 +47,7 @@
{
const std::vector<uint8_t> expected_message = target.generate_message(32, Target::RESULT_MISSED, 42);
- EXPECT_CALL(mock_xbee_transmitter, transmit(expected_message))
+ EXPECT_CALL(mock_xbee_transmitter, transmit(expected_message, coordinator_address))
.Times(1);
target.timeout(42);
@@ -57,7 +57,7 @@
{
const std::vector<uint8_t> expected_message = target.generate_message(32, Target::RESULT_HIT, 42);
- EXPECT_CALL(mock_xbee_transmitter, transmit(expected_message))
+ EXPECT_CALL(mock_xbee_transmitter, transmit(expected_message, coordinator_address))
.Times(1);
target.hit(42);
