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
5AUTHOR = "ChromeOS Team"
6NAME = "cellular_Throughput"
7PURPOSE = "Measure speed of emulated cellular network."
8CRITERIA = """Bandwidth a reasonable fraction of max for the technology."""
9ATTRIBUTES = "suite:cell_emulator"
10TIME = "SHORT"
11TEST_CATEGORY = "Functional"
12TEST_CLASS = "network"
13TEST_TYPE = "client"
14
15DOC = """
16  Measures modem throughput.
17
18  NB: This test is not designed to run standalone.  If you run without
19  the server test cellular_ThroughputController, you are responsible
20  for running the http server.
21"""
22
23from autotest_lib.client.cros.cellular import labconfig
24
25config = labconfig.Configuration(args)
26
27for technology in config.get_technologies():
28    job.run_test('cellular_Throughput',
29                 config=config,
30                 technology=technology,
31                 tag=technology)
32