3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

auto-t: Rename setting Autoconnect to AutoConnect

This commit is contained in:
Denis Kenzior 2019-10-24 12:53:23 -05:00
parent 8a1ce9e3e3
commit aa13f5458d
60 changed files with 82 additions and 82 deletions

View File

@ -1,2 +1,2 @@
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -95,7 +95,7 @@ class Test(unittest.TestCase):
condition = 'not obj.connected'
wd.wait_for_object_condition(ordered_network.network_object, condition)
# Now we wait... Autoconnect should take over
# Now we wait... AutoConnect should take over
condition = 'obj.state == DeviceState.connecting'
wd.wait_for_object_condition(device, condition, 15)

View File

@ -6,4 +6,4 @@ EAP-TTLS-Phase2-Method=Tunneled-MSCHAP
EAP-TTLS-Phase2-Identity=user
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -7,4 +7,4 @@ EAP-TTLS-Phase2-Identity=user
#EAP-TTLS-Phase2-Password=password
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -6,7 +6,7 @@ import sys
sys.path.append('../util')
import iwd
import validation
from validation import TestConnectAutoconnect
from validation import TestConnectAutoConnect
from iwd import IWD
class Test8021xNetwork(unittest.TestCase):
@ -14,7 +14,7 @@ class Test8021xNetwork(unittest.TestCase):
The bellow test cases excesise the following connection scenarios:
Network config is
present at start time: Connect: Autoconnect: Result:
present at start time: Connect: AutoConnect: Result:
--------------------------------------------------------------------------
False True NotConfiguredEx is thrown
True True Connection succeeds
@ -23,7 +23,7 @@ class Test8021xNetwork(unittest.TestCase):
supported by IWD
'''
def test_8021x(self):
tca = TestConnectAutoconnect()
tca = TestConnectAutoConnect()
tca.validate('ssidEAP-TLS', True, iwd.NotConfiguredEx)
IWD.copy_to_storage('ssidEAP-TLS.8021x')

View File

@ -6,7 +6,7 @@ import sys
sys.path.append('../util')
import iwd
import validation
from validation import TestConnectAutoconnect
from validation import TestConnectAutoConnect
from iwd import IWD
class TestOpenNetwork(unittest.TestCase):
@ -14,13 +14,13 @@ class TestOpenNetwork(unittest.TestCase):
The bellow test cases excesise the following connection scenarios:
Network config is
present at start time: Connect: Autoconnect: Result:
present at start time: Connect: AutoConnect: Result:
--------------------------------------------------------------------------
False True Connection succeeds
True True Connection succeeds
'''
def test_open(self):
tca = TestConnectAutoconnect()
tca = TestConnectAutoConnect()
tca.validate('ssidOpen', False)
tca.validate('ssidOpen', True)

View File

@ -9,7 +9,7 @@ from iwd import IWD
from iwd import PSKAgent
from iwd import NetworkType
class TestConnectAutoconnect(unittest.TestCase):
class TestConnectAutoConnect(unittest.TestCase):
def check_connect(self, wd, device, ssid, throws):
ordered_network = device.get_ordered_network(ssid)

View File

@ -6,7 +6,7 @@ import sys
sys.path.append('../util')
import iwd
import validation
from validation import TestConnectAutoconnect
from validation import TestConnectAutoConnect
from iwd import IWD
class TestWpaNetwork(unittest.TestCase):
@ -14,14 +14,14 @@ class TestWpaNetwork(unittest.TestCase):
The bellow test cases exercise the following connection scenarios:
Network config is
present at start time: Connect: Autoconnect: Result:
present at start time: Connect: AutoConnect: Result:
--------------------------------------------------------------------------
False True Connection succeeds
True True Connection succeeds
'''
def test_wpa(self):
tca = TestConnectAutoconnect()
tca = TestConnectAutoConnect()
tca.validate('ssidWPA', False, None, True)
tca.validate('ssidWPA', True, None, True)

View File

@ -2,4 +2,4 @@
EAP-Method=AKA
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -2,4 +2,4 @@
EAP-Method=AKA'
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -2,4 +2,4 @@
EAP-Method=AKA'
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -2,4 +2,4 @@
EAP-Method=AKA
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -8,4 +8,4 @@ EAP-PEAP-Phase2-Method=GTC
EAP-PEAP-Phase2-Identity=secure@identity.com
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -9,4 +9,4 @@ EAP-PEAP-Phase2-Identity=secure@identity.com
EAP-PEAP-Phase2-Password=testpasswd
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -9,4 +9,4 @@ EAP-PEAP-Phase2-Identity=domain\\User
EAP-PEAP-Phase2-Password=Password
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -7,4 +7,4 @@ EAP-PEAP-ClientKey=/tmp/certs/cert-client-key-pkcs8.pem
EAP-PEAP-Phase2-Method=SIM
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -9,4 +9,4 @@ EAP-PEAP-Phase2-Identity=secure@identity.com
EAP-PEAP-Phase2-Password=testpasswd
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -9,4 +9,4 @@ EAP-PEAP-Phase2-Identity=secure@identity.com
EAP-PEAP-Phase2-Password=testpasswd
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -9,4 +9,4 @@ EAP-PEAP-Phase2-Identity=secure@identity.com
EAP-PEAP-Phase2-Password=testpasswd
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -4,4 +4,4 @@ EAP-Identity=eap-pwd-identity
EAP-Password=secret123
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -3,4 +3,4 @@ EAP-Method=PWD
EAP-Identity=eap-pwd-identity
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -2,4 +2,4 @@
EAP-Method=SIM
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -2,4 +2,4 @@
EAP-Method=SIM
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -6,4 +6,4 @@ EAP-TLS-ClientKey=/tmp/certs/cert-client-key-pkcs8.pem
EAP-Identity=abc@example.com
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -91,4 +91,4 @@ BkDLsu/YKwRFSfrbYZXbTlU8tQ==
-----END PRIVATE KEY-----
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -6,4 +6,4 @@ EAP-TLS-ClientKey=/tmp/certs/cert-client-key-pkcs8.pem
EAP-Identity=abc@example.com
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -7,4 +7,4 @@ EAP-TLS-ClientKeyPassphrase=abc
EAP-Identity=abc@example.com
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -6,4 +6,4 @@ EAP-TLS-ClientKey=/tmp/certs/cert-client-key-v2-des-ede3.pem
EAP-Identity=abc@example.com
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -6,4 +6,4 @@ EAP-TLS-ClientKey=/tmp/certs/cert-client-key-pkcs8.pem
EAP-Identity=abc@example.com
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -6,4 +6,4 @@ EAP-TLS-ClientKey=/tmp/certs/cert-client-key-pkcs8.pem
EAP-Identity=abc@example.com
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -9,4 +9,4 @@ EAP-TTLS-Phase2-Method=Tunneled-CHAP
#EAP-TTLS-Phase2-Password=testpasswd
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -9,4 +9,4 @@ EAP-TTLS-Phase2-Identity=abc@example.com
EAP-TTLS-Phase2-Password=testpasswd
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -9,4 +9,4 @@ EAP-TTLS-Phase2-Method=Tunneled-MSCHAP
#EAP-TTLS-Phase2-Password=testpasswd
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -9,4 +9,4 @@ EAP-TTLS-Phase2-Method=Tunneled-MSCHAPv2
#EAP-TTLS-Phase2-Password=testpasswd
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -9,4 +9,4 @@ EAP-TTLS-Phase2-Method=Tunneled-PAP
#EAP-TTLS-Phase2-Password=testpasswd
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -9,4 +9,4 @@ EAP-TTLS-Phase2-Identity=abc@example.com
EAP-TTLS-Phase2-Password=testpasswd
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -6,4 +6,4 @@ EAP-TLS-ClientKey=/tmp/certs/cert-client-key-pkcs8.pem
EAP-Identity=abc@example.com
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -2,4 +2,4 @@
EAP-Method=PWD
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -2,4 +2,4 @@
EAP-Method=PWD
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -6,7 +6,7 @@ import sys
sys.path.append('../util')
import iwd
import validation
from validation import TestConnectAutoconnect
from validation import TestConnectAutoConnect
from iwd import IWD
class TestWpaNetwork(unittest.TestCase):
@ -14,7 +14,7 @@ class TestWpaNetwork(unittest.TestCase):
The bellow test cases excesise the following connection scenarios:
Network config is
present at start time: Connect: Autoconnect: Result:
present at start time: Connect: AutoConnect: Result:
--------------------------------------------------------------------------
False True NotFoundEx raised
False True ServiceSetOverlapEx raised
@ -23,7 +23,7 @@ class TestWpaNetwork(unittest.TestCase):
'''
def test_wpa(self):
tca = TestConnectAutoconnect()
tca = TestConnectAutoConnect()
tca.validate('UnExistingNetwork', False, iwd.NotFoundEx)
tca.validate('ssidOverlap', False, iwd.ServiceSetOverlapEx)

View File

@ -6,7 +6,7 @@ import sys
sys.path.append('../util')
import iwd
import validation
from validation import TestConnectAutoconnect
from validation import TestConnectAutoConnect
from iwd import IWD
class TestOpenNetwork(unittest.TestCase):
@ -14,13 +14,13 @@ class TestOpenNetwork(unittest.TestCase):
The bellow test cases excesise the following connection scenarios:
Network config is
present at start time: Connect: Autoconnect: Result:
present at start time: Connect: AutoConnect: Result:
--------------------------------------------------------------------------
False True Connection succeeds
True True Connection succeeds
'''
def test_open(self):
tca = TestConnectAutoconnect()
tca = TestConnectAutoConnect()
tca.validate('ssidHiddenOpen', False)
tca.validate('ssidHiddenOpen', True)

View File

@ -9,7 +9,7 @@ from iwd import IWD
from iwd import PSKAgent
from iwd import NetworkType
class TestConnectAutoconnect(unittest.TestCase):
class TestConnectAutoConnect(unittest.TestCase):
def check_connect_hidden_network(self, wd, device, ssid, throws):
if not throws is None:

View File

@ -6,7 +6,7 @@ import sys
sys.path.append('../util')
import iwd
import validation
from validation import TestConnectAutoconnect
from validation import TestConnectAutoConnect
from iwd import IWD
class TestWpaNetwork(unittest.TestCase):
@ -14,14 +14,14 @@ class TestWpaNetwork(unittest.TestCase):
The bellow test cases excesise the following connection scenarios:
Network config is
present at start time: Connect: Autoconnect: Result:
present at start time: Connect: AutoConnect: Result:
--------------------------------------------------------------------------
False True Connection succeeds
True True Connection succeeds
'''
def test_wpa(self):
tca = TestConnectAutoconnect()
tca = TestConnectAutoConnect()
tca.validate('ssidHiddenWPA', False, None, True)
tca.validate('ssidHiddenWPA', True, None, True)

View File

@ -8,4 +8,4 @@ EAP-TTLS-Phase2-Password=testpasswd
[Hotspot]
NAIRealmNames=realm1.random.net,example.com
Name=Autoconnect hotspot
Name=AutoConnect hotspot

View File

@ -8,4 +8,4 @@ NAIRealmNames=realm1.random.net,example.com
Name=NAI Hotspot
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -8,4 +8,4 @@ HESSID=02:00:00:00:04:00
Name=HESSID Hotspot
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -8,4 +8,4 @@ RoamingConsortium=1020304050
Name=RC Hotspot
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -8,4 +8,4 @@ NAIRealmNames=realm1.random.net,example.com
Name=NAI Hotspot
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -8,4 +8,4 @@ NAIRealmNames=realm1.random.net,example.com
Name=Hotspot Network
[Settings]
Autoconnect=False
AutoConnect=False

View File

@ -6,4 +6,4 @@ EAP-TLS-ClientKey=/tmp/certs/cert-client-key-pkcs8.pem
EAP-Identity=abc@example.com
[Settings]
Autoconnect=false
AutoConnect=false

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true

View File

@ -1,3 +1,3 @@
[Settings]
Autoconnect=false
Hidden=true
AutoConnect=false
Hidden=true