blob: 698e3f1efea99447db8255b5b3219160738b66b7 [file] [log] [blame] [edit]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "Chrome OS Team"
DOC = "Pulls ONC policy and verifies DUT can properly connect to the network"
NAME = "network_ONC"
PURPOSE = "Verify ONC functionality works."
CRITERIA = "Fails if device fails to pull ONC policy or connect to ONC."
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "network"
TEST_TYPE = "client"
onc='''
{
"NetworkConfigurations": [
{
"GUID": "{485d6076-dd44-6b6d-69787465725f5042}",
"Type": "WiFi",
"Name": "My WiFi Network",
"WiFi": {
"Passphrase": "chromeos",
"SSID": "CrOS_DLinkN150",
"Security": "WPA-PSK"
}
}
],
"Certificates": [],
"Type": "UnencryptedConfiguration"
}'''
job.run_test('network_ONC', test_type='test_simple_set_user_onc', onc=onc)