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

Unified Diff: chromeos/test/data/network/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: Rebased. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/onc/onc_validator_unittest.cc ('k') | chromeos/test/data/network/managed_toplevel.onc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/test/data/network/invalid_settings_with_repairs.json
diff --git a/chromeos/test/data/network/invalid_settings_with_repairs.json b/chromeos/test/data/network/invalid_settings_with_repairs.json
index ec432425882c6e15e48023eca01d0dab9e8dd6aa..e1ab1d46c05da3cf8f7e0929b189bdfc6fb1d8ad 100644
--- a/chromeos/test/data/network/invalid_settings_with_repairs.json
+++ b/chromeos/test/data/network/invalid_settings_with_repairs.json
@@ -135,6 +135,10 @@
"Authentication": "None"
}
},
+ "toplevel-empty": {
+ "Type": "UnencryptedConfiguration",
+ "NetworkConfigurations": [ ]
+ },
"toplevel-repaired": {
"Type": "UnencryptedConfiguration",
"NetworkConfigurations":
@@ -147,6 +151,19 @@
}
]
},
+ "toplevel-with-nested-warning": {
+ "Type": "UnencryptedConfiguration",
+ "NetworkConfigurations":
+ [ { "GUID": "guid",
+ "Type": "Ethernet",
+ "unknown-field": "abc",
+ "Name": "eth0",
+ "Ethernet": {
+ "Authentication": "None"
+ }
+ }
+ ]
+ },
"toplevel-invalid-network": {
"Type": "UnencryptedConfiguration",
"NetworkConfigurations":
« no previous file with comments | « chromeos/network/onc/onc_validator_unittest.cc ('k') | chromeos/test/data/network/managed_toplevel.onc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698