Add bluetooth idlharness test

This commit is contained in:
Attila Dusnoki 2017-01-17 15:12:23 +01:00
parent ef6656a727
commit c5dd88f015
3 changed files with 713 additions and 0 deletions

View file

@ -7508,6 +7508,12 @@
"url": "/_mozilla/mozilla/bluetooth/idl-BluetoothUUID.html"
}
],
"mozilla/bluetooth/interfaces.html": [
{
"path": "mozilla/bluetooth/interfaces.html",
"url": "/_mozilla/mozilla/bluetooth/interfaces.html"
}
],
"mozilla/bluetooth/readValue/characteristic/blocklisted-characteristic.html": [
{
"path": "mozilla/bluetooth/readValue/characteristic/blocklisted-characteristic.html",

View file

@ -0,0 +1,434 @@
[interfaces.html]
type: testharness
[Bluetooth interface: existence and properties of interface object]
expected: FAIL
[Bluetooth interface: existence and properties of interface prototype object]
expected: FAIL
[Bluetooth interface: operation getAvailability()]
expected: FAIL
[Bluetooth interface: attribute referringDevice]
expected: FAIL
[Bluetooth interface: operation requestDevice(RequestDeviceOptions)]
expected: FAIL
[Bluetooth interface: attribute ongattserverdisconnected]
expected: FAIL
[Bluetooth interface: attribute oncharacteristicvaluechanged]
expected: FAIL
[Bluetooth interface: attribute onserviceadded]
expected: FAIL
[Bluetooth interface: attribute onservicechanged]
expected: FAIL
[Bluetooth interface: attribute onserviceremoved]
expected: FAIL
[Bluetooth interface: window.navigator.bluetooth must inherit property "getAvailability" with the proper type (0)]
expected: FAIL
[Bluetooth interface: window.navigator.bluetooth must inherit property "referringDevice" with the proper type (2)]
expected: FAIL
[Bluetooth interface: window.navigator.bluetooth must inherit property "ongattserverdisconnected" with the proper type (4)]
expected: FAIL
[Bluetooth interface: window.navigator.bluetooth must inherit property "oncharacteristicvaluechanged" with the proper type (5)]
expected: FAIL
[Bluetooth interface: window.navigator.bluetooth must inherit property "onserviceadded" with the proper type (6)]
expected: FAIL
[Bluetooth interface: window.navigator.bluetooth must inherit property "onservicechanged" with the proper type (7)]
expected: FAIL
[Bluetooth interface: window.navigator.bluetooth must inherit property "onserviceremoved" with the proper type (8)]
expected: FAIL
[BluetoothPermissionResult interface: existence and properties of interface object]
expected: FAIL
[BluetoothPermissionResult interface object length]
expected: FAIL
[BluetoothPermissionResult interface object name]
expected: FAIL
[BluetoothPermissionResult interface: existence and properties of interface prototype object]
expected: FAIL
[BluetoothPermissionResult interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[BluetoothPermissionResult interface: attribute devices]
expected: FAIL
[ValueEvent interface: existence and properties of interface object]
expected: FAIL
[ValueEvent interface object length]
expected: FAIL
[ValueEvent interface object name]
expected: FAIL
[ValueEvent interface: existence and properties of interface prototype object]
expected: FAIL
[ValueEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[ValueEvent interface: attribute value]
expected: FAIL
[BluetoothDevice interface: existence and properties of interface object]
expected: FAIL
[BluetoothDevice interface: existence and properties of interface prototype object]
expected: FAIL
[BluetoothDevice interface: operation watchAdvertisements()]
expected: FAIL
[BluetoothDevice interface: attribute oncharacteristicvaluechanged]
expected: FAIL
[BluetoothDevice interface: attribute onserviceadded]
expected: FAIL
[BluetoothDevice interface: attribute onservicechanged]
expected: FAIL
[BluetoothDevice interface: attribute onserviceremoved]
expected: FAIL
[BluetoothManufacturerDataMap interface: existence and properties of interface object]
expected: FAIL
[BluetoothManufacturerDataMap interface object length]
expected: FAIL
[BluetoothManufacturerDataMap interface object name]
expected: FAIL
[BluetoothManufacturerDataMap interface: existence and properties of interface prototype object]
expected: FAIL
[BluetoothManufacturerDataMap interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[BluetoothServiceDataMap interface: existence and properties of interface object]
expected: FAIL
[BluetoothServiceDataMap interface object length]
expected: FAIL
[BluetoothServiceDataMap interface object name]
expected: FAIL
[BluetoothServiceDataMap interface: existence and properties of interface prototype object]
expected: FAIL
[BluetoothServiceDataMap interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[BluetoothAdvertisingEvent interface: attribute uuids]
expected: FAIL
[BluetoothAdvertisingEvent interface: attribute manufacturerData]
expected: FAIL
[BluetoothAdvertisingEvent interface: attribute serviceData]
expected: FAIL
[BluetoothRemoteGATTServer interface: operation connect()]
expected: FAIL
[BluetoothRemoteGATTServer interface: operation getPrimaryService(BluetoothServiceUUID)]
expected: FAIL
[BluetoothRemoteGATTServer interface: operation getPrimaryServices(BluetoothServiceUUID)]
expected: FAIL
[BluetoothRemoteGATTService interface: existence and properties of interface object]
expected: FAIL
[BluetoothRemoteGATTService interface: existence and properties of interface prototype object]
expected: FAIL
[BluetoothRemoteGATTService interface: operation getCharacteristic(BluetoothCharacteristicUUID)]
expected: FAIL
[BluetoothRemoteGATTService interface: operation getCharacteristics(BluetoothCharacteristicUUID)]
expected: FAIL
[BluetoothRemoteGATTService interface: operation getIncludedService(BluetoothServiceUUID)]
expected: FAIL
[BluetoothRemoteGATTService interface: operation getIncludedServices(BluetoothServiceUUID)]
expected: FAIL
[BluetoothRemoteGATTService interface: attribute oncharacteristicvaluechanged]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: existence and properties of interface object]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: existence and properties of interface prototype object]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: operation getDescriptor(BluetoothDescriptorUUID)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: operation getDescriptors(BluetoothDescriptorUUID)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: operation readValue()]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: operation writeValue(BufferSource)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: operation startNotifications()]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: operation stopNotifications()]
expected: FAIL
[BluetoothRemoteGATTDescriptor interface: operation readValue()]
expected: FAIL
[BluetoothRemoteGATTDescriptor interface: operation writeValue(BufferSource)]
expected: FAIL
[BluetoothDevice must be primary interface of bluetooth_device]
expected: FAIL
[Stringification of bluetooth_device]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "id" with the proper type (0)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "name" with the proper type (1)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "gatt" with the proper type (2)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "watchAdvertisements" with the proper type (3)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "unwatchAdvertisements" with the proper type (4)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "watchingAdvertisements" with the proper type (5)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "ongattserverdisconnected" with the proper type (6)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "oncharacteristicvaluechanged" with the proper type (7)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "onserviceadded" with the proper type (8)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "onservicechanged" with the proper type (9)]
expected: FAIL
[BluetoothDevice interface: bluetooth_device must inherit property "onserviceremoved" with the proper type (10)]
expected: FAIL
[BluetoothRemoteGATTServer must be primary interface of bluetooth_server]
expected: FAIL
[Stringification of bluetooth_server]
expected: FAIL
[BluetoothRemoteGATTServer interface: bluetooth_server must inherit property "device" with the proper type (0)]
expected: FAIL
[BluetoothRemoteGATTServer interface: bluetooth_server must inherit property "connected" with the proper type (1)]
expected: FAIL
[BluetoothRemoteGATTServer interface: bluetooth_server must inherit property "connect" with the proper type (2)]
expected: FAIL
[BluetoothRemoteGATTServer interface: bluetooth_server must inherit property "disconnect" with the proper type (3)]
expected: FAIL
[BluetoothRemoteGATTServer interface: bluetooth_server must inherit property "getPrimaryService" with the proper type (4)]
expected: FAIL
[BluetoothRemoteGATTServer interface: calling getPrimaryService(BluetoothServiceUUID) on bluetooth_server with too few arguments must throw TypeError]
expected: FAIL
[BluetoothRemoteGATTServer interface: bluetooth_server must inherit property "getPrimaryServices" with the proper type (5)]
expected: FAIL
[BluetoothRemoteGATTServer interface: calling getPrimaryServices(BluetoothServiceUUID) on bluetooth_server with too few arguments must throw TypeError]
expected: FAIL
[BluetoothRemoteGATTService must be primary interface of bluetooth_service]
expected: FAIL
[Stringification of bluetooth_service]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "device" with the proper type (0)]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "uuid" with the proper type (1)]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "isPrimary" with the proper type (2)]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "getCharacteristic" with the proper type (3)]
expected: FAIL
[BluetoothRemoteGATTService interface: calling getCharacteristic(BluetoothCharacteristicUUID) on bluetooth_service with too few arguments must throw TypeError]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "getCharacteristics" with the proper type (4)]
expected: FAIL
[BluetoothRemoteGATTService interface: calling getCharacteristics(BluetoothCharacteristicUUID) on bluetooth_service with too few arguments must throw TypeError]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "getIncludedService" with the proper type (5)]
expected: FAIL
[BluetoothRemoteGATTService interface: calling getIncludedService(BluetoothServiceUUID) on bluetooth_service with too few arguments must throw TypeError]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "getIncludedServices" with the proper type (6)]
expected: FAIL
[BluetoothRemoteGATTService interface: calling getIncludedServices(BluetoothServiceUUID) on bluetooth_service with too few arguments must throw TypeError]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "oncharacteristicvaluechanged" with the proper type (7)]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "onserviceadded" with the proper type (8)]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "onservicechanged" with the proper type (9)]
expected: FAIL
[BluetoothRemoteGATTService interface: bluetooth_service must inherit property "onserviceremoved" with the proper type (10)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic must be primary interface of bluetooth_characteristic]
expected: FAIL
[Stringification of bluetooth_characteristic]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "service" with the proper type (0)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "uuid" with the proper type (1)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "properties" with the proper type (2)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "value" with the proper type (3)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "getDescriptor" with the proper type (4)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: calling getDescriptor(BluetoothDescriptorUUID) on bluetooth_characteristic with too few arguments must throw TypeError]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "getDescriptors" with the proper type (5)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: calling getDescriptors(BluetoothDescriptorUUID) on bluetooth_characteristic with too few arguments must throw TypeError]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "readValue" with the proper type (6)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "writeValue" with the proper type (7)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: calling writeValue(BufferSource) on bluetooth_characteristic with too few arguments must throw TypeError]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "startNotifications" with the proper type (8)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "stopNotifications" with the proper type (9)]
expected: FAIL
[BluetoothRemoteGATTCharacteristic interface: bluetooth_characteristic must inherit property "oncharacteristicvaluechanged" with the proper type (10)]
expected: FAIL
[BluetoothCharacteristicProperties must be primary interface of bluetooth_properties]
expected: FAIL
[Stringification of bluetooth_properties]
expected: FAIL
[BluetoothCharacteristicProperties interface: bluetooth_properties must inherit property "broadcast" with the proper type (0)]
expected: FAIL
[BluetoothCharacteristicProperties interface: bluetooth_properties must inherit property "read" with the proper type (1)]
expected: FAIL
[BluetoothCharacteristicProperties interface: bluetooth_properties must inherit property "writeWithoutResponse" with the proper type (2)]
expected: FAIL
[BluetoothCharacteristicProperties interface: bluetooth_properties must inherit property "write" with the proper type (3)]
expected: FAIL
[BluetoothCharacteristicProperties interface: bluetooth_properties must inherit property "notify" with the proper type (4)]
expected: FAIL
[BluetoothCharacteristicProperties interface: bluetooth_properties must inherit property "indicate" with the proper type (5)]
expected: FAIL
[BluetoothCharacteristicProperties interface: bluetooth_properties must inherit property "authenticatedSignedWrites" with the proper type (6)]
expected: FAIL
[BluetoothCharacteristicProperties interface: bluetooth_properties must inherit property "reliableWrite" with the proper type (7)]
expected: FAIL
[BluetoothCharacteristicProperties interface: bluetooth_properties must inherit property "writableAuxiliaries" with the proper type (8)]
expected: FAIL
[BluetoothRemoteGATTDescriptor must be primary interface of bluetooth_descriptor]
expected: FAIL
[Stringification of bluetooth_descriptor]
expected: FAIL
[BluetoothRemoteGATTDescriptor interface: bluetooth_descriptor must inherit property "characteristic" with the proper type (0)]
expected: FAIL
[BluetoothRemoteGATTDescriptor interface: bluetooth_descriptor must inherit property "uuid" with the proper type (1)]
expected: FAIL
[BluetoothRemoteGATTDescriptor interface: bluetooth_descriptor must inherit property "value" with the proper type (2)]
expected: FAIL
[BluetoothRemoteGATTDescriptor interface: bluetooth_descriptor must inherit property "readValue" with the proper type (3)]
expected: FAIL
[BluetoothRemoteGATTDescriptor interface: bluetooth_descriptor must inherit property "writeValue" with the proper type (4)]
expected: FAIL
[BluetoothRemoteGATTDescriptor interface: calling writeValue(BufferSource) on bluetooth_descriptor with too few arguments must throw TypeError]
expected: FAIL