Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sim-auth: Parse auth response according to TS 31.102 | Slava Monich | 2021-06-01 | 1 | -28/+97 |
| | |||||
* | unit: add validate_utf8_tlv tests | Sergey Matyukevich | 2021-01-19 | 1 | -0/+22 |
| | |||||
* | unit: Update to the new stkutil api | Denis Kenzior | 2018-12-29 | 1 | -13/+14 |
| | |||||
* | unit: Use l_util_hexstring instead of encode_hex | Denis Kenzior | 2018-12-27 | 2 | -35/+25 |
| | |||||
* | unit: Switch decode_hex to l_util_from_hexstring | Denis Kenzior | 2018-12-27 | 3 | -137/+74 |
| | |||||
* | unit: Update to use l_free instead of g_free | Denis Kenzior | 2018-12-27 | 2 | -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 leak | Denis Kenzior | 2018-12-27 | 1 | -0/+1 |
| | |||||
* | unit: Convert to new convert_utf8_to_gsm API | Denis Kenzior | 2018-12-27 | 1 | -4/+4 |
| | |||||
* | unit: Update to the new convert_ucs2_to_gsm API | Denis Kenzior | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | unit: convert usage of g_test_verbose | Denis Kenzior | 2018-12-27 | 4 | -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 api | Denis Kenzior | 2018-12-27 | 2 | -32/+34 |
| | |||||
* | unit: update to the new util api | Denis Kenzior | 2018-12-27 | 2 | -22/+22 |
| | |||||
* | unit: Remove test-idmap | Denis Kenzior | 2018-12-19 | 1 | -121/+0 |
| | | | | No longer used by ofono | ||||
* | treewide: Remove superfluous use of _GNU_SOURCE | Jonas Bonn | 2018-10-17 | 6 | -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 warning | Denis Kenzior | 2018-04-24 | 1 | -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 memleaks | Denis Kenzior | 2018-02-28 | 1 | -0/+1 |
| | |||||
* | unit: fix test-simutil failure | James Prestwood | 2018-01-19 | 1 | -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 coverage | Slava Monich | 2018-01-18 | 1 | -0/+24 |
| | | | | This brings function, line and branch coverage for idmap.c to 100% | ||||
* | unit: Add ip configuration query sanity check | Denis Kenzior | 2017-11-13 | 1 | -0/+78 |
| | |||||
* | unit: Add mbim packet service notification test | Denis Kenzior | 2017-11-13 | 1 | -0/+40 |
| | |||||
* | unit: Add Device Subscribe List set build test | Denis Kenzior | 2017-11-08 | 1 | -0/+50 |
| | |||||
* | unit: Add SMS Send parse test | Denis Kenzior | 2017-11-08 | 1 | -0/+70 |
| | |||||
* | unit: Add SMS Read response tests | Denis Kenzior | 2017-11-08 | 1 | -0/+80 |
| | |||||
* | unit: Fix fragmenting messages < frag_size | Denis Kenzior | 2017-11-08 | 1 | -2/+8 |
| | |||||
* | unit: Fix up style issues | Denis Kenzior | 2017-10-11 | 1 | -5/+8 |
| | |||||
* | unit: add gsm and umts parse/build unit tests | James Prestwood | 2017-10-11 | 1 | -0/+105 |
| | |||||
* | unit: Add device caps query build test | Denis Kenzior | 2017-10-05 | 1 | -0/+31 |
| | |||||
* | unit: Add phonebook read build test | Denis Kenzior | 2017-10-05 | 1 | -0/+20 |
| | |||||
* | unit: Add subscriber ready build test | Denis Kenzior | 2017-10-05 | 1 | -0/+23 |
| | |||||
* | unit: print mbim messages for easier debugging | Denis Kenzior | 2017-10-05 | 1 | -0/+12 |
| | |||||
* | unit: Add device_caps build test | Denis Kenzior | 2017-10-05 | 1 | -1/+84 |
| | |||||
* | unit: Add phonebook read parse test | Denis Kenzior | 2017-10-05 | 1 | -0/+48 |
| | |||||
* | unit: Add subscriber ready status test | Denis Kenzior | 2017-10-05 | 1 | -0/+67 |
| | |||||
* | unit: Add test-mbim | Denis Kenzior | 2017-10-05 | 1 | -0/+158 |
| | |||||
* | unit: Avoid use of uninitialised data in test-simutil | Slava Monich | 2017-08-24 | 1 | -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.h | Lukasz Nowak | 2017-03-28 | 4 | -0/+4 |
| | | | | Remove warnings of undeclared memcpy, strncpy, etc. | ||||
* | unit: test-sms: Fix memory leaks in the unit test | Slava Monich | 2016-12-30 | 1 | -0/+5 |
| | |||||
* | unit: add rilmodem gprs tests | Alfonso Sánchez-Beato | 2016-10-25 | 1 | -0/+750 |
| | | | | Add rilmodem gprs tests, which use the rilmodem test engine. | ||||
* | unit: add rilmodem test engine | Alfonso Sánchez-Beato | 2016-10-25 | 2 | -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_full | John Ernberg | 2016-04-22 | 1 | -14/+7 |
| | |||||
* | unit: fix GCC 6.0 compilation issues | Kuba Pawlak | 2016-04-18 | 2 | -56/+0 |
| | | | | -Werror=unused-const-variable | ||||
* | unit: add new test-rilmodem-cb | Tony Espy | 2015-12-15 | 1 | -0/+598 |
| | |||||
* | unit: update test-rilmodem-sms set_sca test case | Tony Espy | 2015-12-04 | 1 | -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 cases | Tony Espy | 2015-11-29 | 2 | -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-server | Tony Espy | 2015-11-29 | 2 | -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 logic | Tony Espy | 2015-11-19 | 1 | -256/+123 |
| | | | | Use the new rilmodem-test-server functions. | ||||
* | unit: add new test-rilmodem-sms | Tony Espy | 2015-11-19 | 3 | -0/+497 |
| | |||||
* | unit: add new test rilmodem-cs | Tony Espy | 2015-11-05 | 1 | -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-OA | Tommi Kenakkala | 2015-02-13 | 1 | -0/+38 |
| | |||||
* | unit: Fix test to use valid EF_PNN | Alfonso Sanchez-Beato | 2014-03-14 | 1 | -5/+7 |
| | | | | test-simutil was not using EF_PNN files with a valid format. |