diff options
author | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-17 00:16:21 +0000 |
---|---|---|
committer | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-17 00:16:21 +0000 |
commit | d75386c7f9a18276ef670fa96e099c3687c598f5 (patch) | |
tree | ba6a27882e0b02b0b6de6ee2679a66e2a55384d5 /chromeos/test | |
parent | 62cf8a1f8683d5788f6f4fb07e89512ee9f8f527 (diff) | |
download | chromium_src-d75386c7f9a18276ef670fa96e099c3687c598f5.zip chromium_src-d75386c7f9a18276ef670fa96e099c3687c598f5.tar.gz chromium_src-d75386c7f9a18276ef670fa96e099c3687c598f5.tar.bz2 |
onc: Added code to specially handle Cellular.ServingOperator for cellular.
Modified the code such that the Cellular.ServingOperator property of a
cellular service gets translated properly into a nested dictionary.
BUG=272341
R=pneubeck@chromium.org
Review URL: https://codereview.chromium.org/23276002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/test')
-rw-r--r-- | chromeos/test/data/network/shill_cellular_with_state.json | 11 | ||||
-rw-r--r-- | chromeos/test/data/network/translation_of_shill_cellular_with_state.onc | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/chromeos/test/data/network/shill_cellular_with_state.json b/chromeos/test/data/network/shill_cellular_with_state.json new file mode 100644 index 0000000..de1f21c --- /dev/null +++ b/chromeos/test/data/network/shill_cellular_with_state.json @@ -0,0 +1,11 @@ +{ + "Type": "cellular", + "Name": "Test Network", + "Cellular.ActivateOverNonCellularNetwork": false, + "Cellular.ActivationState": "activated", + "Cellular.ServingOperator": { + "code": "test-code", + "country": "test-country", + "name" : "test-name" + } +} 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 new file mode 100644 index 0000000..77bd029 --- /dev/null +++ b/chromeos/test/data/network/translation_of_shill_cellular_with_state.onc @@ -0,0 +1,13 @@ +{ + "Type": "Cellular", + "Name": "Test Network", + "Cellular": { + "ActivateOverNonCellularNetwork": false, + "ActivationState": "activated", + "ServingOperator": { + "Code": "test-code", + "Country": "test-country", + "Name": "test-name" + } + } +} |