Commit Graph

26 Commits

Author SHA1 Message Date
Denis Kenzior 5e1471d3eb unit: Use l_util_hexstring instead of encode_hex 2018-12-27 18:18:51 -06:00
Denis Kenzior 2984391b31 unit: Switch decode_hex to l_util_from_hexstring 2018-12-27 18:18:51 -06:00
Denis Kenzior 9396120cf9 unit: Update to use l_free instead of g_free
Previous commit changes character conversion functions to use ell memory
allocation routines.  Update all uses to free memory using the same.
2018-12-27 18:18:51 -06:00
Denis Kenzior 351088e185 unit: Convert to new convert_utf8_to_gsm API 2018-12-27 18:18:51 -06:00
Denis Kenzior c4b073aa89 unit: Update to the new convert_ucs2_to_gsm API 2018-12-27 18:18:51 -06:00
Denis Kenzior 71544d7fe1 unit: convert usage of g_test_verbose
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
2018-12-27 18:18:51 -06:00
Denis Kenzior 538804e191 unit: Update to the new pack_7bit/unpack_7bit api 2018-12-27 18:18:51 -06:00
Denis Kenzior ea172514a2 unit: update to the new util api 2018-12-27 18:18:51 -06: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 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
Jeevaka Badrappan 2b8b08c134 unit: M15 coding style fix 2011-01-12 08:06:59 -08: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
Denis Kenzior 60a0fc5a5c Style: Various issues 2010-01-12 17:54:37 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Aki Niemi a8fb6bf356 Add unit test for Turkish variant
Also fixes an error in the default table unit test.
2009-09-08 14:16:23 +03:00
Marcel Holtmann 5847975b89 Add missing HAVE_CONFIG_H checks 2009-09-05 07:36:38 +02:00
Denis Kenzior db71137fd2 Update unit tests 2009-07-07 14:33:59 -05:00
Denis Kenzior a51700abf5 Fix another small memory leak in unit tests 2009-07-06 19:38:44 -05:00
Denis Kenzior ea43098867 Add unit test for SIM string conversion utility 2009-07-06 19:33:28 -05:00
Denis Kenzior 36b52d4f87 Update unit test for empty strings 2009-07-06 19:32:24 -05:00
Denis Kenzior c7c793ac80 Add directory with unit tests
Includes tests for SS parser, utility functions and SMS PDU
decoder / encoder utilities.
2009-05-12 20:22:20 -07:00