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

Side by Side Diff: server/site_tests/network_WiFiSecMat/network_WiFiSecMat.py

Issue 1696006: Integrate with autotest log. (Closed)
Patch Set: Iterate Created 10 years, 8 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
« no previous file with comments | « server/site_tests/network_WiFiSecMat/control ('k') | server/site_wifitest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """WiFiMatFunc is a suite of 3-machine tests to validate basic WiFi functionalit y.
6 One client, one server, and one programmable WiFi AP/Router are required
7 (either off-the-shelf with a network-accesible CLI or a Linux/BSD system
8 with a WiFi card that supports HostAP functionality).
9
10 Configuration information to run_test:
11
12 server - the IP address of the server (automatically filled in)
13 client - the IP address of the client (automatically filled in)
14 router - the IP address of the WiFi AP/Router and the names of the
15 wifi and wired devices to configure
16 """
17
18
19 from autotest_lib.client.bin import utils
20 from autotest_lib.client.common_lib import error
21 from autotest_lib.server import autotest, site_wifitest, test
22
23
24 class network_WiFiSecMat(test.test):
25 version = 1
26
27 # The testcase config, setup, etc are done out side the individual
28 # test loop, in the control file.
29 def run_once(self, testcase, config):
30 try:
31 wt = site_wifitest.WiFiTest(testcase['name'], testcase['steps'], config)
32 wt.run()
33 except error.TestFail, tfe:
34 raise tfe
35 except Exception, e:
36 raise error.TestFail(e)
37
OLDNEW
« no previous file with comments | « server/site_tests/network_WiFiSecMat/control ('k') | server/site_wifitest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698