summaryrefslogtreecommitdiffstats
path: root/tests/logging
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-08-08 12:38:54 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-08 14:29:17 +0200
commit8a1666b1bf630f62f635028edcf49b0f069b9e7a (patch)
tree6eba7ac78e95c92be70223adba6637bd34795430 /tests/logging
parent9597555a362cd28c02e9bbfe4f55c4b90ecdfa34 (diff)
ussd: Changed 7bit test to check spec conformance directly
Renamed gsm_7bit_ussd() to test_7bit_ussd() and extended the function to take the expected binary encoding and eventually added trailing bytes in the re-decoded text as arguments. These are used to check assertions of the right behaviour instead of solely relying on regression data, because the value are determined by the spec and fixed and it is more obvious this way. Especially concerning the case with the duplicated \r which can easily be overlooked when it's only present in the ok file.
Diffstat (limited to 'tests/logging')
0 files changed, 0 insertions, 0 deletions