W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > February 2016

Re: [web-bluetooth] Add test adapter definitions for blacklist tests.

From: Vincent Scheib via GitHub <sysbot+gh@w3.org>
Date: Tue, 23 Feb 2016 22:01:37 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-187935204-1456264896-sysbot+gh@w3.org>
Updating with the addition of the [getCharacteristic 
test](https://codereview.chromium.org/1697873002/).
```
  // |HeartRateAndHIDAdapter|
  // Inherits from |EmptyAdapter|
  // Internal Structure:
  //   - |ConnectableDevice|(adapter, "Heart Rate And HID Device", 
uuids)
  //      - Advertised UUIDs:
  //         - Heart Rate UUID (0x180d)
  //         - Human Interface Device UUID (0x1812) (a blacklisted 
service)
  //      - Services:
  //         - Device Information Service - Characteristics as 
described in
  //           GetDeviceInformationService.
  //         - Generic Access Service - Characteristics as described 
in
  //           GetGenericAccessService.
  //         - Heart Rate Service - Characteristics as described in
  //           GetHeartRateService.
  //         - Human Interface Device Service - No characteristics 
needed
  //           because the service is blacklisted.

  // |GetDeviceInformationService|
  // Internal Structure:
  //  - Characteristics:
  //     - Serial Number String: (a blacklisted characteristic)
  //        - Mock Functions:
  //           - Read: Fails test.
  //           - GetProperties: Returns
  //               BluetoothGattCharacteristic::PROPERTY_READ

```

-- 
GitHub Notification of comment by scheib
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/214#issuecomment-187935204
 using your GitHub account
Received on Tuesday, 23 February 2016 22:01:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 23 February 2016 22:01:40 UTC