X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchromeos%2Ftest%2Fdata%2Fnetwork%2Finvalid_settings_with_repairs.json;h=365bb25eaa645907b622af8cdf500b372eee942d;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=34c9ce195925cb2de9c26c032a14c51a8d8db21c;hpb=4b53d56b8a1db20d4089f6d4f37126d43f907125;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chromeos/test/data/network/invalid_settings_with_repairs.json b/src/chromeos/test/data/network/invalid_settings_with_repairs.json index 34c9ce1..365bb25 100644 --- a/src/chromeos/test/data/network/invalid_settings_with_repairs.json +++ b/src/chromeos/test/data/network/invalid_settings_with_repairs.json @@ -1,4 +1,63 @@ { + "duplicate-network-guid": { + "NetworkConfigurations": [ + { + "GUID": "1", + "Type": "WiFi", + "Name": "My WiFi Network", + "WiFi": { + "Passphrase": "dummy", + "SSID": "dummySSID", + "Security": "WPA-PSK" + } + }, + { + "GUID": "1", + "Type": "WiFi", + "Name": "My WiFi Network", + "WiFi": { + "Passphrase": "dummy1", + "SSID": "dummySSID1", + "Security": "WPA-PSK" + } + } + ], + "Type": "UnencryptedConfiguration" + }, + "repaired-duplicate-network-guid": { + "NetworkConfigurations": [ + { + "GUID": "1", + "Type": "WiFi", + "Name": "My WiFi Network", + "WiFi": { + "Passphrase": "dummy", + "SSID": "dummySSID", + "Security": "WPA-PSK" + } + } + ], + "Type": "UnencryptedConfiguration" + }, + "duplicate-cert-guid": { + "Type": "UnencryptedConfiguration", + "Certificates": [ + { "GUID": "2", + "Type": "Server", + "X509": "abc" }, + { "GUID": "2", + "PKCS12": "abc" , + "Type": "Client" } + ] + }, + "repaired-duplicate-cert-guid": { + "Type": "UnencryptedConfiguration", + "Certificates": [ + { "GUID": "2", + "Type": "Server", + "X509": "abc" } + ] + }, "managed-network-repaired": { "Recommended": [], "GUID": "guid", @@ -30,11 +89,11 @@ "GUID": "guid", "Type": "Ethernet", "Name": "name", - "IPConfigs": [ - { "Type": "IPv4", - "IPAddress": "127.0.0.1", - "RoutingPrefix": 123 } - ], + "StaticIPConfig": { + "Type": "IPv4", + "IPAddress": "127.0.0.1", + "RoutingPrefix": 123 + }, "Ethernet": { "Authentication": "None" } @@ -111,11 +170,11 @@ "GUID": "guid", "Type": "Ethernet", "Name": "name", - "IPConfigs": [ - { "Type": "IPv4", - "IPAddress": "127.0.0.1", - "RoutingPrefix": 123 } - ], + "StaticIPConfig": { + "Type": "IPv4", + "IPAddress": "127.0.0.1", + "RoutingPrefix": 123 + }, "Ethernet": { "Authentication": "None" } @@ -165,6 +224,19 @@ "Authentication": "None" } }, + "network-with-ipconfigs": { + "GUID": "guid", + "Type": "Ethernet", + "Name": "name", + "Ethernet": { + "Authentication": "None" + }, + "IPConfigs": [ { + "Type": "IPv4", + "IPAddress": "127.0.0.1", + "RoutingPrefix": 123 + } ], + }, "network-with-client-cert-pattern": { "GUID": "guid", "Type": "WiFi", @@ -181,12 +253,81 @@ "{58ac1967-a0e7-49e9-be68-123abc}" ], "EnrollmentURI": [ - "chrome-extension://delkjfjibodjclmdijflfnimdmgdagfk/generate-cert.html" + "chrome-extension://delkjfjibodjclmdijflfnimdmgdagfk/generate-cert.html" ] } } } }, + "ipsec-with-psk-and-cacert": { + "AuthenticationType": "PSK", + "IKEVersion": 1, + "PSK": "some psk", + "ServerCARef": "a cert ref" + }, + "ipsec-with-client-cert-missing-cacert": { + "AuthenticationType": "Cert", + "IKEVersion": 1, + "ClientCertType": "Ref", + "ClientCertRef": "a cert ref" + }, + "ipsec-with-empty-cacertrefs": { + "AuthenticationType": "Cert", + "IKEVersion": 1, + "ClientCertType": "Ref", + "ClientCertRef": "a cert ref", + "ServerCARefs": [] + }, + "ipsec-with-servercaref-and-servercarefs": { + "AuthenticationType": "Cert", + "ClientCertType": "Ref", + "ClientCertRef": "a cert ref", + "IKEVersion": 1, + "ServerCARef": "a cert ref", + "ServerCARefs": ["ref1", "ref2"] + }, + "openvpn-with-servercaref-and-servercarefs": { + "ClientCertType": "None", + "ServerCARef": "a cert ref", + "ServerCARefs": ["ref1", "ref2"] + }, + "eap-with-servercaref-and-servercarefs": { + "ClientCertType": "Ref", + "ClientCertRef": "a cert ref", + "Outer": "LEAP", + "ServerCARef": "a cert ref", + "ServerCARefs": ["ref1", "ref2"] + }, + "openvpn-missing-verify-x509-name": { + "GUID": "guid", + "Type": "VPN", + "Name": "name", + "VPN": { + "Host": "host", + "Type": "OpenVPN", + "OpenVPN": { + "ClientCertType": "None", + "VerifyX509": { + "Type": "name" + } + } + } + }, + "openvpn-invalid-verify-x509-type": { + "GUID": "guid", + "Type": "VPN", + "Name": "name", + "VPN": { + "Host": "host", + "Type": "OpenVPN", + "OpenVPN": { + "ClientCertType": "None", + "VerifyX509": { + "Type": "unknown type" + } + } + } + }, "toplevel-empty": { "Type": "UnencryptedConfiguration", "NetworkConfigurations": [ ]