niclabs/two

add functions of every frame to mocks

todo opened this issue · 0 comments

todo commented

//TODO: add functions of every frame to mocks
DEFINE_FFF_GLOBALS;
FAKE_VALUE_FUNC(int, read_window_update_payload, frame_header_t *, void *, uint8_t *);
FAKE_VALUE_FUNC(int, read_data_payload, frame_header_t *, void *, uint8_t *);
FAKE_VALUE_FUNC(int, read_goaway_payload, frame_header_t *, void *, uint8_t *);
FAKE_VALUE_FUNC(int, read_settings_payload, frame_header_t *, void *, uint8_t *);


This issue was generated by todo based on a TODO: comment in 8d698b7. It's been assigned to @gnorambuena because they committed the code.