aboutsummaryrefslogtreecommitdiffstats
path: root/components/bluetooth_traits/lib.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-11-04 07:44:42 -0500
committerGitHub <noreply@github.com>2016-11-04 07:44:42 -0500
commitdae007fd1634bcf1545e67abaa7746fa95f10e94 (patch)
treeaf4ee95a6116796e9fb432ad330649f708f50210 /components/bluetooth_traits/lib.rs
parent73c9847ef81e838c970e44c1645209134fddd32e (diff)
parentada0256030904412727d85af036dcfd8605dcb97 (diff)
downloadservo-dae007fd1634bcf1545e67abaa7746fa95f10e94.tar.gz
servo-dae007fd1634bcf1545e67abaa7746fa95f10e94.zip
Auto merge of #13612 - szeged:test-api-impl, r=jdm
WebBluetooth Test API and tests <!-- Please describe your changes on the following line: --> This patch depends on the [devices mock device support PR](https://github.com/servo/devices/pull/17). After it lands, the Cargo files can be updated. 1. Adjust to the changes in [devices mock device support PR](https://github.com/servo/devices/pull/17). 2. WebBluetooth Test API implementation. Based on : https://webbluetoothcg.github.io/web-bluetooth/tests.html 3. Wpt tests for the already landed WebBluetooth functions. <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13612) <!-- Reviewable:end -->
Diffstat (limited to 'components/bluetooth_traits/lib.rs')
-rw-r--r--components/bluetooth_traits/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/bluetooth_traits/lib.rs b/components/bluetooth_traits/lib.rs
index dcff8cead91..a1b1b41be6e 100644
--- a/components/bluetooth_traits/lib.rs
+++ b/components/bluetooth_traits/lib.rs
@@ -86,5 +86,6 @@ pub enum BluetoothMethodMsg {
GetDescriptors(String, Option<String>, IpcSender<BluetoothResult<BluetoothDescriptorsMsg>>),
ReadValue(String, IpcSender<BluetoothResult<Vec<u8>>>),
WriteValue(String, Vec<u8>, IpcSender<BluetoothResult<bool>>),
+ Test(String, IpcSender<BluetoothResult<()>>),
Exit,
}