Commit Graph

307 Commits

Author SHA1 Message Date
Marcel Holtmann 648eded47e Add simple unit test for CAIF sockets 2010-01-28 11:25:54 +01:00
Denis Kenzior 60a0fc5a5c Style: Various issues 2010-01-12 17:54:37 -06:00
Denis Kenzior c4e89c46c8 Fix: Update unit test to the new return semantics 2010-01-07 14:41:18 -06:00
Denis Kenzior b72451ef8c Add unit test for idmap utilities 2010-01-07 13:00:41 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior 44848d5a9b Add unit test for max message size encoding 2009-12-03 00:26:20 -06:00
Denis Kenzior 17696e133b Add unit test for valid APN names 2009-10-30 15:52:38 -05:00
Olivier Le Thanh Duong 6d9bd02480 Migrate from RFC2822 to ISO8601 2009-10-21 19:04:47 -05:00
Denis Kenzior 350141ac9b Update unit tests for GSM 07.10 implementation 2009-10-15 16:15:17 -05:00
Denis Kenzior 90bdd961a7 Fix: Quiet compiler warning 2009-10-15 16:15:17 -05:00
Denis Kenzior e4017db3bb Update unit test for the new API 2009-10-15 16:15:16 -05:00
Denis Kenzior b1ff21f059 Fixup unit test to the new API 2009-10-15 16:15:16 -05:00
Denis Kenzior c8150fc120 Use small caps for 2G/3G functions 2009-10-02 18:25:56 -05:00
Denis Kenzior 98e2228c27 Add unit test for 3G STATUS response data 2009-10-02 18:25:56 -05:00
Denis Kenzior 53496c6a32 Add unit test for EF database 2009-10-02 18:25:56 -05:00
Denis Kenzior cbe773330f Make sure unit tests also use right pdu buffer len 2009-09-16 05:07:36 -05:00
Denis Kenzior 40ef883fe4 Add ability to expire PLMN wide messages 2009-09-10 17:40:16 -05:00
Denis Kenzior ac4c183a01 Add unit test for CBS topic range functions 2009-09-10 16:13:15 -05:00
Denis Kenzior 21f5f0cf92 Add unit test for sms assembly serialization 2009-09-08 16:43:53 -05:00
Denis Kenzior 8a31dc3312 Fixup unit test data
50 in first octet of deliver isn't valid
2009-09-08 16:24:31 -05:00
Andrzej Zaborowski 06ea6137a3 Write state of SMS assembly to disk and restore on startup.
This way we can continue receiving segmented messages over a reset or
crash.
2009-09-08 14:44:39 -05: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 7b00e73caf Update test program for GAtMux API 2009-09-08 09:05:56 +02:00
Marcel Holtmann 02eacb65af Update GSM 07.10 unit testing 2009-09-06 08:35:34 +02:00
Marcel Holtmann c9ba0e7df5 Integrate the multiplexer into the AT chat library 2009-09-06 00:25:16 +02:00
Marcel Holtmann 6dae50d8e5 Add unit testing tool for GSM 07.10 multiplexer 2009-09-05 07:46:50 +02:00
Marcel Holtmann 5847975b89 Add missing HAVE_CONFIG_H checks 2009-09-05 07:36:38 +02:00
Marcel Holtmann 70aab2a826 Convert to fully non-recursive build system 2009-08-24 23:49:40 -07:00
Denis Kenzior 7abeb8e4a0 Use types.h instead of driver.h here 2009-08-20 12:48:28 -05:00
Andrzej Zaborowski ebf6fca07a Clean up in sim.c.
Remove unused variables and fields.
Move EFadn format parsing to a common function because various files use
this same format.
2009-07-31 09:55:46 -05:00
Andrzej Zaborowski d1a9ac7812 Test EONS handling. 2009-07-17 23:48:29 -05:00
Denis Kenzior d9876f759d Fix signedness warning 2009-07-13 22:33:47 -05:00
Denis Kenzior 7c7894cd45 Fix missing gprintf include 2009-07-13 22:33:47 -05: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 c722e8077c Add Unit test for CBS assembly utilities 2009-07-02 19:03:05 -05:00
Denis Kenzior bf2543b207 Fix memory leaks in unit tests 2009-07-02 19:03:05 -05:00
Denis Kenzior 5ec2e69daf Update unit test 2009-07-02 19:03:04 -05:00
Denis Kenzior cd7ee03542 Add unit test for CBS encode / decode 2009-07-02 19:03:04 -05:00
Denis Kenzior 97afa57b7a Print new line as intended 2009-06-24 20:00:19 -05:00
Denis Kenzior 6793cc7800 Another type safety fix 2009-06-24 20:00:19 -05:00
Shane Bryan e055d9998a fix test compile
Signed-off-by: Shane Bryan <shane.bryan@linux.intel.com>
2009-06-24 20:00:19 -05:00
Denis Kenzior ee65dc3524 Add yet another unit test 2009-06-19 21:13:58 -05:00
Denis Kenzior 990ab62207 Update unit tests 2009-06-19 21:13:20 -05:00
Andrzej Zaborowski f93376229a Teach USSD to recognise password change strings.
This is slightly hacky, part of ussd.c responsible for registering services
is duplicated and parse_ss_control_string is modified to accept a fourth
SI fragment in the input string.
2009-06-18 16:57:58 -05:00
Denis Kenzior e9a0e82e53 Add Unit test for SMS re-assembly code 2009-06-14 02:02:16 -05:00
Denis Kenzior bc6165ea8e Rename ud_len_in_octets to sms_udl_in_bytes 2009-06-05 19:58:11 -05:00
Denis Kenzior 5846688988 Rename sms utilities properly
Rename encode_sms to sms_encode
Rename decode_sms to sms_decode
2009-06-05 19:58:09 -05:00
Denis Kenzior 41071737d0 Add utility to convert SCTS to local/remote time 2009-06-05 19:57:40 -05:00
Denis Kenzior 7470393da7 Add UDH Iterator unit test 2009-06-03 21:08:39 -05:00
Denis Kenzior 0fbf2acb9d Break out VPF printing into separate function 2009-06-03 21:08:37 -05:00
Denis Kenzior 356853983e Unit test for SMS-Submit encoding 2009-06-03 21:08:33 -05:00
Marcel Holtmann b77f2fee1e Use $(top_srcdir) for unit tests compilation 2009-05-12 21:41:32 -07:00
Marcel Holtmann c0cda597a3 Fix problem with unit tests and distcheck 2009-05-12 20:35:25 -07: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