diff options
| author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2016-03-10 15:17:02 +0800 |
|---|---|---|
| committer | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2016-03-10 15:17:02 +0800 |
| commit | 0138aab156858e604a15dd8c4da3fae858f1fe4b (patch) | |
| tree | 9058ea487897737356bf49f3eac8d3f460917a02 /jobs | |
| parent | bdf5ce0c4dda5ea66e486a218e1a4f6d938068d1 (diff) | |
p-p-c: Add Bluetooth 4.x test case
Add HID Over GATT Profile keyboard / mouse test case for BT 4.x
Diffstat (limited to 'jobs')
| -rw-r--r-- | jobs/bluetooth.txt.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/jobs/bluetooth.txt.in b/jobs/bluetooth.txt.in index e623283..24bf212 100644 --- a/jobs/bluetooth.txt.in +++ b/jobs/bluetooth.txt.in @@ -1,3 +1,10 @@ +unit: manifest entry +id: has_bt_4_x +_name: Bluetooth 4.x Support +requires: + device.category == 'BLUETOOTH' +value-type: bool + plugin: shell category_id: 2013.com.canonical.plainbox::bluetooth id: bluetooth/detect-output @@ -157,3 +164,22 @@ _description: retrieves it again using Bluetooth and verifies the checksum to ensure the transfer didn't corrupt the file. +plugin: user-interact-verify +category_id: 2013.com.canonical.plainbox::bluetooth +id: bluetooth4/HOGP +depends: bluetooth/detect-output +requires: manifest.has_bt_4_x == 'True' +estimated_duration: 120.0 +command: keyboard_test +_description: + PURPOSE: + This test will check that you can use a HID Over GATT Profile (HOGP) with your Bluetooth device. + STEPS: + 1. Enable either a BT 4.x mouse or keyboard + 2. Click on the bluetooth icon in the menu bar + 3. Select 'Setup new device' + 4. Look for the device in the list and select it + 5. For mice, perform actions such as moving the pointer, right and left button clicks and double clicks + 6. For keyboards, commence the test to launch a small tool. Enter some text into the tool and close it. + VERIFICATION: + Did the device work as expected? |
