Home | History | Annotate | Download | only in bluetooth_Sanity_DefaultState
      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 = 'keybuk (a] chromium.org'
      6 NAME = 'bluetooth_Sanity_DefaultState'
      7 ATTRIBUTES = "suite:bluetooth, suite:bluetooth_sanity"
      8 TIME = 'SHORT'
      9 TEST_CLASS = 'bluetooth'
     10 TEST_TYPE = 'Server'
     11 DEPENDENCIES = 'bluetooth,wificell'
     12 
     13 DOC = """
     14 Verify that the device's Bluetooth adapter has the correct default state when
     15 reset to powered off, powered on, and powered back off again.
     16 
     17 This is a useful sanity check to ensure that the device state is what we
     18 expect, and that the device state returns to the initial state after a power
     19 cycle.
     20 
     21 This is also a security check that our devices are not discoverable unless we
     22 specifically set them to be.
     23 """
     24 
     25 def run(machine):
     26     device_host = hosts.create_host(machine)
     27     job.run_test('bluetooth_Sanity_DefaultState',
     28                  device_host=device_host,
     29                  tester_host=None,
     30                  interactive=False)
     31 
     32 
     33 parallel_simple(run, machines)
     34