summaryrefslogtreecommitdiffstats
path: root/chromeos/test
diff options
context:
space:
mode:
authorpneubeck <pneubeck@chromium.org>2014-09-18 08:31:40 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-18 15:31:53 +0000
commita901ffa9729db84945b44831ce2aacf48dea5bec (patch)
treec2f772baa27315aec34883a1ee80e4ba5cc260de /chromeos/test
parentffe70eca0f81753c11052b9229128f72d49c45ea (diff)
downloadchromium_src-a901ffa9729db84945b44831ce2aacf48dea5bec.zip
chromium_src-a901ffa9729db84945b44831ce2aacf48dea5bec.tar.gz
chromium_src-a901ffa9729db84945b44831ce2aacf48dea5bec.tar.bz2
Add Wimax to ONC.
This adds the object "WiMAX" to ONC, which contains the basic properties AutoConnect (read/write) EAP (write-only) SignalStrength (read-only). Also all general network properties like Name or ConnectionState are supported. BUG=414417 Review URL: https://codereview.chromium.org/578823003 Cr-Commit-Position: refs/heads/master@{#295467}
Diffstat (limited to 'chromeos/test')
-rw-r--r--chromeos/test/data/network/shill_wimax.json9
-rw-r--r--chromeos/test/data/network/shill_wimax_with_state.json14
-rw-r--r--chromeos/test/data/network/translation_of_shill_wimax_with_state.onc12
-rw-r--r--chromeos/test/data/network/wimax.onc16
4 files changed, 51 insertions, 0 deletions
diff --git a/chromeos/test/data/network/shill_wimax.json b/chromeos/test/data/network/shill_wimax.json
new file mode 100644
index 0000000..b4c950fb
--- /dev/null
+++ b/chromeos/test/data/network/shill_wimax.json
@@ -0,0 +1,9 @@
+{
+ "AutoConnect": true,
+ "EAP.EAP": "TLS",
+ "EAP.Identity": "${LOGIN_ID}@my.domain.com",
+ "EAP.UseSystemCAs": true,
+ "GUID": "{77db0089-0bc8-4358-929c-123xcv}",
+ "SaveCredentials": true,
+ "Type": "wimax"
+}
diff --git a/chromeos/test/data/network/shill_wimax_with_state.json b/chromeos/test/data/network/shill_wimax_with_state.json
new file mode 100644
index 0000000..ed12a13
--- /dev/null
+++ b/chromeos/test/data/network/shill_wimax_with_state.json
@@ -0,0 +1,14 @@
+{
+ "AutoConnect": true,
+ "Connectable": true,
+ "Name": "SomeWiMAX",
+ "EAP.EAP": "TLS",
+ "EAP.Identity": "${LOGIN_ID}@my.domain.com",
+ "EAP.UseSystemCAs": true,
+ "GUID": "{77db0089-0bc8-4358-929c-123xcv}",
+ "Profile": "/profile/someuser",
+ "SaveCredentials": true,
+ "State": "idle",
+ "Strength": 10,
+ "Type": "wimax"
+}
diff --git a/chromeos/test/data/network/translation_of_shill_wimax_with_state.onc b/chromeos/test/data/network/translation_of_shill_wimax_with_state.onc
new file mode 100644
index 0000000..c8a83f6
--- /dev/null
+++ b/chromeos/test/data/network/translation_of_shill_wimax_with_state.onc
@@ -0,0 +1,12 @@
+{
+ "Connectable": true,
+ "ConnectionState": "NotConnected",
+ "GUID": "{77db0089-0bc8-4358-929c-123xcv}",
+ "Type": "WiMAX",
+ "Name": "SomeWiMAX",
+ "WiMAX": {
+ "AutoConnect": true,
+ "SignalStrength": 10
+ },
+ "Source":"User"
+}
diff --git a/chromeos/test/data/network/wimax.onc b/chromeos/test/data/network/wimax.onc
new file mode 100644
index 0000000..c8c8632
--- /dev/null
+++ b/chromeos/test/data/network/wimax.onc
@@ -0,0 +1,16 @@
+{
+ "GUID": "{77db0089-0bc8-4358-929c-123xcv}",
+ "Type": "WiMAX",
+ "Name": "SomeWiMAX",
+ "WiMAX": {
+ "AutoConnect": true,
+ "EAP": {
+ "Outer": "EAP-TLS",
+ "Identity": "${LOGIN_ID}@my.domain.com",
+ "UseSystemCAs": true,
+ "Recommended": [ "Identity" ],
+ "SaveCredentials": true
+ },
+ "Recommended": [ "AutoConnect" ]
+ }
+}