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
Denis Kenzior
ae4022effa
unit: Move GetInput 2.1 test data
2012-10-18 13:45:03 -05:00
Denis Kenzior
ca2467fc6d
unit: Move GetInput test data 1.10
2012-10-18 13:10:33 -05:00
Denis Kenzior
4525a9c1f3
unit: Tweak unit test to match test data
2012-10-18 13:05:54 -05:00
Denis Kenzior
027b6c6d0a
unit: Move GetInput 1.9 test data
2012-10-18 13:05:40 -05:00
Denis Kenzior
19a86cf7a8
unit: Move GetInput 1.8 test data
2012-10-18 12:54:24 -05:00
Denis Kenzior
95556706df
unit: Move GetInput 1.7 test data
2012-10-18 12:46:13 -05:00
Denis Kenzior
7cbeebc6ab
unit: Move GetInput 1.6 test data
2012-10-18 12:43:10 -05:00
Denis Kenzior
8bc7270203
unit: Move GetInput 1.5 test data
2012-10-18 12:37:42 -05:00
Denis Kenzior
68adec9d8f
unit: Move GetInput 1.4 test data
2012-10-18 12:34:26 -05:00
Denis Kenzior
68dad51106
unit: Move GetInput 1.3 test data
2012-10-18 12:00:58 -05:00
Denis Kenzior
a13ac83b6b
unit: Move GetInput 1.2 test data
2012-10-18 11:57:28 -05:00