Struct MockCanState¶
Mock CAN state structure for testing purposes. More...
#include <isotp_test_support.h>
Public Attributes¶
| Type | Name |
|---|---|
| int | call_count |
| uint8_t | last_data |
| uint32_t | last_id |
| uint8_t | last_size |
| int | return_value |
Detailed Description¶
Captures the last transmitted CAN frame and counts calls.
Public Attributes Documentation¶
variable call_count¶
int MockCanState::call_count;
variable last_data¶
uint8_t MockCanState::last_data[8];
variable last_id¶
uint32_t MockCanState::last_id;
variable last_size¶
uint8_t MockCanState::last_size;
variable return_value¶
int MockCanState::return_value;
The documentation for this class was generated from the following file tests/unit/isotp_test_support.h