• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2013 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 = 'arakhov@chromium.org'
6NAME = 'bluetooth_SDP_ServiceBrowse'
7ATTRIBUTES = "suite:bluetooth, suite:bluetooth_qualification"
8SUITE = 'bluetooth,bluetooth_qualification'
9TIME = 'SHORT'
10TEST_CLASS = 'bluetooth'
11TEST_TYPE = 'Server'
12DEPENDENCIES = 'bluetooth,wificell'
13
14DOC = """
15Verify that the IUT behave correct during Service Browse procedure.
16
17Two tests use different requests to execute Service Browse procedure:
18one uses Service Search Request and Service Attribute Request,
19the other one uses Service Search Attribute Request.
20
21This test covers the Bluetooth SIG test cases:
22TP/SERVER/BRW/BV-01-C
23TP/SERVER/BRW/BV-02-C
24
25"""
26
27from autotest_lib.server.cros.bluetooth import bluetooth_tester
28from autotest_lib.server import utils
29
30
31args_dict = utils.args_to_dict(args)
32
33def run(machine):
34    device_host = hosts.create_host(machine)
35    tester_host = bluetooth_tester.create_host_from(device_host, args=args_dict)
36    job.run_test('bluetooth_SDP_ServiceBrowse',
37                 device_host=device_host,
38                 tester_host=tester_host,
39                 interactive=False)
40
41parallel_simple(run, machines)
42