-->
<html>
<head>
-<title>bluetooth.adapter.address - existence of property</title>
+<title>BluetoothAdapter_address_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
adapter = tizen.bluetooth.getDefaultAdapter();
check_readonly(adapter, "address", adapter.address, "string", "Tizen");
}, "BluetoothAdapter_address_attribute");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>bluetooth.adapter.name - existence of property</title>
+<title>BluetoothAdapter_name_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
adapter = tizen.bluetooth.getDefaultAdapter();
check_readonly(adapter, "name", adapter.name, "string", REMOTE_DEVICE_NAME + "Tizen");
}, "BluetoothAdapter_name_attribute");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>bluetooth.adapter.powered - existence of property</title>
+<title>BluetoothAdapter_powered_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
adapter = tizen.bluetooth.getDefaultAdapter();
check_readonly(adapter, "powered", adapter.powered, "boolean", !(adapter.powered));
}, "BluetoothAdapter_powered_attribute");
+
</script>
</body>
</html>
Authors:
Lei, ZhanX <zhanx.lei@intel.com>
+Revision history:
+Date Author Description
+02-17-2012 Lei, ZhanX <zhanx.lei@intel.com> case creation
-->
<html>
<head>
-<title>bluetooth.adapter.visible - existence of property</title>
+<title>BluetoothAdapter_visible_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
//==== PRIORITY P1
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthApplication:dataType A
-//==== 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 AE AT ARO
setup({timeout:90000, explicit_done:true});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler, powerOnSuccess, healthRegisterSuccess, healthRegisterError,
t = async_test("BluetoothHealthApplication_dataType_attribute", {timeout:90000}), appName = "testSinkApp";
t.step(function () {
healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, 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>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthApplication:name A
-//==== 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 AE AT ARO
setup({timeout:90000, explicit_done:true});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
t = async_test("BluetoothHealthApplication_name_attribute", {timeout:90000}), appName = "testSinkApp";
t.step(function () {
healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, 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>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthApplication:onconnect A
-//==== 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 AE ADV ASG AT
setup({timeout:90000, explicit_done:true});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError, testOnconnect,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError, testOnconnect,
t = async_test("BluetoothHealthApplication_onconnect_attribute", {timeout:90000}), appName = "testSinkApp";
t.step(function () {
healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, 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>
-->
<html>
<head>
-<title>BluetoothManagerObject.bluetooth - correctness of property</title>
+<title>BluetoothManagerObject_bluetooth_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
var bt = tizen.bluetooth;
check_readonly(tizen, "bluetooth", bt, "object", "Tizen");
}, "BluetoothManagerObject_bluetooth_attribute");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>BluetoothManager.deviceMajor - correctness of property</title>
+<title>BluetoothManager_deviceMajor_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
var major = tizen.bluetooth.deviceMajor;
check_readonly(tizen.bluetooth, "deviceMajor", major, "object", "Tizen");
}, "BluetoothManager_deviceMajor_attribute");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>BluetoothManager.deviceMinor - correctness of property</title>
+<title>BluetoothManager_deviceMinor_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
var minor = tizen.bluetooth.deviceMinor;
check_readonly(tizen.bluetooth, "deviceMinor", minor, "object", "Tizen");
}, "BluetoothManager_deviceMinor_attribute");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>BluetoothManager.deviceService - correctness of property</title>
+<title>BluetoothManager_deviceService_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
var devService = tizen.bluetooth.deviceService;
check_readonly(tizen.bluetooth, "deviceService", devService, "object", "Tizen");
}, "BluetoothManager_deviceService_attribute");
+
</script>
</body>
</html>
check_readonly(healthProfileHandler, "profileType", healthProfileHandler.profileType, "string", "Tizen");
assert_in_array(healthProfileHandler.profileType, BLUETOOTH_PROFILE_TYPE, "healthProfileHandler profileType has wrong value");
}, "BluetoothProfileHandler_profileType_attribute");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>BluetoothServiceHandler.isConnected - correctness of property</title>
+<title>BluetoothServiceHandler_isConnected_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
var t = async_test("BluetoothServiceHandler_isConnected_attribute", {timeout: 90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError, chatServiceSuccessCallback, chatServiceErrorCallback,
+ var adapter, powerOnSuccess, chatServiceSuccessCallback, chatServiceErrorCallback,
isConnected;
chatServiceSuccessCallback = t.step_func(function (handler) {
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCallback, chatServiceErrorCallback);
});
- 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>
-->
<html>
<head>
-<title>BluetoothServiceHandler.name - correctness of property</title>
+<title>BluetoothServiceHandler_name_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
var t = async_test("BluetoothServiceHandler_name_attribute", {timeout: 90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError, chatServiceSuccessCallback, chatServiceErrorCallback,
+ var adapter, powerOnSuccess, chatServiceSuccessCallback, chatServiceErrorCallback,
name;
chatServiceSuccessCallback = t.step_func(function (handler) {
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCallback, chatServiceErrorCallback);
});
- 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>
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothServiceHandler_onconnect_attribute</title>
poweredSuccess = self.step_func(function (e) {
adapter.setVisible(true, visibleSuccess, visibleError);
});
- adapter.setPowered(true, poweredSuccess, onError);
+ adapter.setPowered(true, poweredSuccess, onError);
});
</script>
-
</body>
-
</html>
-->
<html>
<head>
-<title>BluetoothServiceHandler.uuid - correctness of property</title>
+<title>BluetoothServiceHandler_uuid_attribute</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setup({timeout:90000, explicit_done:true});
var t = async_test("BluetoothServiceHandler_uuid_attribute", {timeout:90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError, chatServiceSuccessCallback, chatServiceErrorCallback,
+ var adapter, powerOnSuccess, chatServiceSuccessCallback, chatServiceErrorCallback,
uuid;
chatServiceSuccessCallback = t.step_func(function (handler) {
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCallback, chatServiceErrorCallback);
});
- 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" element_type="attribute" element_name="dataType" 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="BluetoothHealthApplication" element_type="attribute" element_name="name" 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="BluetoothHealthApplication" element_type="attribute" element_name="onconnect" 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>