Katherine Threlkeld | 129d0f4 | 2015-03-12 15:01:01 -0700 | [diff] [blame] | 1 | # Copyright 2015 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 = "kathrelkeld" |
| 6 | NAME = "bluetooth_IDCheck" |
| 7 | PURPOSE = "Check whether the chromebook is using a Google Bluetooth ID." |
| 8 | CRITERIA = """ |
| 9 | This test will fail if the Bluetooth ID does not match the expected format. |
| 10 | """ |
Shijin Abraham | d5577b5 | 2019-07-26 22:37:42 -0700 | [diff] [blame] | 11 | ATTRIBUTES = "suite:bvt-perbuild, suite:bluetooth_flaky" |
Katherine Threlkeld | 129d0f4 | 2015-03-12 15:01:01 -0700 | [diff] [blame] | 12 | TIME = "SHORT" |
| 13 | TEST_CATEGORY = "Functional" |
| 14 | TEST_CLASS = "bluetooth" |
| 15 | TEST_TYPE = "client" |
Katherine Threlkeld | bd0b4f4 | 2015-09-04 16:43:38 -0700 | [diff] [blame] | 16 | DEPENDENCIES = 'bluetooth' |
Katherine Threlkeld | 129d0f4 | 2015-03-12 15:01:01 -0700 | [diff] [blame] | 17 | |
| 18 | DOC = """ |
Katherine Threlkeld | f570800 | 2016-02-17 15:32:18 -0800 | [diff] [blame] | 19 | Checks the Bluetooth ID and Alias of the system. If the ID is not |
| 20 | "00E0:24..:0400" or the name is not like 'Chromebook_1234' (or Chromebox, etc.), |
| 21 | the test will fail. It does not check the platform-specific number in the ID. |
| 22 | |
| 23 | A platform should not FSI without an assigned Bluetooth ID from Google. |
| 24 | |
Katherine Threlkeld | 129d0f4 | 2015-03-12 15:01:01 -0700 | [diff] [blame] | 25 | """ |
| 26 | |
| 27 | job.run_test('bluetooth_IDCheck') |