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

Side by Side Diff: chrome/test/data/chromeos/network_settings/invalid_settings_with_repairs.json

Issue 11488008: Adding more ONC validation tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@reject_network_independently
Patch Set: Initial patch. Created 8 years 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
OLDNEW
1 { 1 {
2 "managed-network-repaired": { 2 "managed-network-repaired": {
3 "Recommended": [], 3 "Recommended": [],
4 "GUID": "guid", 4 "GUID": "guid",
5 "Type": "Ethernet", 5 "Type": "Ethernet",
6 "Name": "name", 6 "Name": "name",
7 "Ethernet": { 7 "Ethernet": {
8 "Authentication": "None" 8 "Authentication": "None"
9 } 9 }
10 }, 10 },
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 }, 128 },
129 "network-with-illegal-recommended": { 129 "network-with-illegal-recommended": {
130 "GUID": "guid", 130 "GUID": "guid",
131 "Recommended": ["Name"], 131 "Recommended": ["Name"],
132 "Type": "Ethernet", 132 "Type": "Ethernet",
133 "Name": "name", 133 "Name": "name",
134 "Ethernet": { 134 "Ethernet": {
135 "Authentication": "None" 135 "Authentication": "None"
136 } 136 }
137 }, 137 },
138 "toplevel-empty": {
139 "Type": "UnencryptedConfiguration",
140 "NetworkConfigurations": [ ]
141 },
138 "toplevel-repaired": { 142 "toplevel-repaired": {
139 "Type": "UnencryptedConfiguration", 143 "Type": "UnencryptedConfiguration",
140 "NetworkConfigurations": 144 "NetworkConfigurations":
141 [ { "GUID": "guid", 145 [ { "GUID": "guid",
142 "Type": "Ethernet", 146 "Type": "Ethernet",
143 "Name": "eth0", 147 "Name": "eth0",
144 "Ethernet": { 148 "Ethernet": {
145 "Authentication": "None" 149 "Authentication": "None"
146 } 150 }
147 } 151 }
148 ] 152 ]
149 }, 153 },
154 "toplevel-with-nested-warning": {
155 "Type": "UnencryptedConfiguration",
156 "NetworkConfigurations":
157 [ { "GUID": "guid",
158 "Type": "Ethernet",
159 "unknown-field": "abc",
160 "Name": "eth0",
161 "Ethernet": {
162 "Authentication": "None"
163 }
164 }
165 ]
166 },
150 "toplevel-invalid-network": { 167 "toplevel-invalid-network": {
151 "Type": "UnencryptedConfiguration", 168 "Type": "UnencryptedConfiguration",
152 "NetworkConfigurations": 169 "NetworkConfigurations":
153 [ { "GUID": "guid", 170 [ { "GUID": "guid",
154 "Type": "unknown", 171 "Type": "unknown",
155 "Name": "unknown name", 172 "Name": "unknown name",
156 "Ethernet": { 173 "Ethernet": {
157 "Authentication": "None" 174 "Authentication": "None"
158 } 175 }
159 }, 176 },
160 { "GUID": "guid", 177 { "GUID": "guid",
161 "Type": "Ethernet", 178 "Type": "Ethernet",
162 "Name": "eth0", 179 "Name": "eth0",
163 "Ethernet": { 180 "Ethernet": {
164 "Authentication": "None" 181 "Authentication": "None"
165 } 182 }
166 } 183 }
167 ] 184 ]
168 }, 185 },
169 } 186 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698