summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* test: Replace static glib with gi.repository moduleDaniel Wagner2020-09-236-23/+17
| | | | | By using the dynamic gi.repository modules the scripts run also with Python3.
* test: Update all Python script to version 3Daniel Wagner2020-02-1037-313/+313
| | | | | | | Python2 is EOL, it's time to update our test script to run with Python3. The conversion was done using 2to3 and most of the scripts will run with both versions. Since most of the transformation is about updating the print commands. Only a quick smoke test was done.
* treewide: Fix typosTorstein Husebø2020-01-221-1/+1
|
* list-services: Decode LastAddressConflictDaniel Wagner2018-08-291-1/+4
|
* test: Improve p2p test script to handle Peer's signal plus fixesTomasz Bursztyka2014-07-111-10/+23
| | | | | | - Peer objects can send a PropertiesChanged signal, thus handling it - Fixing an issues on GroupFinished (my mistake actually) - p2p_peer get the up-to-date properties of the peer object
* test: Set command_list properlyEduardo Abinader2014-06-041-1/+1
| | | | | Command list passed to wpa_s was not being extracted from arg list, but storing the whole list. This caused the help to be buggy.
* test: Add P2P invite call and signal resultEduardo Abinader2014-05-191-0/+26
| | | | Invite discovered P2P peer to join or form a group.
* test: Fix code style in p2p-on-supplicantEduardo Abinader2014-05-191-3/+2
| | | | Just complying to code style.
* test: Argument parsing for p2p-on-supplicantEduardo Abinader2014-05-141-48/+126
| | | | | | | Argument parsing functionality for commands and options: - dbus is now wpa_s property - help is being shown from the command_list built in arg parse time - added enum like class (ArgFields) for future options in arg parsing
* test: Remove minor typos in p2p-on-supplicantEduardo Abinader2014-05-141-2/+2
|
* test: Improve p2p-on-supplicant test script for P2P connectionTomasz Bursztyka2014-05-131-19/+156
| | | | | | | - Provide a device name for the local p2p device - join or negociate for a group according to distant peer - GroupFinished signal handler added by Eduardo Abinader <eduardo.abinader@openbossa.org>
* test: Fix typo in p2p-on-supplicant p2p_service_flushEduardo Abinader2014-03-191-1/+1
|
* test: Add method related to P2P servicesTomasz Bursztyka2014-03-041-17/+102
| | | | | | | | Discovers, add and delete services methods. Again, loosely copy/pasted against wpa_cli tool. Some changes were needed in the checkarg() decorator so it allows non fixed amount of arguments etc...
* test: Add a script to test P2P through wpa_supplicant DBus ifTomasz Bursztyka2014-02-191-0/+311
| | | | | This script loosely mimics wpa_cli's P2P commands. It's just meant to test wpa_supplicant's DBus API around P2P.
* test: Remove useless supplicant's old DBus interface test scriptTomasz Bursztyka2014-02-191-71/+0
| | | | | This DBus interface is no longer in use by ConnMan for some years already.
* test: Add script for setting timezonePatrik Flykt2014-01-211-0/+21
| | | | | Notice that the Clock API is experimental and that the 'TimezoneUpdates' property must be set to 'manual'.
* test: Add test script for Clock APIPatrik Flykt2013-05-201-0/+32
|
* test: Pretty print the error when trying to set/unset VPN propertyJukka Rissanen2013-03-081-2/+8
|
* test: Script for getting, setting and clearing VPN propertiesJukka Rissanen2013-02-191-0/+66
|
* test: Fix simple-agent so it can run even if service files are missingTomasz Bursztyka2013-02-051-8/+15
| | | | Fixes BMC#25964
* test: Fix simple-agent so it registers the right pathTomasz Bursztyka2013-01-031-4/+4
|
* test: simple-agent must monitor vpn statusJukka Rissanen2012-12-051-1/+17
| | | | | | simple-agent needs to monitor vpnd status as vpnd can stop if there are no vpn configured. When vpnd quits we must not quit the agent as then wifi questions would not be asked from the user any more.
* test: Add vpn agent support into simple-agentJukka Rissanen2012-11-301-2/+116
|
* test: New VPN test script that connect to connman-vpndJukka Rissanen2012-11-234-0/+177
|
* test: Renamed old VPN scriptsJukka Rissanen2012-11-232-2/+0
| | | | | | | | | | | | Renamed connect-vpn to connect-provider and disconnect-vpn to remove-provider In order to not confuse the user, change the name of the old vpn connect/disconnect script. Now the name of the script reflects the name of the manager dbus api. The connect-provider will use the old ConnectProvider manager dbus interface instead of directly connecting to connman-vpnd.
* test: Check test-connman argumentsPatrik Flykt2012-10-011-8/+19
| | | | | | | Check test-connman offlinemode arguments and the number of arguments in general. Fixes BMC#25723
* test: Fix PrefixLength setting in set-ipv6-methodTomasz Bursztyka2012-09-281-1/+4
|
* test: Disable tethering test script takes exactly one argumentPatrik Flykt2012-09-131-1/+1
| | | | With one argument, len(sys.argv) is equal to 2.
* test: Correctly check number of test script argumentsPatrik Flykt2012-09-131-1/+1
| | | | | | | len(sys.argv) gives the number of arguments including the name of the command. Fixes BMC#25722
* test: Show autoconnect and state in services listJukka Rissanen2012-05-041-1/+14
| | | | | Show the autoconnect "A" and state "R"eady or "O"nline indicators in the services list.
* test: Handling properly Canceled or LaunchBrowser errorsTomasz Bursztyka2012-05-041-0/+18
|
* test: Also monitor technology changesMarcel Holtmann2012-05-011-5/+31
|
* test: Update service monitoring scriptMarcel Holtmann2012-04-301-2/+8
|
* test: Remove script to monitor managerMarcel Holtmann2012-04-301-31/+0
|
* test: Update service monitoring scriptMarcel Holtmann2012-04-291-1/+16
|
* test: Add more pretty print for service monitoringMarcel Holtmann2012-04-291-2/+2
|
* test: Add pretty printing for timeserversMarcel Holtmann2012-04-291-1/+2
|
* test: Pretty-print timservers in list-servicesPatrik Flykt2012-04-271-2/+3
|
* test: Cannot set both name and passphraseJukka Rissanen2012-04-201-8/+6
| | | | | | | simple-agent could not be used to return both the Name and Passphrase fields for hidden psk networks. Fixes BMC#25058
* test: Remove handling of no longer existing propertiesMarcel Holtmann2012-04-173-17/+2
|
* test: Remove set-address scriptJukka Rissanen2012-04-171-45/+0
| | | | | | | | | The script is quite useless because it changes the IP address settings of all found services. The IP settings will be the same for every service which is probably not what the user wants. The set-ipv4-method and set-ipv6-method scripts can be used by the user instead of set-address because those two scripts will only change settings of one service.
* test: Remove provision serviceJulien Massot2012-04-111-28/+0
| | | | This script have to be removed since the provision API no longer exist.
* test: Add set-timeserversAlok Barsode2012-04-051-0/+20
| | | | Add script to modify service Timeservers.Configuration property.
* set-ipv6-method: The arguments have to be wrapped into a variantDaniel Wagner2012-03-201-5/+8
| | | | Fixes BMC#24986
* set-ipv4-method: The arguments have to be wrapped into a variantDaniel Wagner2012-03-201-4/+7
| | | | Fixes BMC#24986
* list-services: Print only identifier instead of pathDaniel Wagner2012-03-201-1/+2
| | | | | test-connman services also reports the identifier only. This makes copy&paste with the mouse a bit simpler.
* test: test-session does not exit any more when catching dbus exceptionsTomasz Bursztyka2012-03-061-7/+0
| | | | Fixes BMC#24964
* test: Support the possibility to input multiple parameters into simple-agentTomasz Bursztyka2012-03-061-4/+0
| | | | Fixes BMC#24965
* test: Add support of hidden service input into simple-agentTomasz Bursztyka2012-03-061-2/+35
|
* test-connman: Use GetServices() instead GetProperties()Daniel Wagner2012-02-281-59/+34
| | | | | GetProperties() does not return the services path anymore. Instead the GetServices() method should be used.