summaryrefslogtreecommitdiffstats
path: root/chromeos/test
diff options
context:
space:
mode:
authorarmansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-03 23:21:50 +0000
committerarmansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-03 23:21:50 +0000
commit2c9492bd57039784a0a7d54f4a8693f9afb38a28 (patch)
treead156ba23157358d8ceaf17303240b6174644fdf /chromeos/test
parent59d1d53e14b608fd9ae6655338fbd76d7659813e (diff)
downloadchromium_src-2c9492bd57039784a0a7d54f4a8693f9afb38a28.zip
chromium_src-2c9492bd57039784a0a7d54f4a8693f9afb38a28.tar.gz
chromium_src-2c9492bd57039784a0a7d54f4a8693f9afb38a28.tar.bz2
onc: Fix translation of Cellular.APN property.
BUG=280359 R=pneubeck@chromium.org Review URL: https://codereview.chromium.org/23538004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221066 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/test')
-rw-r--r--chromeos/test/data/network/cellular.onc11
-rw-r--r--chromeos/test/data/network/shill_cellular.json8
-rw-r--r--chromeos/test/data/network/shill_cellular_with_state.json5
-rw-r--r--chromeos/test/data/network/translation_of_shill_cellular_with_state.onc5
4 files changed, 29 insertions, 0 deletions
diff --git a/chromeos/test/data/network/cellular.onc b/chromeos/test/data/network/cellular.onc
new file mode 100644
index 0000000..582d594
--- /dev/null
+++ b/chromeos/test/data/network/cellular.onc
@@ -0,0 +1,11 @@
+{
+ "Type": "Cellular",
+ "Name": "Test Network",
+ "Cellular": {
+ "APN": {
+ "Name": "test-apn",
+ "Username": "test-username",
+ "Password": "test-password"
+ }
+ }
+}
diff --git a/chromeos/test/data/network/shill_cellular.json b/chromeos/test/data/network/shill_cellular.json
new file mode 100644
index 0000000..a32ba56
--- /dev/null
+++ b/chromeos/test/data/network/shill_cellular.json
@@ -0,0 +1,8 @@
+{
+ "Type": "cellular",
+ "Cellular.APN": {
+ "apn": "test-apn",
+ "username": "test-username",
+ "password": "test-password"
+ }
+}
diff --git a/chromeos/test/data/network/shill_cellular_with_state.json b/chromeos/test/data/network/shill_cellular_with_state.json
index de1f21c..5573791 100644
--- a/chromeos/test/data/network/shill_cellular_with_state.json
+++ b/chromeos/test/data/network/shill_cellular_with_state.json
@@ -7,5 +7,10 @@
"code": "test-code",
"country": "test-country",
"name" : "test-name"
+ },
+ "Cellular.APN": {
+ "apn": "test-apn",
+ "username": "test-username",
+ "password": "test-password"
}
}
diff --git a/chromeos/test/data/network/translation_of_shill_cellular_with_state.onc b/chromeos/test/data/network/translation_of_shill_cellular_with_state.onc
index 77bd029..7107062 100644
--- a/chromeos/test/data/network/translation_of_shill_cellular_with_state.onc
+++ b/chromeos/test/data/network/translation_of_shill_cellular_with_state.onc
@@ -8,6 +8,11 @@
"Code": "test-code",
"Country": "test-country",
"Name": "test-name"
+ },
+ "APN": {
+ "Name": "test-apn",
+ "Username": "test-username",
+ "Password": "test-password"
}
}
}