Commit Graph

94 Commits

Author SHA1 Message Date
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
Marcel Holtmann eeeeb11cba unit: Fix some copyright and license headers 2010-09-26 17:49:19 +09: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
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
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 d0018e9772 test-stkutil: Add a More Time response builder test 2010-06-18 14:04:57 -05:00
Yang Gu 6018d1fe82 stk: Add parser for timing advance objects 2010-06-18 13:57:55 -05:00
Yang Gu 042724c5ab teststk: Add test for send ussd parser 2010-06-18 13:18:34 -05:00
Denis Kenzior dc505be373 stkutil: Merge two versions of bcch_channel_list 2010-06-16 17:43:12 -05:00
Yang Gu 8cf6750f06 teststk: Add test for send ss parser 2010-06-16 17:43:11 -05:00
Andrzej Zaborowski 024123c51b test-stkutil: Tests for Timer Expiration envelope 2010-06-15 12:09:17 -05:00
Andrzej Zaborowski 2f6dc72ae2 test-stkutil: Tests for Event Download envelope 2010-06-15 12:07:54 -05:00
Andrzej Zaborowski 6e4277eef8 stkutil: Refactor struct stk_other_address 2010-06-15 12:06:47 -05:00
Andrzej Zaborowski dda6692d7d test-stkutil: Tests for Call Control envelope 2010-06-15 12:06:38 -05:00
Andrzej Zaborowski 08c689ca7c test-stkutil: MO SMS Control envelope tests 2010-06-09 18:03:20 -05:00
Andrzej Zaborowski 6120e487b5 test-stkutil: Menu Selection envelope tests 2010-06-09 12:30:58 -05:00
Andrzej Zaborowski 758005a7c4 test-stkutil: CBS-PP Data Download envelope tests 2010-06-09 12:28:58 -05:00
Andrzej Zaborowski d9f4abfd3f test-stkutil: SMS-PP Data Download envelope tests 2010-06-09 12:23:48 -05:00
Andrzej Zaborowski ef408ae1a6 stkutil: Use static buf in stk_pdu_from_response 2010-06-09 12:19:52 -05:00
Yang Gu f90bf71e30 stktest: Add negative cases for setup menu 2010-06-01 14:02:38 -05:00
Andrzej Zaborowski 103961c71b test-stkutil: Add Launch Browser response builder tests 2010-05-28 11:41:53 -05:00
Denis Kenzior 652ce11ca1 test-stkutil: Fix issue with whitespace 2010-05-28 11:41:05 -05:00
Andrzej Zaborowski 1914716dd7 test-stkutil: Add Language Notification response 2010-05-28 11:38:44 -05:00
Andrzej Zaborowski 27a74e772e test-stkutil: Add the Send DTMF response tests 2010-05-28 11:37:57 -05:00
Andrzej Zaborowski 93fafad18e test-stkutil: Add Run AT Command response builder 2010-05-28 11:35:46 -05:00
Andrzej Zaborowski 5af0120c67 test-stkutil: Add Set Up Idle Mode response builder 2010-05-28 11:33:59 -05:00
Andrzej Zaborowski d253d479eb test-stkutil: Add Timer Management response tests 2010-05-28 11:32:49 -05:00
Andrzej Zaborowski ce955c2597 test-stkutil: Add a Set Up Event List response test 2010-05-28 11:29:35 -05:00
Andrzej Zaborowski ad97689b86 test-stkutil: Add Provide Local Info response tests 2010-05-28 11:29:34 -05:00
Andrzej Zaborowski 280d8d4283 test-stkutil: Add a Polling Off response test 2010-05-28 11:29:34 -05:00
Andrzej Zaborowski 9929ec229f test-stkutil: Add Set Up Call response tests 2010-05-28 10:42:08 -05:00
Yang Gu 6643e115a8 teststk: Add test for launch browser parser 2010-05-27 10:26:36 -05:00
Yang Gu fd1e71163c test-stkutil: Add cases for send sms parser 2010-05-27 07:27:26 -05:00
Yang Gu beb4e2c71a teststk: Use check_common_text() to check string 2010-05-27 07:08:42 -05:00
Yang Gu 55a2596e84 teststk: Add check of len in byte array 2010-05-27 07:07:18 -05:00
Yang Gu d5f3a4bc96 teststk: Use sim bcd version 2010-05-27 07:05:04 -05:00