Unit tests for the dynamic_buffer_stream adapter.
More...
Files | |
| file | unit_test_dynamic_buffer_stream.c |
Unit tests implementation for the dynamic_buffer_stream adapter. | |
The tests in this group verify the contracts of:
dynamic_buffer_stream_default_cfg()dynamic_buffer_stream_default_env()dynamic_buffer_stream_create_stream()dynamic_buffer_stream_create_desc()stream_adapter_desc_t::ctorThe tests in this group also verify the behavior of the adapter private callbacks:
dynamic_buffer_stream_write()dynamic_buffer_stream_read()dynamic_buffer_stream_flush()dynamic_buffer_stream_close()These private callbacks are exercised through the public stream API and lifecycle entry points rather than being called directly.