summaryrefslogtreecommitdiff
path: root/unit/test-rilmodem-cs.c
Commit message (Collapse)AuthorAgeFilesLines
* treewide: Remove superfluous use of _GNU_SOURCEJonas Bonn2018-10-171-1/+0
| | | | | | There are a large number of files in the tree that define _GNU_SOURCE despite not actually using features hidden behind this flag. This patch removes all these definitions in one fell swoop...
* unit: rilmodem-test - add missing string.hLukasz Nowak2017-03-281-0/+1
| | | | Remove warnings of undeclared memcpy, strncpy, etc.
* unit: add new test-rilmodem-sms test casesTony Espy2015-11-291-2/+4
| | | | | | | Add new test-rilmodem-sms test cases for the remaining untested atom functions, including two tests for incoming SMS unsolicited responses. Also updated test-rilmodem-cs due to rilmodem-test-server changes.
* unit: re-factor test-rilmodem-cs server logicTony Espy2015-11-191-256/+123
| | | | Use the new rilmodem-test-server functions.
* unit: add new test rilmodem-csTony Espy2015-11-051-0/+694
This commit adds a new style of build-time/unit test to rilmodem. These tests setup a dummy server socket and attach a gril instance to it. This allows rilmodem call-settings atom functions to be tested directly, validating request parcels received by the server-side, and callbacks that happen in response to canned responses sent by the server-side.