summaryrefslogtreecommitdiff
path: root/unit
Commit message (Collapse)AuthorAgeFilesLines
* sim-auth: Parse auth response according to TS 31.102Slava Monich2021-06-011-28/+97
|
* unit: add validate_utf8_tlv testsSergey Matyukevich2021-01-191-0/+22
|
* unit: Update to the new stkutil apiDenis Kenzior2018-12-291-13/+14
|
* unit: Use l_util_hexstring instead of encode_hexDenis Kenzior2018-12-272-35/+25
|
* unit: Switch decode_hex to l_util_from_hexstringDenis Kenzior2018-12-273-137/+74
|
* unit: Update to use l_free instead of g_freeDenis Kenzior2018-12-272-51/+36
| | | | | Previous commit changes character conversion functions to use ell memory allocation routines. Update all uses to free memory using the same.
* unit: Fix memory leakDenis Kenzior2018-12-271-0/+1
|
* unit: Convert to new convert_utf8_to_gsm APIDenis Kenzior2018-12-271-4/+4
|
* unit: Update to the new convert_ucs2_to_gsm APIDenis Kenzior2018-12-271-1/+1
|
* unit: convert usage of g_test_verboseDenis Kenzior2018-12-274-174/+182
| | | | | | | | Convert all usages of this function in favor of using a static VERBOSE variable. We almost never use verbose output except while debugging. Additionally this allows us to more easily convert all unit tests to the ell unit test framework
* unit: Update to the new pack_7bit/unpack_7bit apiDenis Kenzior2018-12-272-32/+34
|
* unit: update to the new util apiDenis Kenzior2018-12-272-22/+22
|
* unit: Remove test-idmapDenis Kenzior2018-12-191-121/+0
| | | | No longer used by ofono
* treewide: Remove superfluous use of _GNU_SOURCEJonas Bonn2018-10-176-6/+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: Fix gcc warningDenis Kenzior2018-04-241-1/+1
| | | | | | | In file included from unit/test-mbim.c:28:0: unit/test-mbim.c: In function ‘parse_device_caps’: unit/test-mbim.c:332:9: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] assert(cellular_class = 1);
* unit: Use sim_app_record_free to avoid memleaksDenis Kenzior2018-02-281-0/+1
|
* unit: fix test-simutil failureJames Prestwood2018-01-191-4/+4
| | | | | | A fixup was made in simauth to fix the AUTS length and the simutil unit test was never updated to reflect the length change.
* unit: Improve idmap.c unit test coverageSlava Monich2018-01-181-0/+24
| | | | This brings function, line and branch coverage for idmap.c to 100%
* unit: Add ip configuration query sanity checkDenis Kenzior2017-11-131-0/+78
|
* unit: Add mbim packet service notification testDenis Kenzior2017-11-131-0/+40
|
* unit: Add Device Subscribe List set build testDenis Kenzior2017-11-081-0/+50
|
* unit: Add SMS Send parse testDenis Kenzior2017-11-081-0/+70
|
* unit: Add SMS Read response testsDenis Kenzior2017-11-081-0/+80
|
* unit: Fix fragmenting messages < frag_sizeDenis Kenzior2017-11-081-2/+8
|
* unit: Fix up style issuesDenis Kenzior2017-10-111-5/+8
|
* unit: add gsm and umts parse/build unit testsJames Prestwood2017-10-111-0/+105
|
* unit: Add device caps query build testDenis Kenzior2017-10-051-0/+31
|
* unit: Add phonebook read build testDenis Kenzior2017-10-051-0/+20
|
* unit: Add subscriber ready build testDenis Kenzior2017-10-051-0/+23
|
* unit: print mbim messages for easier debuggingDenis Kenzior2017-10-051-0/+12
|
* unit: Add device_caps build testDenis Kenzior2017-10-051-1/+84
|
* unit: Add phonebook read parse testDenis Kenzior2017-10-051-0/+48
|
* unit: Add subscriber ready status testDenis Kenzior2017-10-051-0/+67
|
* unit: Add test-mbimDenis Kenzior2017-10-051-0/+158
|
* unit: Avoid use of uninitialised data in test-simutilSlava Monich2017-08-241-2/+2
| | | | | | | | | | | | | GTest: run: /testsimutil/ber tlv encode EFpnn ==16777== Conditional jump or move depends on uninitialised value(s) ==16777== at 0x4068CB: ber_tlv_iter_next (simutil.c:369) ==16777== by 0x406C39: ber_tlv_find_by_tag (simutil.c:483) ==16777== by 0x407E1D: sim_eons_add_pnn_record (simutil.c:1027) ==16777== by 0x402C39: test_ber_tlv_builder_efpnn (test-simutil.c:181) ==16777== by 0x4EA3A80: g_test_run_suite_internal ==16777== by 0x4EA3F9A: g_test_run_suite ==16777== by 0x4EA3FD0: g_test_run ==16777== by 0x4042FA: main (test-simutil.c:518)
* unit: rilmodem-test - add missing string.hLukasz Nowak2017-03-284-0/+4
| | | | Remove warnings of undeclared memcpy, strncpy, etc.
* unit: test-sms: Fix memory leaks in the unit testSlava Monich2016-12-301-0/+5
|
* unit: add rilmodem gprs testsAlfonso Sánchez-Beato2016-10-251-0/+750
| | | | Add rilmodem gprs tests, which use the rilmodem test engine.
* unit: add rilmodem test engineAlfonso Sánchez-Beato2016-10-252-0/+354
| | | | | | | | | | | | | Add rilmodem test engine. This engine is an improvement on the rilmodem test server that allows us to test generic interactions with the rilmodem driver. Instead of just be able to check content of received/ sent bytes on the rild socket, we can now specify a set of steps for a test that include interactions with the atom. The step types are - TST_ACTION_SEND: The harness sends a parcel - TST_ACTION_CALL: The harness calls a driver function - TST_EVENT_RECEIVE: The driver sends a parcel - TST_EVENT_CALL: The driver calls a harness (atom) function
* unit: Use g_slist_free_fullJohn Ernberg2016-04-221-14/+7
|
* unit: fix GCC 6.0 compilation issuesKuba Pawlak2016-04-182-56/+0
| | | | -Werror=unused-const-variable
* unit: add new test-rilmodem-cbTony Espy2015-12-151-0/+598
|
* unit: update test-rilmodem-sms set_sca test caseTony Espy2015-12-041-4/+4
| | | | | | Update test-rilmodem-sms set_sca test case to take into account additional quotes used for sending a SET_SMSC_ADDRESS request.
* unit: add new test-rilmodem-sms test casesTony Espy2015-11-292-16/+346
| | | | | | | 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: add write support to rilmodem-test-serverTony Espy2015-11-292-44/+80
| | | | | | This change adds write support to the rilmodem-test-server in order to support testing receipt of unsolicted RIL responses.
* 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-smsTony Espy2015-11-193-0/+497
|
* 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.
* unit: Add test to encode / decode 11 char TP-OATommi Kenakkala2015-02-131-0/+38
|
* unit: Fix test to use valid EF_PNNAlfonso Sanchez-Beato2014-03-141-5/+7
| | | | test-simutil was not using EF_PNN files with a valid format.