|
Open Model Railroad Network (OpenMRN)
|
Test fixture base class for a second CAN-bus. More...
#include <async_if_test_helper.hxx>
Protected Member Functions | |
| void | send_packet1 (const string &gc_packet) |
| Send a gridconnect packet to the second CAN port. | |
Static Protected Member Functions | |
| static void | SetUpTestCase () |
| Initializes test case with CAN1. | |
| static void | TearDownTestCase () |
| De-Initializes test case with CAN1. | |
Protected Attributes | |
| StrictMock< MockSend > | canBus1_ |
| Helper object for setting expectations on the packets sent on the bus. | |
Test fixture base class for a second CAN-bus.
Usage: use multiple inheritance in the test fixture to merge both AsyncCanTest and AsyncCan1Test.
Definition at line 274 of file async_if_test_helper.hxx.
|
inlineprotected |
Definition at line 276 of file async_if_test_helper.hxx.
|
inlineprotected |
Definition at line 277 of file async_if_test_helper.hxx.
|
inlineprotected |
Send a gridconnect packet to the second CAN port.
| gc_packet | gridconnect formatted packet string. |
Definition at line 302 of file async_if_test_helper.hxx.
|
inlinestaticprotected |
Initializes test case with CAN1.
Note: if a child test implements SetUpTestCase themself, they must ensure to call this function.
Definition at line 284 of file async_if_test_helper.hxx.
|
inlinestaticprotected |
De-Initializes test case with CAN1.
Note: if a child test implements TearDownTestCase themself, they must ensure to call this function.
Definition at line 291 of file async_if_test_helper.hxx.
|
protected |
Helper object for setting expectations on the packets sent on the bus.
Definition at line 311 of file async_if_test_helper.hxx.