Commit Graph

295 Commits

Author SHA1 Message Date
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
Denis Kenzior 35eb3a5e3d unit: Move GetInput 1.1 test data 2012-10-18 11:53:05 -05:00
Denis Kenzior f55e160f62 unit: Move GetInkey test data 13.1 2012-10-09 14:26:11 -05:00
Denis Kenzior 9ea1cc1510 unit: Move GetInkey test data 12.1-12.2 2012-10-09 14:22:57 -05:00
Denis Kenzior f38abc1907 unit: Move GetInkey 11.1 test data 2012-10-09 14:15:20 -05:00
Denis Kenzior 3f7736c967 unit: Move GetInkey 10.1-10.2 test data 2012-10-09 14:12:57 -05:00
Denis Kenzior cd5f00a3ae unit: Move GetInkey 9.1-9.10 test data 2012-10-09 14:05:12 -05:00
Denis Kenzior f4876d6c96 unit: Tweak stk unit test data 2012-10-09 12:48:17 -05:00
Denis Kenzior c4345c1651 unit: Move GetInkey 8.1 test data 2012-10-09 12:09:33 -05:00
Denis Kenzior c233467350 unit: Move GetInkey 6.1-6.4 data 2012-10-09 11:56:00 -05:00
Denis Kenzior 690ed1f32b unit: Move GetInkey 5.1 test data 2012-10-09 11:27:10 -05:00
Denis Kenzior 4e125b2d10 unit: Move GetInkey 4.1 test data 2012-10-09 11:26:59 -05:00
Denis Kenzior 5154459856 unit: Move Get Inkey 3.1-3.2 test data 2012-10-09 11:26:59 -05:00
Denis Kenzior b759fb1a4a unit: Move test data for GetInkey 2.1 2012-10-09 11:26:59 -05:00
Denis Kenzior bc796810c8 unit: Move test data for Get Inkey 1.5-1.6 2012-10-09 11:26:59 -05:00
Denis Kenzior acd1edbc90 unit: Move Get Inkey test data for 1.1-1.4 2012-10-09 11:26:58 -05:00
Denis Kenzior 615ab3a784 unit: Add response data for DisplayText 9.1 and 10.1 2012-10-08 15:40:19 -05:00
Denis Kenzior 17854f17a1 unit: Add response data to 8.x DisplayText cases 2012-10-08 15:39:03 -05:00
Denis Kenzior 60cf42e9f5 unit: Fix up a couple DisplayText cases 2012-10-08 15:38:28 -05:00
Denis Kenzior 3246e7df1c unit: Add response data for DisplayText test 7.1 2012-10-08 14:56:43 -05:00
Denis Kenzior 600548f75b unit: Define response for Display Text 6.1 2012-10-08 12:55:44 -05:00
Denis Kenzior e93af1da79 unit: add DisplayText 5.1-5.3 test data 2012-10-08 12:46:51 -05:00
Denis Kenzior 732f598ad1 unit: Add DisplayText 4.x data 2012-10-03 09:10:43 -05:00
Denis Kenzior c796e84051 unit: Add DisplayText 311 data 2012-10-03 09:10:43 -05:00
Denis Kenzior 8ec203628a unit: Add DisplayText 211 data 2012-10-03 09:10:43 -05:00
Denis Kenzior 4c3fd900c0 unit: Add DisplayText 1.9.1 data 2012-10-03 09:10:43 -05:00
Denis Kenzior 81211f37ec unit: Add DisplayText 1.8.1 data 2012-10-03 09:10:43 -05:00
Denis Kenzior 794d4aff2b unit: Add Display Text Response 1.4.1 2012-10-03 09:10:43 -05:00
Denis Kenzior 485c89c7ac unit: Move display text data to common header 2012-10-03 09:10:42 -05:00
Guillaume Zajac 134a35f697 unit: Add test to check CBS padding character
This CBS unit test is used to check that the <CR> character can
be interpreted as a wanted carriage return and not necessarily
as a padding character.
2012-09-17 11:43:11 -05:00
Denis Kenzior 111c1a2873 unit: Add a unit test for empty sim strings 2012-08-16 00:49:45 -05:00
Denis Kenzior 454a02a096 unit: Simplify previous commit 2012-07-17 14:28:31 -05:00
Guillaume Zajac 23a0d8ad55 unit: Update test_invalid() unit test 2012-07-17 14:25:45 -05:00
Marcel Holtmann d311bccb9d unit: Avoid shadowing data variable 2012-07-15 20:15:49 -03:00
Marcel Holtmann 9077c0bf7f unit: Avoid shadowing hex_packed variable 2012-07-15 20:14:12 -03:00
Marcel Holtmann 603d7dfa10 unit: Update copyright information 2011-10-10 13:40:17 -07:00
Marcel Holtmann 7f7492669a build: Split non-root unit tests to have make check succeed 2011-06-30 16:19:24 -07:00
Lei Yu 09bb193614 test: Add CDMA SMS Support 2011-05-24 12:00:14 -05:00
Denis Kenzior 9a6940a4a7 unit: Minor whitespace issues 2011-03-31 13:50:01 -05:00
Philippe Nunes 4a9fbd2bd2 test-stkutil: Add unit tests for BIP commands 2011-03-31 13:44:41 -05:00
Jeevaka Badrappan a5f7b74566 unit: fix broken alpha id unit test cases 2011-03-21 14:04:11 -05:00
Andrzej Zaborowski 91bdf99e49 unit: unit test for sim_parse_app_template_entries 2011-01-20 11:15:38 -06:00
Jeevaka Badrappan 2b8b08c134 unit: M15 coding style fix 2011-01-12 08:06:59 -08:00
Jeevaka Badrappan 2edb62e3bf unit: add error status support for failure cases 2011-01-05 10:07:02 -06:00
Yang Gu 26575211eb test-stkutil: Modify the check logic of time zone 2010-12-16 18:40:18 -06:00
Denis Kenzior b148996a54 unit: Fix up stk test data timezone handling 2010-12-10 10:46:56 -06:00
Denis Kenzior 35fbdd6706 unit: Use empty text instead of NULL 2010-12-10 10:46:56 -06:00
Denis Kenzior c5c7c95436 test: Fixup build issues with test-sms 2010-12-09 01:53:05 -06:00
Denis Kenzior 2ee569255f unit: Minor style updates to test-sms 2010-12-08 10:31:05 -06:00
Oleg Zhurakivskyy f68ecd9389 unit: add national dialect SMS character set tests 2010-12-08 10:27:25 -06:00
Lucas De Marchi 2012940822 unit: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 11:48:53 -06:00
Denis Kenzior 149ebae625 unit: Update test-sms to the new API 2010-11-02 14:58:21 -05:00
Marcel Holtmann eeeeb11cba unit: Fix some copyright and license headers 2010-09-26 17:49:19 +09:00
Denis Kenzior 0ec4cbac62 unit: Make test-sms less verbose 2010-09-22 16:32:55 -05:00
Petteri Tikander 46d43a0d88 unit: add fuzzy address check to test-sms 2010-09-22 12:20:57 -05:00
Denis Kenzior 753cab6f70 unit: Update test-sms to the new sr assembly api 2010-09-21 08:44:48 -05:00
Denis Kenzior c72fd8af18 test-util: Update unit test 2010-09-14 11:45:34 -05:00
Denis Kenzior 9842355fe4 test-util: Fixup various style issues 2010-09-14 10:02:51 -05:00
Jeevaka Badrappan 1c8e27ddae test-util: test for UCS2 to GSM conversion 2010-09-14 09:58:58 -05:00
Petteri Tikander bbbdc32b43 unit: Add unit test for status report expiration 2010-09-10 10:31:27 -05:00
Denis Kenzior cab1dffe2b test-sms: Add basic SMS WAP-PUSH decoder test 2010-08-17 17:57:51 -05:00
Denis Kenzior 96ef528b27 test-sms: Unify some copy-pasted code 2010-08-17 16:38:59 -05:00
Kristen Carlson Accardi 6f1ab8b679 test-stkutil: unit test for img to xpm converter 2010-07-26 14:35:15 -05:00
Kristen Carlson Accardi 6d8e52dda4 test-stkutil: add html attribute tests for setup idle mode tests 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 038a3f3552 test-stkutil: add html attribute test for select_item_test 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 0feb32bda2 test-stkutil: add html attribute test for setup_menu_test 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 76834cf260 test-stkutil: add html attribute tests for play_tone_test 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 5a66a651cc test-stkutil: add html attribute tests for get_input_test 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 19bbbcdf18 test-stkutil: add html attribute tests for get_inkey_test 2010-07-13 14:59:21 -05:00
Kristen Carlson Accardi a414e6af5e test-stkutil: add html attribute test for Display Text tests 2010-07-13 14:59:21 -05:00
Kristen Carlson Accardi c53bfdaf56 test-stkutil: add unit test for html text attributes 2010-07-13 14:59:21 -05:00
Denis Kenzior f8a5e7d0bf test-sms: Update with a real EMS test 2010-07-13 09:51:02 -05:00
Yang Gu 058d3d0cd4 Interpret "" Alpha Id as empty data object
There needs to be a way to distinguish between no alphaid and "empty
data object" because on some occasions they have different meanings.  In
the Call Control envelope, no Alpha Identifier means the terminal can
inform the user about the call being modified by SIM while empty data
object means no hint should be given.
2010-07-09 12:30:12 -05:00
Denis Kenzior 98a8b4ecff test-sms: Fix a memory leak 2010-07-08 14:27:33 -05:00
Andrzej Zaborowski 3ce1f11446 test-stkutil: Fix always true condition. 2010-07-02 14:50:21 -05:00
Denis Kenzior b7badc74ad test-stkutil: Fix some memory leaks 2010-07-02 14:50:05 -05:00
Andrzej Zaborowski 365183d5a0 stkutil: Move scaddr field to gsm_sms 2010-07-02 14:13:45 -05:00
Andrzej Zaborowski ab7f88233d stkutil: Refactor command parser error handling
When parsing the full command fails but Command Details has been parsed,
return a struct stk_command containing this information and the type of
parsing problem found.  We need the command details to be able to
even respond to the command.

This patch also makes the parser skip over unknown data objects found
in the BER-TLV, if they don't have Comprehension Required set.
2010-06-23 14:23:06 -05:00
Andrzej Zaborowski d5fec53d23 test-common: Avoid accessing an unitialised variable.
Fixes a segfault, reported by valrgind as:
[...]
==6300== Use of uninitialised value of size 4
==6300==    at 0x8048B4D: test_invalid (test-common.c:81)
2010-06-21 15:21:40 -05:00