Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: chromeos/test/data/network/shill_cellular_with_state.json

Issue 402953004: Correctly translate Cellular Device properties to ONC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore cellular_with_state signature, add nested ShillToONCTranslator constructor, update tests Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "Type": "cellular", 2 "Type": "cellular",
3 "Name": "Test Network", 3 "Name": "Test Network",
4 "Cellular.ActivateOverNonCellularNetwork": false, 4 "Cellular.ActivateOverNonCellularNetwork": false,
5 "Cellular.ActivationState": "activated", 5 "Cellular.ActivationState": "activated",
6 "Cellular.ServingOperator": { 6 "Cellular.ServingOperator": {
7 "code": "test-code", 7 "code": "test-code",
8 "country": "test-country", 8 "country": "test-country",
9 "name" : "test-name" 9 "name" : "test-name"
10 }, 10 },
11 "Cellular.APN": { 11 "Cellular.APN": {
12 "apn": "test-apn", 12 "apn": "test-apn",
13 "name": "test-apn-name",
13 "username": "test-username", 14 "username": "test-username",
14 "password": "test-password" 15 "password": "test-password"
15 }, 16 },
16 "Cellular.APNList": [
17 {
18 "apn": "test-apn0",
19 "username": "test-username0",
20 "password": "test-password0"
21 },
22 {
23 "apn": "test-apn1",
24 "username": "test-username1",
25 "password": "test-password1"
26 },
27 {
28 "apn": "test-apn2",
29 "username": "test-username2",
30 "password": "test-password2"
31 },
32 {
33 "apn": "test-apn3",
34 "username": "test-username3",
35 "password": "test-password3"
36 }
37 ],
38 "Device": { 17 "Device": {
39 // This dictionary contains Device properties and not Service properties as 18 // This dictionary contains Device properties and not Service properties as
40 // above. 19 // above.
41 "Cellular.AllowRoaming": true, 20 "Cellular.AllowRoaming": true,
21 "Cellular.APNList": [
22 {
23 "apn": "test-apn0",
24 "username": "test-username0",
25 "password": "test-password0"
26 },
27 {
28 "apn": "test-apn1",
29 "username": "test-username1",
30 "password": "test-password1"
31 },
32 {
33 "apn": "test-apn2",
34 "username": "test-username2",
35 "password": "test-password2"
36 },
37 {
38 "apn": "test-apn3",
39 "username": "test-username3",
40 "password": "test-password3"
41 }
42 ],
42 "Cellular.HomeProvider": { 43 "Cellular.HomeProvider": {
43 "country": "us", 44 "country": "us",
44 "name": "cellular_provider" 45 "name": "cellular_provider"
46 },
47 "Cellular.SIMLockStatus": {
48 "LockType": "sim-pin",
49 "LockEnabled": true
45 } 50 }
46 } 51 }
47 } 52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698