-->
<html>
<head>
-<title>BluetoothAdapter extend</title>
+<title>BluetoothAdapter_extend</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:BluetoothAdapter U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA OBX
-test(function() {
+test(function () {
var adapter = tizen.bluetooth.getDefaultAdapter();
check_extensibility(adapter);
}, "BluetoothAdapter_extend");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>BluetoothClassDeviceMajor notexist</title>
+<title>BluetoothClassDeviceMajor_extend</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
test(function () {
check_extensibility(tizen.bluetooth.deviceMajor);
}, "BluetoothClassDeviceMajor_extend");
+
</script>
</body>
</html>
test(function () {
check_extensibility(tizen.bluetooth.deviceMinor);
}, "BluetoothClassDeviceMinor_extend");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>BluetoothClassDeviceService extendt</title>
+<title>BluetoothClassDeviceService_extend</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
test(function () {
check_extensibility(tizen.bluetooth.deviceService);
}, "BluetoothClassDeviceService_extend");
+
</script>
</body>
</html>
//==== PRIORITY P3
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthApplication:BluetoothHealthApplication U
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html\
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA OBX
setup({timeout:90000, explicit_done:true});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
t = async_test("BluetoothHealthApplication_extend", {timeout:90000});
t.step(function () {
healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, "testSinkApp", healthRegisterSuccess, healthRegisterError);
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
//==== LABEL test whether the object BluetoothHealthProfileHandler can have new properties added it
//==== PRIORITY P3
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthProfileHandler:BluetoothHealthProfileHandler U
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html\
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA OBX
var adapter, healthProfileHandler;
test(function () {
check_extensibility(healthProfileHandler);
}, "BluetoothHealthProfileHandler_extend");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>BluetoothManager extendt</title>
+<title>BluetoothManager_extend</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothManager:BluetoothManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA OBX
-test(function() {
+test(function () {
check_extensibility(tizen.bluetooth);
}, "BluetoothManager_extend");
+
</script>
- </body>
+</body>
</html>
-->
<html>
<head>
-<title>BluetoothProfileHandler extend</title>
+<title>BluetoothProfileHandler_extend</title>
<script src="../resources/unitcommon.js"></script>
</head>
<body>
healthProfileHandler = adapter.getBluetoothProfileHandler(profileType);
check_extensibility(healthProfileHandler);
}, "BluetoothProfileHandler_extend");
+
</script>
</body>
</html>
//==== TEST_CRITERIA OBX
setup({timeout: 90000, explicit_done:true});
-var adapter = null, t = async_test("BluetoothServiceHandler_extend", {timeout: 90000}), powerOnError, powerOnSuccess,
+var adapter = null, t = async_test("BluetoothServiceHandler_extend", {timeout: 90000}), powerOnSuccess,
registerRFCOMMServiceByUUIDError, registerRFCOMMServiceByUUIDSuccess;
t.step(function () {
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError);
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<specs>
<spec>
<spec_assertion interface="BluetoothHealthApplication" usage="true" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html\</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="BluetoothHealthProfileHandler" usage="true" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html\</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>