summaryrefslogtreecommitdiffstats
path: root/test/afb-test/tests/network.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/afb-test/tests/network.lua')
-rw-r--r--test/afb-test/tests/network.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/afb-test/tests/network.lua b/test/afb-test/tests/network.lua
index 2aebe23..df74c6c 100644
--- a/test/afb-test/tests/network.lua
+++ b/test/afb-test/tests/network.lua
@@ -47,6 +47,26 @@ _AFT.testVerbStatusSuccess('testEnableTechnologySuccess','network-manager', 'ena
_AFT.testVerbStatusSuccess('testDisableTechnologySuccess','network-manager','disable_technology', {technology="bluetooth"})
_AFT.testVerbStatusSuccess('testEnableTechnologySuccess','network-manager', 'enable_technology', {technology="bluetooth"})
+
+-- Test get_property
_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','get_property', {technology="wifi"})
_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','get_property', {technology="ethernet"})
_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','get_property', {technology="bluetooth"})
+
+-- Test set_property
+_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','set_property', {technology="ethernet",tethering="true"}
+_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','set_property', {technology="ethernet",tethering="false"}
+_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','set_property', {technology="wifi",tethering="true"}
+_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','set_property', {technology="wifi",tethering="false"}
+_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','set_property', {technology="bluetooth",tethering="true"}
+_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','set_property', {technology="bluetooth",tethering="false"}
+
+_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','scan_services', {technology="wifi"})
+
+--_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','connect_service', {service="wifi_ec086b181ee3_436861726c6f74746520262043686c6f65_managed_psk"}
+
+--_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','disconnect_service', {service="wifi_ec086b181ee3_436861726c6f74746520262043686c6f65_managed_psk"}
+
+--_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','remove_service', {service="wifi_ec086b181ee3_436861726c6f74746520262043686c6f65_managed_psk"}
+
+--_AFT.testVerbStatusSuccess('testgetpropertySuccess','network-manager','agent_response', {passphrase="hunter2", id=1}