summaryrefslogtreecommitdiffstats
path: root/tests/msgb/msgb_test.ok
Commit message (Collapse)AuthorAgeFilesLines
* add function msgb_printf() to print formatted text into msg bufPhilipp Maier2017-10-221-0/+8
| | | | | | | | | | | In ASCII string based protocols it a printf() version that prints directly to the message buffer may be useful. Add function msgb_printf(), make sure that msg buffer bounderies are not exceeded. If the end of the tail buffer is hit, return with an error code. Change-Id: I15e1af68616309555d0ed9ac5da027c9833d42e3
* msgb/test: Add test case for error casesJacob Erlbeck2016-01-151-0/+2
| | | | | | Include a test for msgb_trim. Sponsored-by: On-Waves ehf
* msgb/test: Add tests for msgb_resize_area and msgb_copyJacob Erlbeck2016-01-151-0/+12
| | | | Sponsored-by: On-Waves ehf
* msgb/test: Add test for msgb message buffersJacob Erlbeck2016-01-151-0/+21
This tests several API functions of the msgb by checking the invariant and by dumping resulting message buffers as hex. Sponsored-by: On-Waves ehf Conflicts: tests/Makefile.am