Commit Graph

238 Commits

Author SHA1 Message Date
Alfonso Sanchez-Beato e1cbc5c5ea test: Add AvailableTechnologies to list-modems 2014-12-10 11:03:16 -06:00
Neil Jerram 19519b2132 test: Support receiving SMS with non-ASCII chars
Without this I get the following Python traceback, for an SMS that
contains the UK pound sign.

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "./receive-sms", line 9, in incoming_message
    print("%s" % (message))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa3' in position 51: ordinal not in range(128)
2014-11-24 12:29:45 -06:00
Denis Kenzior fb1b213e22 test: Add test/set-ddr
Script to set DistractedDrivingReduction property
2014-10-20 13:40:28 -05:00
Alfonso Sanchez-Beato 62c34467a2 test: Adapt data test scripts to multi-modem
Some tests scripts were not ready to handle situations with more than
one modem present. This change fixes the data context scripts.
2014-06-10 23:36:09 -05:00
Alfonso Sanchez-Beato d9f252fb61 test: Adapt voice call test scripts to multi-modem
Some tests scripts were not ready to handle situations with more than
one modem present. This change fixes the scripts that handle voice
calls.
2014-06-10 23:23:51 -05:00
Denis Kenzior ebe25412a4 test: Make sure test-stk-menu works with python3 2014-03-14 10:32:06 -05:00
Martin Pitt c027ab9fbc test: Convert to Python 3
Change raw_input() to input() and unicode to str. This is *not*
compatible with Python 2. Update the hashbangs to run with Python 3.
2014-03-11 19:34:08 -05:00
Martin Pitt ad4f90684f test: Move from static gobject bindings to GI
Use GLib gobject-introspection bindings so that we can also use the
scripts with Python 3.
2014-03-11 19:33:16 -05:00
Martin Pitt 5bf5cf8ddd test: Replace obsolete has_key() with "in"
In order to also work with Python 3
2014-03-11 19:33:04 -05:00
Martin Pitt 0393a41e35 test: Make exceptions compatible with Python 3
Use "except Type as var" syntax to work with both Python >= 2.6
and Python 3.
2014-03-11 19:32:46 -05:00
Martin Pitt 0c1fcd2b50 test: Make print calls compatible with Python 3
Turn print calls into print() function calls and avoid using
comma-separated arguments, so that they work and look the same with
both Python 2 and 3.
2014-03-11 19:32:18 -05:00
Denis Kenzior a8e4073d0e test: Add set-msisdn script 2013-09-12 13:17:39 -05:00
Denis Kenzior df25ccac49 test: Add display-icon script 2013-09-12 13:17:39 -05:00
Denis Kenzior d94eb705c7 test: Add selecting the modem in private-chat 2013-09-12 13:17:39 -05:00
Denis Kenzior 75e747122c test: Add selecting the modem in create-multiparty 2013-09-12 13:17:39 -05:00
Paulo Borges ba07289963 dundee: Fix typo in dundee-disconnect test 2013-02-22 11:29:01 -06:00
Denis Kenzior 11875b7f79 test: Tweak list-modems to display battchg 2012-12-17 09:50:22 -06:00
Denis Kenzior 2eaacefbe0 test: Use pretty-printing from monitor-ofono 2012-11-28 10:31:14 -06:00
Marcel Holtmann 816f67be9d test: Allow LoopTone to be interrupted by incoming calls 2012-11-27 11:09:52 +01:00
Marcel Holtmann e292f142ad test: Remove unneeded semicolons in STK test script 2012-11-27 11:09:21 +01:00
Marcel Holtmann 5e2953a21e test: Fix modem path handling for icon testing 2012-11-25 15:02:23 +01:00
Marcel Holtmann 200959af46 test: Allow STK testing without voice call manager 2012-11-25 10:20:15 +01:00
Marcel Holtmann 4739570e45 test: Allow DisplayText to be interrupted by incoming calls 2012-11-24 19:14:27 +01:00
Denis Kenzior ef2066b004 test: Fix ascii conversion exception 2012-11-22 06:51:01 -06:00
Marcel Holtmann e3cb6a5c68 test: Handle DisplayText with async_callbacks option 2012-11-23 16:18:52 +01:00
Philippe Nunes c0a4b69e7e test: iconId value is not a printable character 2012-09-11 23:27:14 -05:00
Philippe Nunes e0e037539a test: playtone waits for single tone playback
To simulate the single tone playback (avoiding the stkagent method
to return immediately), a timeout is started (5 seconds).
During this time, the user can terminate the session.
2012-09-11 23:27:14 -05:00
Philippe Nunes 5fa986eaab test: Update with RequestQuickDigit API 2012-09-11 23:27:14 -05:00
Marcel Holtmann 5f1cb3690b test: Fix printing of modem property strings 2012-08-09 10:28:27 -07:00
Denis Kenzior 2d2075c9ae test: Remove test-voicecall script
This is no longer useful as phonesim does not automatically transition
dialing calls to active state.
2012-08-07 02:25:01 -05:00
Denis Kenzior 46d180e9a3 test: Add support for CSSI/CSSU notifications 2012-08-07 01:31:12 -05:00
Denis Kenzior 97917c8f69 test: Fix weird formatting mis-matches 2012-08-07 01:31:12 -05:00
Denis Kenzior 8f2237dd78 test: Remove redundant code from monitor-ofono 2012-08-07 01:31:12 -05:00
Guillaume Zajac 873df548f6 test: Add hangup-call script for GCF testing 2012-08-06 08:52:23 -07:00
Denis Kenzior e4b284860e test: Add release-and-swap script 2012-08-05 23:34:52 -05:00
Guillaume Zajac 9ca225f8e7 test: Add hangup-multiparty script for GCF testing 2012-08-03 09:56:34 -07:00
Guillaume Zajac 84ed53efd0 test: Add hold-and-answer script for GCF testing 2012-08-02 12:23:34 -07:00
Philippe Nunes 8eefc22bb1 test: Remove test-ussd as it is redundant 2012-07-27 00:33:15 -05:00
Philippe Nunes 335b349423 test: Add send-ussd script
Simpler script that test-ussd that is still capable of replying to
network initiated USSD requests and USSD dialogs.
2012-07-27 00:30:57 -05:00
Philippe Nunes 9f3f5bce6f monitor-ofono: Fix to print non-English characters
The default encoding for a Python bytestring is ASCII. But the
SMS/USSD text is encoded in UTF-8.
This is why trying to convert non-English characters (Unicode
characters beyond 128) produces the error
"UnicodeEncodeError: 'ascii' codec can't encode character".
2012-07-27 00:23:52 -05:00
Marcel Holtmann ef6e505139 test: Fix missing UseDeliveryReports setting for SMS script 2012-06-25 00:04:38 -07:00
Denis Kenzior 9e5ad93ec0 test: Add change-pin script 2012-06-19 12:19:23 -05:00
Guillaume Zajac 87a9f32ae1 test: Add new script for SS GCF test cases
This script uses dynamic SS codes in input and
displays answers to the different requests.
It handles all SS: call barring, call forwarding,
call waiting, CLIP, CLIR, ...
2012-05-30 08:50:21 -05:00
Daniel Wagner 63ec5989c9 dundee: Add test scripts 2012-05-22 18:44:46 +02:00
Guillaume Zajac 7158c5790b test: Add timeout to be compliant with GCF
With some GCF test cases, default python script timeout
is too short to pass the tests.
2012-05-21 20:53:18 -05:00
Denis Kenzior fe1ced212f test: Add test script for ReleaseAndAnswer 2012-04-23 15:18:41 -05:00
Marcel Holtmann d4dc27e8ce test: Add script for rejecting incoming calls 2012-01-01 18:25:00 -08:00
Denis Kenzior c4db121332 test: Pretty print the new HF Features property 2011-10-21 14:26:53 -05:00
Gustavo F. Padovan b285fbb6f9 test: add support to select modem 2011-09-29 14:03:45 -05:00
Gustavo F. Padovan 9b227d6852 test: add support to select modem 2011-09-29 14:03:45 -05:00