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