Denis Kenzior
ee34967a52
unit: Fix up style issues
2017-10-11 10:29:16 -05:00
James Prestwood
43ca69afbb
unit: add gsm and umts parse/build unit tests
2017-10-11 10:29:16 -05:00
Denis Kenzior
0b606acde2
unit: Add device caps query build test
2017-10-05 11:08:38 -05:00
Denis Kenzior
5f6a0147ba
unit: Add phonebook read build test
2017-10-05 11:08:38 -05:00
Denis Kenzior
0ce051f890
unit: Add subscriber ready build test
2017-10-05 11:08:38 -05:00
Denis Kenzior
95ac1efb13
unit: print mbim messages for easier debugging
2017-10-05 11:08:38 -05:00
Denis Kenzior
dc19edbeb4
unit: Add device_caps build test
2017-10-05 11:08:38 -05:00
Denis Kenzior
7ce3f9a401
unit: Add phonebook read parse test
2017-10-05 11:08:38 -05:00
Denis Kenzior
bc239450b6
unit: Add subscriber ready status test
2017-10-05 11:08:38 -05:00
Denis Kenzior
bbb9f33253
unit: Add test-mbim
2017-10-05 11:08:38 -05:00
Slava Monich
1878f6954d
unit: Avoid use of uninitialised data in test-simutil
...
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)
2017-08-24 17:28:17 -05:00
Lukasz Nowak
975a4df862
unit: rilmodem-test - add missing string.h
...
Remove warnings of undeclared memcpy, strncpy, etc.
2017-03-28 11:57:26 -05:00
Slava Monich
a011fea4a4
unit: test-sms: Fix memory leaks in the unit test
2016-12-30 18:13:06 -06:00
Alfonso Sánchez-Beato
8062417071
unit: add rilmodem gprs tests
...
Add rilmodem gprs tests, which use the rilmodem test engine.
2016-10-25 11:51:43 -05:00
Alfonso Sánchez-Beato
6429e9178d
unit: add rilmodem test engine
...
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
2016-10-25 11:51:43 -05:00
John Ernberg
4ae734ef6f
unit: Use g_slist_free_full
2016-04-22 15:37:26 -05:00
Kuba Pawlak
eb23a88956
unit: fix GCC 6.0 compilation issues
...
-Werror=unused-const-variable
2016-04-18 09:59:09 -05:00
Tony Espy
96b4f76205
unit: add new test-rilmodem-cb
2015-12-15 12:22:38 -06:00
Tony Espy
0967040809
unit: update test-rilmodem-sms set_sca test case
...
Update test-rilmodem-sms set_sca test case to take
into account additional quotes used for sending
a SET_SMSC_ADDRESS request.
2015-12-04 16:25:20 -06:00
Tony Espy
c4c82c5da9
unit: add new test-rilmodem-sms test cases
...
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.
2015-11-29 15:48:26 -06:00
Tony Espy
1d07e484ab
unit: add write support to rilmodem-test-server
...
This change adds write support to the rilmodem-test-server
in order to support testing receipt of unsolicted RIL
responses.
2015-11-29 15:48:22 -06:00
Tony Espy
e847d6f204
unit: re-factor test-rilmodem-cs server logic
...
Use the new rilmodem-test-server functions.
2015-11-19 16:33:14 -06:00
Tony Espy
d0cc848026
unit: add new test-rilmodem-sms
2015-11-19 16:33:14 -06:00
Tony Espy
54a630477d
unit: add new test rilmodem-cs
...
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.
2015-11-05 14:46:47 -06:00
Tommi Kenakkala
42deee76a1
unit: Add test to encode / decode 11 char TP-OA
2015-02-13 09:55:16 -06:00
Alfonso Sanchez-Beato
352e3ebb76
unit: Fix test to use valid EF_PNN
...
test-simutil was not using EF_PNN files with a valid format.
2014-03-14 12:24:26 -05:00
Marcel Holtmann
c86997223a
unit: Ignore errors about deprecated g_test_trap_fork
2013-12-21 13:27:36 -08:00
Denis Kenzior
0cdf3ced1f
test-sms: Add skeleton code for MWI unit test
2013-09-03 22:58:40 -05:00
Marcel Holtmann
55215c3113
unit: Fix SMS unit tests
2012-11-25 21:18:03 +01:00
Denis Kenzior
196183a3e5
unit: Add 2G and 3G path lookup tests
2012-11-22 10:26:34 -06:00
Denis Kenzior
cc14e85fa6
unit: Fix Style
2012-11-22 10:26:34 -06:00
Denis Kenzior
5e68694a82
unit: Remove failing test
...
We removed the needed file id from the sim database. It was not being
used.
2012-11-22 10:26:34 -06:00
Denis Kenzior
e579d4060b
unit: Move Poll Interval test data 1.1
2012-11-02 14:17:17 -05:00
Denis Kenzior
31e8118057
unit: Move Play Tone 6.1 test data
2012-11-02 13:27:01 -05:00
Denis Kenzior
5b463f219b
unit: Move Play Tone 5.1 test data
2012-11-02 13:18:24 -05:00
Denis Kenzior
d90c2050ab
unit: Fixup unit test PlayTone 4.10
2012-11-02 12:55:13 -05:00
Denis Kenzior
0da3d1745e
unit: Move Play Tone 4.1-4.10 test data
2012-11-02 12:55:00 -05:00
Denis Kenzior
c2a7695298
unit: Move Play Tone 3.1-3.4 test data
2012-10-31 16:14:27 -05:00
Denis Kenzior
c6158d739a
unit: Move PlayTone 2.1 test data
2012-10-31 16:14:27 -05:00
Denis Kenzior
e078928196
unit: Move PlayTone test data for test sequence 1.1
2012-10-31 16:14:27 -05:00
Denis Kenzior
67560b5919
unit: Move More Time test data
2012-10-31 16:14:26 -05:00
Denis Kenzior
7ace5b454c
unit: Move GetInput test data 12.1-12.2
2012-10-20 21:17:18 -05:00
Denis Kenzior
92320c2a5c
unit: Move GetInput 11.1-11.2 test data
2012-10-20 21:17:18 -05:00
Denis Kenzior
eb4fc4c652
unit: Move GetInput 10.1-10.2 test data
2012-10-20 20:57:53 -05:00
Denis Kenzior
40a50af2d0
unit: Move GetInput 9.1-9.2 test data
2012-10-20 19:50:40 -05:00
Denis Kenzior
5fa1e0c164
unit: Move GetInput test data 8.1-8.10
2012-10-20 19:39:53 -05:00
Denis Kenzior
eac1d829a6
unit: Move GetInput 6.1-6.4 test data
2012-10-18 21:00:38 -05:00
Denis Kenzior
124e2bbc09
unit: Move GetInput 5.1-5.2 test data
2012-10-18 20:42:38 -05:00
Denis Kenzior
594ff3678d
unit: Move GetInput 4.1-4.2 test data
2012-10-18 20:28:56 -05:00
Denis Kenzior
03a619d7ad
unit: Move GetInput 3.1-3.2 test data
2012-10-18 13:45:49 -05:00