Home | History | Annotate | Download | only in bluetooth_SDP_ServiceSearchAttributeRequest
      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 
      5 AUTHOR = 'arakhov (a] chromium.org'
      6 NAME = 'bluetooth_SDP_ServiceSearchAttributeRequest'
      7 ATTRIBUTES = "suite:bluetooth, suite:bluetooth_qualification"
      8 SUITE = 'bluetooth,bluetooth_qualification'
      9 TIME = 'SHORT'
     10 TEST_CLASS = 'bluetooth'
     11 TEST_TYPE = 'Server'
     12 DEPENDENCIES = 'bluetooth,wificell'
     13 
     14 DOC = """
     15 Verify the correct behaviour of the device when executing Service Search
     16 Attribute transaction.
     17 
     18 The tester sends a Service Search Attribute Request to the DUT, checking:
     19 * non-existing Service, existing Attribute
     20 * existing Service, non-existing Attribute
     21 * non-existing Service, non-existing Attribute
     22 * existing Service, existing Attribute
     23 * various specific attributes, listed in Test Specification
     24 * correctness of continuation state behavior
     25 * responses to invalid requests
     26 
     27 This test covers the following Bluetooth SIG test cases:
     28 TP/SERVER/SSA/BV-01-C
     29 TP/SERVER/SSA/BV-02-C
     30 TP/SERVER/SSA/BV-03-C
     31 TP/SERVER/SSA/BV-04-C
     32 TP/SERVER/SSA/BV-06-C
     33 TP/SERVER/SSA/BV-07-C
     34 TP/SERVER/SSA/BV-08-C
     35 TP/SERVER/SSA/BV-09-C
     36 TP/SERVER/SSA/BV-10-C
     37 TP/SERVER/SSA/BV-11-C
     38 TP/SERVER/SSA/BV-12-C
     39 TP/SERVER/SSA/BV-13-C
     40 TP/SERVER/SSA/BV-14-C
     41 TP/SERVER/SSA/BV-15-C
     42 TP/SERVER/SSA/BV-16-C
     43 TP/SERVER/SSA/BV-17-C
     44 TP/SERVER/SSA/BV-18-C
     45 TP/SERVER/SSA/BV-19-C
     46 TP/SERVER/SSA/BV-20-C
     47 TP/SERVER/SSA/BV-21-C
     48 TP/SERVER/SSA/BV-22-C
     49 TP/SERVER/SSA/BV-23-C
     50 TP/SERVER/SSA/BI-01-C
     51 TP/SERVER/SSA/BI-02-C
     52 
     53 """
     54 
     55 from autotest_lib.server.cros.bluetooth import bluetooth_tester
     56 from autotest_lib.server import utils
     57 
     58 
     59 args_dict = utils.args_to_dict(args)
     60 
     61 def run(machine):
     62     device_host = hosts.create_host(machine)
     63     tester_host = bluetooth_tester.create_host_from(device_host, args=args_dict)
     64     job.run_test('bluetooth_SDP_ServiceSearchAttributeRequest',
     65                  device_host=device_host,
     66                  tester_host=tester_host,
     67                  interactive=False)
     68 
     69 parallel_simple(run, machines)
     70