//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA CBT CBOA
setup({timeout:90000});
-var powerOnSuccess, powerOnError, adapter, listener, t = async_test("BluetoothAdapterChangeCallback_onnamechanged", {timeout:90000}), test_name;
+var powerOnSuccess, adapter, listener, t = async_test("BluetoothAdapterChangeCallback_onnamechanged", {timeout:90000}), test_name;
t.step(function () {
listener = {
onstatechanged: t.step_func(function (powered) {
}),
onnamechanged: t.step_func(function (name) {
- assert_type(name, "string", "name has wrong type");
+ assert_type(name, "string", "Argument name has wrong type.");
if (name === test_name) {
adapter.unsetChangeListener();
t.done();
adapter.setName(test_name);
});
- 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>
t.step(function () {
listener = {
onstatechanged: t.step_func(function (powered) {
- assert_type(powered, "boolean", "powered has wrong type");
- assert_equals(powered, value, "powered has wrong value");
+ assert_type(powered, "boolean", "Argument powered has wrong type.");
+ assert_equals(powered, value, "Argument powered has wrong value.");
adapter.unsetChangeListener();
t.done();
}),
adapter.setPowered(value);
});
+
</script>
</body>
</html>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA CBT CBOA
setup({timeout:90000});
-var powerOnSuccess, powerOnError, adapter, listener, value, t = async_test("BluetoothAdapterChangeCallback_onvisibilitychanged", {timeout:90000});
+var powerOnSuccess, adapter, listener, value, t = async_test("BluetoothAdapterChangeCallback_onvisibilitychanged", {timeout:90000});
t.step(function () {
listener = {
onstatechanged: t.step_func(function (powered) {
onnamechanged: t.step_func(function (name) {
}),
onvisibilitychanged: t.step_func(function (visible) {
- assert_type(visible, "boolean", "visible has wrong type");
- assert_equals(visible, value, "powered has wrong value");
+ assert_type(visible, "boolean", "Argument visible has wrong type.");
+ assert_equals(visible, value, "Argument visible has wrong value.");
adapter.unsetChangeListener();
t.done();
})
adapter.setVisible(value);
});
- 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>
setup({timeout: 90000});
var adapter = null, t = async_test("BluetoothAdapter_createBonding",{timeout:90000}), createBondingSuccess,
- powerOnSuccess, powerOnError, retValue = null;
+ powerOnSuccess, retValue = null;
t.step(function () {
createBondingSuccess = t.step_func(function (device) {
check_bluetooth_device(device);
retValue = adapter.createBonding(REMOTE_DEVICE_ADDRESS, createBondingSuccess);
});
- 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>
+</body>
</html>
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_createBonding_address_NotFound</title>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_createBonding_address_NotFound
-//==== LABEL check whether 'createBonding' method called with invalid arguments reports not found error
+//==== LABEL check whether createBonding() method called with invalid arguments reports not found error
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:createBonding M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#createBondingid2317306
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MERRCB
setup({timeout: 90000});
var t = async_test("BluetoothAdapter_createBonding_address_NotFound", {timeout: 90000});
t.step(function () {
- var adapter, count = 0, createBondingSuccessCB, createBondingErrorCB, i, powerOnSuccess, powerOnError;
+ var adapter, count = 0, createBondingSuccessCB, createBondingErrorCB, i, powerOnSuccess;
createBondingSuccessCB = t.step_func(function () {
- assert_unreached("Shouldn't be here");
+ assert_unreached("Method createBonding shouldn't end successful.");
});
createBondingErrorCB = t.step_func(function (e) {
assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
- if (++count === INVALID_BLUETOOTH_ADDRESS.length) {
+ if (count === INVALID_BLUETOOTH_ADDRESS.length) {
t.done();
+ } else {
+ count++;
}
});
}
});
- 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>BluetoothAdapter interface - usage test of interface</title>
+<title>BluetoothAdapter_createBonding_bondingDevice</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
var t = async_test("BluetoothAdapter_createBonding_callback_onerror", {timeout: 90000});
t.step(function (){
- var adapter, powerOffError, powerOffSuccess, onBondingError, onBondingSuccess;
+ var adapter, powerOffSuccess, onBondingError, onBondingSuccess;
onBondingSuccess = t.step_func(function (device) {
- assert_unreached("onBondingSuccess shouldn't be here");
+ assert_unreached("Method createBonding shouldn't end successful.");
});
onBondingError = t.step_func(function (e) {
- assert_equals(e.name, "ServiceNotAvailableError", "error name in onBondingError");
+ assert_equals(e.name, "ServiceNotAvailableError", "Wrong value of error name in createBonding.");
t.done();
});
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception " + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ setUnpowered(t, adapter, powerOffSuccess);
});
+
</script>
</body>
</html>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_createBonding_deviceaddress_correct", {timeout:90000});
t.step(function () {
- var adapter, powerOnError, powerOnSuccess, onBondingError, onBondingSuccess;
+ var adapter, powerOnSuccess, onBondingError, onBondingSuccess;
onBondingSuccess = t.step_func(function (device) {
assert_equals(device.address, REMOTE_DEVICE_ADDRESS, "device address in onBondingSuccess");
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_createBonding_devicebonded", {timeout:90000});
t.step(function () {
- var adapter, powerOnError, powerOnSuccess, onBondingError, onBondingSuccess;
+ var adapter, powerOnSuccess, onBondingError, onBondingSuccess;
onBondingSuccess = t.step_func(function (device) {
assert_equals(device.address, REMOTE_DEVICE_ADDRESS, "device address in onBondingSuccess");
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_createBonding_devicename_correct", {timeout:90000});
t.step(function () {
- var adapter, powerOnError, powerOnSuccess, onBondingError, onBondingSuccess;
+ var adapter, powerOnSuccess, onBondingError, onBondingSuccess;
onBondingSuccess = t.step_func(function (device) {
assert_equals(device.name, REMOTE_DEVICE_NAME, "device name in onBondingSuccess");
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_createBonding_deviceuuid_correct", {timeout:90000});
t.step(function () {
- var adapter, powerOnError, powerOnSuccess, onBondingError, onBondingSuccess, message = "UUIDs: \n", i;
+ var adapter, powerOnSuccess, onBondingError, onBondingSuccess, message = "UUIDs: \n", i;
onBondingSuccess = t.step_func(function (device) {
for(i = 0; i < device.uuids.length; i ++) {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
var t = async_test("BluetoothAdapter_createBonding_missarg", {timeout: 90000});
t.step(function (){
- var adapter, powerOnError, powerOnSuccess;
+ var adapter, powerOnSuccess;
powerOnSuccess = t.step_func(function () {
assert_throws ({name:"TypeMismatchError"},
t.done();
});
- 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>
//==== TEST_CRITERIA MOA MAST
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothAdapter_createBonding_with_errorCallback",{timeout:90000}),
- createBondingSuccess, createBondingError, powerOnSuccess, powerOnError;
+ createBondingSuccess, createBondingError, powerOnSuccess;
t.step(function () {
createBondingSuccess = t.step_func(function (device) {
check_bluetooth_device(device);
adapter.createBonding(REMOTE_DEVICE_ADDRESS, createBondingSuccess, createBondingError);
});
- 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>
+</body>
</html>
//==== TEST_CRITERIA MMINA MR
setup({timeout: 90000});
var adapter = null, t = async_test("BluetoothAdapter_destroyBonding",{timeout:90000}),
- onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, retValue = null;
+ onBondingSuccess, onBondingError, powerOnSuccess, retValue = null;
t.step(function () {
onBondingSuccess = t.step_func(function () {
retValue = adapter.destroyBonding(REMOTE_DEVICE_ADDRESS);
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
Junghyuk Park <junghyuk.park@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_destroyBonding_address_NotFound</title>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_destroyBonding_address_NotFound
-//==== LABEL check whether 'destroyBonding' method called with invalid arguments reports not found error
+//==== LABEL check whether destroyBonding() method called with invalid arguments reports not found error
//==== EXECUTION_TYPE manual
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:destroyBonding M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#destroyBondingid2317500
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
//==== TEST_CRITERIA MERRCB
setup({timeout: 90000});
var adapter = null, t = async_test("BluetoothAdapter_destroyBonding_address_NotFound",{timeout:90000}),
- destroyBondingSuccessCB, destroyBondingErrorCB, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, count = 0, i;
+ destroyBondingSuccessCB, destroyBondingErrorCB, onBondingSuccess, onBondingError, powerOnSuccess, count = 0, i;
t.step(function () {
destroyBondingSuccessCB = t.step_func(function () {
destroyBondingErrorCB = t.step_func(function (e) {
assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
- if (++count === INVALID_BLUETOOTH_ADDRESS.length) {
- adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function() {
+ if (count === INVALID_BLUETOOTH_ADDRESS.length) {
+ adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function () {
t.done();
});
+ } else {
+ count++;
}
});
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_destroyBonding_callback_onerror", {timeout: 90000});
t.step(function () {
- var adapter, powerOffSuccess, powerOffError, onDestroySuccess, onDestroyError;
+ var adapter, powerOffSuccess, onDestroySuccess, onDestroyError;
onDestroySuccess = t.step_func(function () {
assert_unreached("onDestroySuccess shouldn't be here");
adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, onDestroySuccess, onDestroyError);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception " + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ setUnpowered(t, adapter, powerOffSuccess);
});
+
</script>
</body>
</html>
//==== TEST_CRITERIA MOA MAST
setup({timeout: 90000});
var adapter = null, t = async_test("BluetoothAdapter_destroyBonding_with_errorCallback",{timeout:90000}),
- successCallback, errorCallback, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+ successCallback, errorCallback, onBondingSuccess, onBondingError, powerOnSuccess;
t.step(function () {
successCallback = t.step_func(function () {
t.done();
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
//==== TEST_CRITERIA MOA MAST
setup({timeout: 90000});
var adapter = null, t = async_test("BluetoothAdapter_destroyBonding_with_successCallback",{timeout:90000}),successCallback,
- onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+ onBondingSuccess, onBondingError, powerOnSuccess;
t.step(function () {
successCallback = t.step_func(function () {
t.done();
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>bluetooth.adapter.discoverDevices() - found devices finish</title>
+<title>BluetoothAdapter_discoverDevices</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MERRCB
setup({timeout:90000});
-var adapter = null, t = async_test("BluetoothAdapter_discoverDevices_callback_onerror",{ timeout:90000 }), powerOffSuccess,
- powerOffError,discoverDevicesSuccessCB, errorCallback;
+var adapter = null, t = async_test("BluetoothAdapter_discoverDevices_callback_onerror",{ timeout:90000 }), stopDiscoverySuccess,
+ discoverDevicesSuccessCB, errorCallback, powerOffSuccess;
t.step(function () {
+
discoverDevicesSuccessCB = {
onstarted: t.step_func(function () {
assert_unreached("invalid onstarted invoked");
ondevicefound: t.step_func(function (device) {
assert_unreached("invalid ondevicefound invoked");
}),
- ondevicedisappeared: function (address) {
+ ondevicedisappeared: t.step_func(function (address) {
assert_unreached("invalid ondevicedisappeared invoked");
- },
+ }),
onfinished: t.step_func(function (devices) {
assert_unreached("invalid onfinished invoked");
})
};
+
errorCallback = t.step_func(function (error) {
assert_equals(error.name, "ServiceNotAvailableError", "expected another error");
t.done();
});
+
powerOffSuccess = t.step_func(function () {
adapter.discoverDevices(discoverDevicesSuccessCB,errorCallback);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception:" + e.message);
+ stopDiscoverySuccess = t.step_func(function () {
+ setUnpowered(t, adapter, powerOffSuccess);
});
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
<html>
<head>
-<title>bluetooth.adapter.discoverDevices() - call back successful</title>
+<title>BluetoothAdapter_discoverDevices_callback_successful</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setBluetoothDiscoveryCleanup(adapter);
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>Contact/UTC_bluetooth</title>
+<title>BluetoothAdapter_discoverDevices_invalid_callback_name</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
<script>
//==== TEST: BluetoothAdapter_discoverDevices_invalid_callback_name
-//==== LABEL check whether 'discoverDevices' method called with invalid successCallback throws an exception
+//==== LABEL check whether discoverDevices() method called with invalid successCallback throws an exception
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:discoverDevices M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MMINA MAST
setup({timeout:90000});
var t = async_test("BluetoothAdapter_discoverDevices_invalid_callback_name",{timeout:90000});
}, "BluetoothAdapter_discoverDevices_invalid_callback_name");
</script>
-
</body>
-
</html>
-
-->
<html>
<head>
-<title>BluetoothAdapter.discoverDevices() - Check with missing non-optional argument </title>
+<title>BluetoothAdapter_discoverDevices_missarg</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
setBluetoothDiscoveryCleanup(adapter);
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
<html>
<head>
-<title>bluetooth.adapter.discoverDevices() - found device name</title>
+<title>BluetoothAdapter_discoverDevices_onfound_devicename</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setBluetoothDiscoveryCleanup(adapter);
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
<html>
<head>
-<title>bluetooth.adapter.discoverDevices() - found device</title>
+<title>BluetoothAdapter_discoverDevices_onfound_successful</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setBluetoothDiscoveryCleanup(adapter);
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>_with_errorCallback</title>
+<title>BluetoothAdapter_discoverDevices_with_errorCallback</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_function_type_check</title>
//==== TEST: BluetoothAdapter_function_type_check
//==== LABEL check if BluetoothAdapter exists and implements methods
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothManager:getDefaultAdapter M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#::Bluetooth::BluetoothAdapter
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MR MNA
test(function () {
var globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter();
}, "BluetoothAdapter_function_type_check");
</script>
-
</body>
-
</html>
-
assert_equals(healthProfileHandler.profileType, profileType, "healthProfileHandler profileType has wrong value or type");
}, "BluetoothAdapter_getBluetoothProfileHandler");
+
</script>
</body>
</html>
//==== TEST_CRITERIA MMINA MAST MR
setup({timeout:90000});
var adapter = null,t = async_test("BluetoothAdapter_getDevice", {timeout:90000}),
- onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, gotDeviceInfo, retValue = null;
+ onBondingSuccess, onBondingError, powerOnSuccess, gotDeviceInfo, retValue = null;
t.step(function () {
gotDeviceInfo = t.step_func(function (device) {
check_bluetooth_device(device);
- assert_equals(retValue, undefined, "getDevice returns wrong value");
+ assert_equals(retValue, undefined, "Argument getDevice returns wrong value.");
t.done();
});
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
});
- 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>
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_getDevice_address_NotFound</title>
<script>
//==== TEST: BluetoothAdapter_getDevice_address_NotFound
-//==== LABEL check whether 'getDevice' method called with invalid arguments reports not found error
+//==== LABEL check whether getDevice() method called with invalid arguments reports not found error
//==== EXECUTION_TYPE manual
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getDevice M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getDeviceid2317115
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
//==== TEST_CRITERIA MERRCB
setup({timeout:90000});
var adapter = null,t = async_test("BluetoothAdapter_getDevice_address_NotFound", {timeout:90000}),
- onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, gotDeviceInfo, gotDeviceError, count = 0, i;
+ onBondingSuccess, onBondingError, powerOnSuccess, gotDeviceInfo, gotDeviceError, count = 0, i;
t.step(function () {
gotDeviceInfo = t.step_func(function (device) {
assert_unreached("Shouldn't be here");
gotDeviceError = t.step_func(function (e) {
assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
- if (++count === INVALID_BLUETOOTH_ADDRESS.length) {
- adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function() {
+ if (count === INVALID_BLUETOOTH_ADDRESS.length) {
+ adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function () {
t.done();
});
+ } else {
+ count++;
}
});
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
});
- 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>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_getDevice_callback_onerror", {timeout: 90000});
t.step(function () {
- var adapter, powerOffSuccess, powerOffError, gotDeviceInfo, gotDeviceError;
+ var adapter, powerOffSuccess, gotDeviceInfo, gotDeviceError;
gotDeviceInfo = t.step_func(function (device) {
- assert_unreached("Should not be here");
+ assert_unreached("Method getDevice shouldn't end successful.");
});
- gotDeviceError = t.step_func(function (e) {
- assert_equals(e.name, "ServiceNotAvailableError", "error name in gotDeviceError");
+ gotDeviceError = t.step_func(function (error) {
+ assert_equals(error.name, "ServiceNotAvailableError", "Wrong value of error name in gotDeviceError.");
t.done();
});
adapter.getDevice(REMOTE_DEVICE_ADDRESS, gotDeviceInfo, gotDeviceError);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ setUnpowered(t, adapter, powerOffSuccess);
});
+
</script>
</body>
</html>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_getDevice_missarg", {timeout: 90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError;
+ var adapter, powerOnSuccess;
powerOnSuccess = t.step_func(function () {
assert_throws ({name:"TypeMismatchError"},
t.done();
});
- 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>
//==== TEST_CRITERIA MOA
setup({timeout:90000});
var adapter = null,t = async_test("BluetoothAdapter_getDevice_with_errorCallback", {timeout:90000}),
- gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+ gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess;
t.step(function () {
gotDeviceInfo = t.step_func(function (device) {
check_bluetooth_device(device);
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
});
- 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>
Authors:
- Lukasz Bardeli <l.bardeli@samsung.com>
+ Lukasz Bardeli <l.bardeli@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_getKnownDevices</title>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getKnownDevicesid2316922
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
//==== TEST_CRITERIA MMINA MAST MR
setup({timeout:90000});
testDeviceSuccessCB = t.step_func(function (devices) {
check_bluetooth_device_array(devices);
check_bluetooth_device(devices[0]);
- assert_equals(retValue, undefined, "getKnownDevices returns wrong value");
+ assert_equals(retValue, undefined, "Method getKnownDevices returns wrong value.");
t.done();
});
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
var t = async_test("BluetoothAdapter_getKnownDevices_callback_onerror", {timeout: 90000});
t.step(function () {
- var adapter, powerOffSuccess, powerOffError, getKnownDevicesSuccess, getKnownDevicesError;
+ var adapter, powerOffSuccess, getKnownDevicesSuccess, getKnownDevicesError;
getKnownDevicesSuccess = t.step_func(function (devices) {
- assert_unreached("Shouldn't be here");
+ assert_unreached("Method getKnownDevices shouldn't end successful.");
});
getKnownDevicesError = t.step_func(function (e) {
- assert_equals(e.name, "ServiceNotAvailableError", "error name in getKnownDevicesError");
+ assert_equals(e.name, "ServiceNotAvailableError", "Wrong value of error name in getKnownDevicesError.");
t.done();
});
adapter.getKnownDevices(getKnownDevicesSuccess, getKnownDevicesError);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ setUnpowered(t, adapter, powerOffSuccess);
});
+
</script>
</body>
</html>
var t = async_test("BluetoothAdapter_getKnownDevices_callback_successful", {timeout: 90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError, getKnownDevicesSuccess, getKnownDevicesError;
+ var adapter, powerOnSuccess, getKnownDevicesSuccess, getKnownDevicesError;
getKnownDevicesSuccess = t.step_func(function (devices) {
t.done();
adapter.getKnownDevices(getKnownDevicesSuccess, getKnownDevicesError);
});
- 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>
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_getKnownDevices_check_types</title>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getKnownDevicesid2316922
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
//==== TEST_CRITERIA MMINA
setup({timeout:90000});
});
</script>
-
</body>
-
</html>
-
-->
<html>
<head>
-<title>BluetoothAdapter.getKnownDevices() - Check with missing non-optional argument</title>
+<title>BluetoothAdapter_getKnownDevices_missarg</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_getKnownDevices_missarg", {timeout: 90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError;
+ var adapter, powerOnSuccess;
powerOnSuccess = t.step_func(function () {
assert_throws ({name:"TypeMismatchError"},
t.done();
});
- 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>
Authors:
- Lukasz Bardeli <l.bardeli@samsung.com>
+ Lukasz Bardeli <l.bardeli@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>Contact/UTC_bluetooth</title>
+<title>BluetoothAdapter_getKnownDevices_with_errorCallback</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getKnownDevicesid2316922
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
//==== TEST_CRITERIA MOA
setup({timeout:90000});
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
<html>
<head>
-<title>bluetooth.adapter.registerRFCOMMServiceByUUID() - on connect successful</title>
+<title>BluetoothAdapter_registerRFCOMMServiceByUUID</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
//==== TEST_CRITERIA MMINA MAST MR
setup({timeout:90000, explicit_done:true});
var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID",{ timeout: 90000 }), registerRFCOMMServiceByUUIDSuccess,
- powerOnSuccess, powerOnError, retValue = null;
+ powerOnSuccess, retValue = null;
t.step(function () {
registerRFCOMMServiceByUUIDSuccess = t.step_func(function (handler) {
setBluetoothHandlerCleanup(handler);
- assert_true("uuid" in handler, "No uuid in recordHandler");
- assert_true("name" in handler, "No name in recordHandler");
- assert_true("isConnected" in handler, "No isConnected in recordHandler");
- assert_true("onconnect" in handler, "No onconnect in recordHandler");
+ assert_true("uuid" in handler, "No uuid in recordHandler.");
+ assert_true("name" in handler, "No name in recordHandler.");
+ assert_true("isConnected" in handler, "No isConnected in recordHandler.");
+ assert_true("onconnect" in handler, "No onconnect in recordHandler.");
assert_type(handler.unregister, "function", "Method unregister does not exist.");
- assert_equals(retValue, undefined, "registerRFCOMMServiceByUUID returns wrong value");
+ assert_equals(retValue, undefined, "Method registerRFCOMMServiceByUUID returns wrong value.");
t.done();
});
retValue = adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerRFCOMMServiceByUUIDSuccess);
});
- 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>BluetoothAdapter.registerRFCOMMServiceByUUID() - Check with missing non-optional argument </title>
+<title>BluetoothAdapter_registerRFCOMMServiceByUUID_missarg</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_missarg", {timeout: 90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError;
+ var adapter, powerOnSuccess;
powerOnSuccess = t.step_func(function () {
assert_throws ({name:"TypeMismatchError"},
t.done();
});
- 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>bluetooth.adapter.registerRFCOMMServiceByUUID() - on connect successful</title>
+<title>BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
//==== TEST_CRITERIA MOA MAST
setup({timeout:90000, explicit_done:true});
var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful",{timeout:90000}),
- registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError,
+ registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess,
visibleSuccess, visibleError;
t.step(function () {
adapter.setVisible(true, visibleSuccess, visibleError);
});
- 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>
setup({timeout: 90000, explicit_done:true});
var t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_onerror", {timeout: 90000}),
- adapter, powerOffSuccess, powerOffError, chatServiceSuccessCallback, chatServiceErrorCallback;
+ adapter, powerOffSuccess, chatServiceSuccessCallback, chatServiceErrorCallback;
t.step(function () {
chatServiceSuccessCallback = t.step_func(function (handler) {
setBluetoothHandlerCleanup(handler);
- assert_unreached("Shouldn't be here");
+ assert_unreached("Method registerRFCOMMServiceByUUID shouldn't end successful.");
});
chatServiceErrorCallback = t.step_func(function (e) {
- assert_equals(e.name, "ServiceNotAvailableError", "error name in chatServiceErrorCallback");
+ assert_equals(e.name, "ServiceNotAvailableError", "Wrong value of error name in chatServiceErrorCallback.");
t.done();
done();
});
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCallback, chatServiceErrorCallback);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception " + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ setUnpowered(t, adapter, powerOffSuccess);
});
+
</script>
</body>
</html>
<html>
<head>
-<title>bluetooth.adapter.registerRFCOMMServiceByUUID() - on connect successful</title>
+<title>BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setup({timeout: 90000, explicit_done:true});
var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback", {timeout: 90000}),
- registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError;
+ registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess;
t.step(function () {
registerRFCOMMServiceByUUIDSuccess = t.step_func(function (recordHandler) {
setBluetoothHandlerCleanup(recordHandler);
- assert_true("uuid" in recordHandler, "No uuid in recordHandler");
- assert_true("name" in recordHandler, "No name in recordHandler");
- assert_true("isConnected" in recordHandler, "No isConnected in recordHandler");
- assert_true("onconnect" in recordHandler, "No onconnect in recordHandler");
+ assert_true("uuid" in recordHandler, "No uuid in recordHandler.");
+ assert_true("name" in recordHandler, "No name in recordHandler.");
+ assert_true("isConnected" in recordHandler, "No isConnected in recordHandler.");
+ assert_true("onconnect" in recordHandler, "No onconnect in recordHandler.");
assert_type(recordHandler.unregister, "function", "Method unregister does not exist.");
t.done();
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>
t.step(function () {
listener = {
onstatechanged: t.step_func(function (powered) {
- assert_type(powered, "boolean", "argument powered has wrong type");
+ assert_type(powered, "boolean", "Argument powered has wrong type.");
t.done();
}),
onnamechanged: t.step_func(function (name) {
adapter = tizen.bluetooth.getDefaultAdapter();
retValue = adapter.setChangeListener(listener);
- assert_equals(retValue, undefined, "setChangeListener did not return undefined");
+ assert_equals(retValue, undefined, "Method setChangeListener did not return undefined.");
adapter.setPowered(!adapter.powered);
});
+
</script>
</body>
</html>
adapter.setChangeListener();
}, "Method with non optional argument.");
}, "BluetoothAdapter_setChangeListener_missarg");
+
</script>
</body>
</html>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MMINA MR
setup({timeout:90000});
-var adapter = null, t = async_test("BluetoothAdapter_setName", {timeout:90000}), powerOnSuccess, powerOnError, retValue = null;
+var adapter = null, t = async_test("BluetoothAdapter_setName", {timeout:90000}), powerOnSuccess, retValue = null;
t.step(function () {
powerOnSuccess = t.step_func(function () {
retValue = adapter.setName("myBluetooth");
- assert_equals(retValue, undefined, "setName returns wrong value");
+ assert_equals(retValue, undefined, "Method setName returns wrong value.");
t.done();
});
- 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>
var t = async_test("BluetoothAdapter_setName_callback_error", {timeout: 90000});
t.step(function () {
- var adapter, powerOffSuccess, powerOffError, setNameSuccess, setNameError;
+ var adapter, powerOffSuccess, setNameSuccess, setNameError;
setNameSuccess = t.step_func(function () {
- assert_unreached("Shouldn't be here");
+ assert_unreached("Method setName shouldn't end successful.");
});
setNameError = t.step_func(function (e) {
- assert_equals(e.name, "ServiceNotAvailableError", "error name in setNameError");
+ assert_equals(e.name, "ServiceNotAvailableError", "Wrong value of error name in setNameError.");
t.done();
});
adapter.setName("myBluetooth", setNameSuccess, setNameError);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception " + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ setUnpowered(t, adapter, powerOffSuccess);
});
+
</script>
</body>
</html>
setup({timeout:90000});
var t = async_test("BluetoothAdapter_setName_longname", {timeout:90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError, longname = "mybluetooth", setNameSuccess, setNameError;
+ var adapter, powerOnSuccess, longname = "mybluetooth", setNameSuccess, setNameError;
setNameSuccess = t.step_func(function () {
- assert_equals(adapter.name, longname, "adapter.name is equal to longname");
+ assert_equals(adapter.name, longname, "Wrong value of attribute name in BluetoothAdapter.");
t.done();
});
adapter.setName(longname, setNameSuccess, setNameError);
});
- 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>bluetooth.adapter.setName() - normal case</title>
+<title>BluetoothAdapter_setName_with_errorCallback</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setup({timeout: 90000});
var adapter = null, t = async_test("BluetoothAdapter_setName_with_errorCallback", {timeout: 90000}),
- setNameSuccess, setNameError, powerOnSuccess, powerOnError;
+ setNameSuccess, setNameError, powerOnSuccess;
setNameSuccess = t.step_func(function () {
- assert_equals(adapter.name, "myBluetooth_with_Error","Name not equals");
+ assert_equals(adapter.name, "myBluetooth_with_Error", "Method setName did not set name attribute.");
t.done();
});
adapter.setName("myBluetooth_with_Error", setNameSuccess, setNameError);
});
-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>BluetoothAdapter_setName</title>
+<title>BluetoothAdapter_setName_with_successCallback</title>
<meta charset="utf-8"/>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
//==== TEST_CRITERIA MOA MAST
setup({timeout:90000});
var adapter = null, t = async_test("BluetoothAdapter_setName_with_successCallback", {timeout:90000}),
- setNameSuccessCB, powerOnSuccess, powerOnError;
+ setNameSuccessCB, powerOnSuccess, new_name = "myBluetooth_with_Success";
t.step(function () {
setNameSuccessCB = t.step_func(function () {
- assert_equals(adapter.name, "myBluetooth_with_Success","Name not equals");
+ assert_equals(adapter.name, new_name, "Method setName did not set name attribute.");
t.done();
});
powerOnSuccess = t.step_func(function () {
- adapter.setName("myBluetooth_with_Success", setNameSuccessCB);
- });
-
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
+ adapter.setName(new_name, setNameSuccessCB);
});
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
var adapter, powerOffSuccess, powerOffError;
powerOffSuccess = t.step_func(function () {
- assert_false(adapter.powered, "adapter powered in powerOffSuccess");
+ assert_false(adapter.powered, "Method setPowered did not set powered attribute of BluetoothAdapter to false.");
t.done();
});
powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception " + e.message);
+ assert_unreached("powerOffError exception:" + e.message);
});
adapter = tizen.bluetooth.getDefaultAdapter();
adapter.setPowered(false, powerOffSuccess, powerOffError);
});
+
</script>
</body>
</html>
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>Contact/UTC_bluetooth</title>
+<title>BluetoothAdapter_setPowered</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
<script>
//==== TEST: BluetoothAdapter_setPowered
-//==== LABEL check whether 'setPowered' method properly sets powered parameter of BluetoothAdapter (part 2)
+//==== LABEL check whether setPowered() method properly sets powered parameter of BluetoothAdapter (part 2)
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setPowered M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#setPoweredid2316032
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MMINA MR
test(function () {
var adapter = tizen.bluetooth.getDefaultAdapter(), retValue = null;
retValue = adapter.setPowered(true);
- assert_equals(retValue, undefined, "setPowered returns wrong value");
+ assert_equals(retValue, undefined, "Method setPowered returns wrong value.");
}, "BluetoothAdapter_setPowered");
</script>
-
</body>
-
</html>
<title>BluetoothAdapter_setPowered_with_errorCallback</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
- </head>
+</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA MOA MAST
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_setPowered_with_errorCallback", {timeout: 90000}), powerOnSuccess, powerOnError;
+var adapter = null, t = async_test("BluetoothAdapter_setPowered_with_errorCallback", {timeout: 90000}),
+ powerOnError, powerOnSuccess;
t.step(function () {
powerOnSuccess = t.step_func(function () {
- assert_true(adapter.powered,"BluetoothAdapter_setPowered_with_errorCallback");
+ assert_true(adapter.powered,"Method setPowered did not set powered attribute of BluetoothAdapter to true.");
t.done();
});
});
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ adapter.setPowered(true, powerOnSuccess);
});
+
</script>
</body>
</html>
<title>BluetoothAdapter_setPowered_with_successCallback</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
- </head>
+</head>
<body>
<div id="log"></div>
var adapter = null, t = async_test("BluetoothAdapter_setPowered_with_successCallback", {timeout: 90000}), powerOnSuccess;
t.step(function () {
powerOnSuccess = t.step_func(function () {
- assert_true(adapter.powered,"BluetoothAdapter_setPowered_with_errorCallback");
+ assert_true(adapter.powered,"Method setPowered did not set powered attribute of BluetoothAdapter to true.");
t.done();
});
adapter = tizen.bluetooth.getDefaultAdapter();
adapter.setPowered(true, powerOnSuccess);
});
+
</script>
</body>
</html>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MMINA MR
setup({timeout: 90000});
var t = async_test("BluetoothAdapter_setVisible", {timeout: 90000}), retValue = null;
t.step(function () {
- var adapter, powerOnSuccess, powerOnError;
+ var adapter, powerOnSuccess;
powerOnSuccess = t.step_func(function () {
t.done();
});
- 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>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MERRCB
setup({timeout: 90000});
var t = async_test("BluetoothAdapter_setVisible_callback_onerror", {timeout: 90000}), errorCallback, successCallback;
t.step(function () {
- var adapter, powerOffSuccess, powerOffError;
+ var adapter, powerOffSuccess;
errorCallback = t.step_func(function (error) {
- assert_equals(error.name, "ServiceNotAvailableError", "expected another error");
+ assert_equals(error.name, "ServiceNotAvailableError", "Expected another error.");
t.done();
});
successCallback = t.step_func(function () {
- assert_unreached("invalid successCallback invoked");
+ assert_unreached("Method setVisible shouldn't end successful.");
});
powerOffSuccess = t.step_func(function () {
adapter.setVisible(true, successCallback, errorCallback);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ setUnpowered(t, adapter, powerOffSuccess);
});
+
</script>
</body>
</html>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MOA MAST
setup({timeout: 90000});
var t = async_test("BluetoothAdapter_setVisible_with_errorCallback", {timeout: 90000}),
- adapter, powerOnSuccess, powerOnError, setVisibleSuccessCB, setVisibleErrorCB, setInvisibleSuccessCB, setInvisibleErrorCB;
+ adapter, powerOnSuccess, setVisibleSuccessCB, setVisibleErrorCB, setInvisibleSuccessCB, setInvisibleErrorCB;
t.step(function () {
setInvisibleSuccessCB = t.step_func(function () {
adapter.setVisible(true, setVisibleSuccessCB, setVisibleErrorCB);
});
- 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>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MOA MAST
setup({timeout: 90000});
var t = async_test("BluetoothAdapter_setVisible_with_successCallback", {timeout: 90000}),
- adapter, powerOnSuccess, powerOnError, setVisibleSuccessCB, setInvisibleSuccessCB, setInvisibleErrorCB;
+ adapter, powerOnSuccess, setVisibleSuccessCB, setInvisibleSuccessCB, setInvisibleErrorCB;
t.step(function () {
setInvisibleSuccessCB = t.step_func(function () {
adapter.setVisible(true, setVisibleSuccessCB);
});
- 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>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MOA
setup({timeout: 90000});
var t = async_test("BluetoothAdapter_setVisible_with_timeout", {timeout: 90000}),
- adapter, powerOnSuccess, powerOnError, setVisibleSuccessCB, setVisibleErrorCB, setInvisibleSuccessCB, setInvisibleErrorCB;
+ adapter, powerOnSuccess, setVisibleSuccessCB, setVisibleErrorCB, setInvisibleSuccessCB, setInvisibleErrorCB;
t.step(function () {
adapter.setVisible(true, setVisibleSuccessCB, setVisibleErrorCB, 90);
});
- 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>
Authors:
- Lukasz Bardeli <l.bardeli@samsung.com>
+ Lukasz Bardeli <l.bardeli@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>Contact/BluetoothAdapter_stopDiscovery</title>
+<title>BluetoothAdapter_stopDiscovery</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:stopDiscovery M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
//==== TEST_CRITERIA MMINA MR
setup({timeout:90000, explicit_done:true});
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
-->
<html>
+
<head>
<title>BluetoothAdapter_stopDiscovery_callback_onerror</title>
+<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
//==== TEST_CRITERIA MERRCB
setup({timeout:90000});
-var adapter, t = async_test("BluetoothAdapter_stopDiscovery_callback_onerror", {timeout: 90000}), powerOffSuccess,
- powerOffError, successCallback, errorCallback;
+var adapter, t = async_test("BluetoothAdapter_stopDiscovery_callback_onerror", {timeout: 90000}), stopDiscoverySuccess,
+ successCallback, errorCallback, powerOffSuccess;
t.step(function () {
errorCallback = t.step_func(function (error) {
assert_equals(error.name, "ServiceNotAvailableError", "expected another error");
successCallback = t.step_func(function () {
assert_unreached("invalid successCallback invoked");
});
+
powerOffSuccess = t.step_func(function () {
adapter.stopDiscovery(successCallback, errorCallback);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception:" + e.message);
+ stopDiscoverySuccess = t.step_func(function () {
+ setUnpowered(t, adapter, powerOffSuccess);
});
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ stopDiscovery(t, adapter, stopDiscoverySuccess);
+
});
+
</script>
</body>
</html>
Authors:
- Lukasz Bardeli <l.bardeli@samsung.com>
+ Lukasz Bardeli <l.bardeli@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>Contact/BluetoothAdapter_stopDiscovery_with_errorCallback</title>
+<title>BluetoothAdapter_stopDiscovery_with_errorCallback</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:stopDiscovery M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MOA
setup({timeout: 90000});
});
-
</script>
-
</body>
-
</html>
-
Authors:
- Lukasz Bardeli <l.bardeli@samsung.com>
+ Lukasz Bardeli <l.bardeli@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>Contact/BluetoothAdapter_stopDiscovery_with_successCallback</title>
+<title>BluetoothAdapter_stopDiscovery_with_successCallback</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:stopDiscovery M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MOA
setup({timeout: 90000});
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
});
adapter.setPowered(!adapter.powered, powerSuccess);
});
+
</script>
</body>
</html>
adapter = tizen.bluetooth.getDefaultAdapter();
checkExtraArgument(adapter, "unsetChangeListener");
}, "BluetoothAdapter_unsetChangeListener_extra_argument");
+
</script>
</body>
</html>
setup({timeout:90000});
var t = async_test("BluetoothDevice", {timeout:90000}), adapter, gotDeviceInfo, gotDeviceError,
- onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, minor, major, devService;
+ onBondingSuccess, onBondingError, powerOnSuccess, minor, major, devService;
t.step(function () {
gotDeviceInfo = t.step_func(function (device) {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
//==== TEST_CRITERIA MMINA MR
setup({timeout:90000});
var adapter = null, t = async_test("BluetoothClass_hasService", {timeout:90000}), gotDeviceInfo,
- gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+ gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess;
t.step(function () {
gotDeviceInfo = t.step_func(function (device) {
if (device.deviceClass.services.length > 0){
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
+</body>
</html>
//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices. The remote device MUST register the service by pushing [Register service] button on tct-bt-helper.
setup({timeout:90000});
-var t = async_test("BluetoothDevice", {timeout:90000}), adapter, powerOnSuccess, powerOnError,onBondingError, onBondingSuccess, errorCallback,
+var t = async_test("BluetoothDevice", {timeout:90000}), adapter, powerOnSuccess,onBondingError, onBondingSuccess, errorCallback,
successCallback, exceptionName = "TypeMismatchError",conversionTable, conversionErrorCallback, conversionSuccessCallback,
incorrectSuccessCallback, incorrectErrorCallback, successCallback, errorCallback, deviceClassCP, fakeDeviceClass, devUuid, i;
t.step(function () {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
setup({timeout:90000});
var adapter = null, t = async_test("BluetoothDevice_connectToServiceByUUID",{timeout:90000}), onSocketConnect,
- onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, retValue = null;
+ onBondingSuccess, onBondingError, powerOnSuccess, retValue = null;
t.step(function () {
onSocketConnect = t.step_func(function (socket) {
if(socket.state === "OPEN"){
assert_equals(retValue, undefined, "connectToServiceByUUID returns wrong value");
- return t.done();
+ t.done();
}else{
assert_unreached("Socket is closed");
}
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
});
- 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>
setup({timeout:90000});
var adapter = null, t = async_test("BluetoothDevice_connectToServiceByUUID_onerror",{timeout:90000}), onSocketConnect,
- onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, onSocketError;
+ onBondingSuccess, onBondingError, powerOnSuccess, onSocketError;
t.step(function () {
onSocketConnect = t.step_func(function (socket) {
assert_unreached("Shouldn't be here");
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
});
- 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>
//==== TEST_CRITERIA MOA MAST
setup({timeout:90000});
var adapter = null, t = async_test("BluetoothDevice_connectToServiceByUUID_with_errorCallback",{timeout:90000}),
- onSocketConnect, onSocketError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+ onSocketConnect, onSocketError, onBondingSuccess, onBondingError, powerOnSuccess;
t.step(function () {
onSocketConnect = t.step_func(function (socket) {
- if(socket.state === "OPEN"){
- return t.done();
- }else{
+ if(socket.state === "OPEN") {
+ t.done();
+ } else {
assert_unreached("Socket is closed");
}
});
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
});
- 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>
}),
ondevicedisappeared: t.step_func(function (address) {
assert_type(address, "string", "address has wrong type");
- if(address === REMOTE_DEVICE_ADDRESS)
+ if(address === REMOTE_DEVICE_ADDRESS) {
flag = true;
+ }
}),
onfinished: t.step_func(function (devices) {
if(flag) {
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
setBluetoothDiscoveryCleanup(adapter);
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
}),
ondevicefound: t.step_func(function (device) {
}),
- ondevicedisappeared: function (address) {
- },
+ ondevicedisappeared: t.step_func(function (address) {
+ }),
onfinished: t.step_func(function (devices) {
check_bluetooth_device_array(devices);
for (i=0; i < devices.length; i++) {
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
setup({timeout: 90000, explicit_done:true});
var adapter, t = async_test("BluetoothHealthApplicationSuccessCallback_onsuccess", {timeout: 90000}), healthProfileHandler,
- powerOnSuccess, powerOnError, healthRegisterSuccess;
+ powerOnSuccess, healthRegisterSuccess;
t.step(function () {
healthRegisterSuccess = t.step_func(function (app) {
healthProfileHandler.registerSinkApplication(4100, "testSinkApp", healthRegisterSuccess);
});
- 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>
//==== TEST_CRITERIA MMINA MR
setup({timeout:90000, explicit_done:true});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
t = async_test("BluetoothHealthApplication_unregister", {timeout:90000}), appName = "testSinkApp", retValue = null;
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>
//==== TEST_CRITERIA MERRCB
setup({timeout:90000});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
t = async_test("BluetoothHealthApplication_unregister_callback_onerror", {timeout:90000}),
- appName = "testSinkApp", errorCallback, successCallback, registerHealthAppCp, powerOffError, powerOffSuccess,
- successCallback, errorCallback;
+ appName = "testSinkApp", errorCallback, successCallback, registerHealthAppCp, powerOffSuccess,
+ successCallback;
t.step(function () {
adapter = tizen.bluetooth.getDefaultAdapter();
registerHealthAppCp.unregister(successCallback, errorCallback);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
healthRegisterSuccess = t.step_func(function (registerHealthApp) {
registerHealthAppCp = registerHealthApp;
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ setUnpowered(t, adapter, powerOffSuccess);
});
healthRegisterError = t.step_func(function (e) {
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>
//==== TEST_CRITERIA MOA MAST
setup({timeout:90000});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
t = async_test("BluetoothHealthApplication_unregister_with_errorCallback", {timeout:90000}), appName = "testSinkApp",
successCallback, errorCallback;
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>
//==== TEST_CRITERIA MOA MAST
setup({timeout:90000});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
t = async_test("BluetoothHealthApplication_unregister_with_successCallback", {timeout:90000}), appName = "testSinkApp",
successCallback;
healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
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>
healthProfileHandler.connectToSource();
}, "Method with non optional argument.");
}, "BluetoothHealthProfileHandler_connectToSource_missarg");
+
</script>
</body>
</html>
//==== TEST_CRITERIA MMINA MAST MR
setup({timeout:90000, explicit_done:true});
var adapter, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication", {timeout:90000}), healthProfileHandler,
- powerOnSuccess, powerOnError, healthRegisterSuccess, retValue = null;
+ powerOnSuccess, healthRegisterSuccess, retValue = null;
t.step(function () {
healthRegisterSuccess = t.step_func(function (app) {
retValue = healthProfileHandler.registerSinkApplication(4100, "testSinkApp", healthRegisterSuccess);
});
- 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>BluetoothHealthProfileHandler_registerSinkApplication_callback_onerror</title>
+<title>BluetoothHealthProfileHandler_registerSinkApplication_callback_error</title>
<script src="../resources/unitcommon.js"></script>
+<script src="support/bluetooth_common.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
var adapter, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication_callback_error", {timeout: 90000}), healthProfileHandler,
- powerOffSuccess, powerOffError, healthRegisterSuccess, healthRegisterError;
+ powerOffSuccess, healthRegisterSuccess, healthRegisterError;
t.step(function () {
healthRegisterSuccess = t.step_func(function (app) {
healthProfileHandler.registerSinkApplication(4100, "testSinkApp", healthRegisterSuccess, healthRegisterError);
});
- powerOffError = t.step_func(function (e) {
- assert_unreached("powerOffError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(false, powerOffSuccess, powerOffError);
+ setUnpowered(t, adapter, powerOffSuccess);
});
+
</script>
</body>
</html>
healthProfileHandler.registerSinkApplication();
}, "Method with non optional argument.");
}, "BluetoothHealthProfileHandler_registerSinkApplication_missarg");
+
</script>
</body>
</html>
setup({timeout: 90000, explicit_done:true});
var adapter, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication_with_errorCallback", {timeout: 90000}), healthProfileHandler,
- powerOnSuccess, powerOnError, healthRegisterSuccess, healthRegisterError;
+ powerOnSuccess, healthRegisterSuccess, healthRegisterError;
t.step(function () {
healthRegisterSuccess = t.step_func(function (app) {
healthProfileHandler.registerSinkApplication(4100, "testSinkApp", healthRegisterSuccess);
});
- 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>BluetoothManager.getDefaultAdapter</title>
+<title>BluetoothManager_getDefaultAdapter</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
assert_type(adapter.address, "string", "address attribute test");
assert_type(adapter.name, "string", "name attribute test");
}, "BluetoothManager_getDefaultAdapter");
+
</script>
- </body>
+</body>
</html>
test(function () {
checkExtraArgument(tizen.bluetooth, "getDefaultAdapter");
}, "BluetoothManager_getDefaultAdapter_extra_argument");
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>BluetoothManager in tizen</title>
+<title>BluetoothManager_in_tizen</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
assert_true("bluetooth" in tizen, "No bluetooth in tizen");
check_readonly(tizen, "bluetooth", bt, "object", "Tizen");
}, "BluetoothManager_in_tizen");
+
</script>
</body>
</html>
setup({timeout: 90000, explicit_done:true});
var adapter = null,t = async_test("BluetoothServiceHandler_unregister", {timeout: 90000}), registerRFCOMMServiceByUUIDSuccess,
- registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError, retValue = null;
+ registerRFCOMMServiceByUUIDError, powerOnSuccess, retValue = null;
t.step(function () {
registerRFCOMMServiceByUUIDSuccess = t.step_func(function (recordHandler) {
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>
-->
<html>
<head>
-<title>BluetoothServiceHandler interface - usage test of interface</title>
+<title>BluetoothServiceHandler_unregister_unregisterServiceRecord</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setup({timeout: 90000});
var adapter = null, t = async_test("BluetoothServiceHandler_unregister_unregisterServiceRecord", {timeout: 90000}), unregisterSuccess,
- unregisterError, chatServiceSuccessCallback, powerOnSuccess, powerOnError, chatServiceErrorCallback;
+ unregisterError, chatServiceSuccessCallback, powerOnSuccess, chatServiceErrorCallback;
t.step(function () {
unregisterSuccess = t.step_func(function () {
t.done();
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.unregister() - call back successful</title>
+<title>BluetoothServiceHandler_unregister_with_errorCallback</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothServiceHandler_unregister_with_errorCallback", {timeout: 90000}), unregisterSuccess,
- unregisterError, registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError;
+ unregisterError, registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess;
t.step(function () {
unregisterSuccess = t.step_func(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>
-->
<html>
<head>
-<title>BluetoothServiceHandler.unregister() - call back successful</title>
+<title>BluetoothServiceHandler_unregister_with_successCallback</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothServiceHandler_unregister_with_successCallback", {timeout: 90000}), unregisterSuccess,
- registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError;
+ registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess;
t.step(function () {
unregisterSuccess = t.step_func(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>
//==== TEST_CRITERIA CBT CBOA
setup({timeout:90000, explicit_done:true});
var adapter = null,t = async_test("BluetoothServiceSuccessCallback_onsuccess", {timeout:90000}),
- chatServiceSuccessCB, chatServiceErrorCB, powerOnSuccess, powerOnError;
+ chatServiceSuccessCB, chatServiceErrorCB, powerOnSuccess;
t.step(function () {
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCB, chatServiceErrorCB);
});
- 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>
setup({timeout:90000});
var t = async_test("BluetoothSocket", {timeout:90000}), adapter, onSocketConnect, onSocketError,
- gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError,
+ gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess,
peerCP, fakePeer, skState, skUuid, param, i;
t.step(function () {
onSocketConnect = t.step_func(function (socket) {
isConnected:true,
uuids:[],
- connectToServiceByUUID:function(){}
+ connectToServiceByUUID:function (){}
};
socket.peer = fakePeer;
assert_equals(socket.peer.name, peerCP.name, "peer can be modified.");
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>BluetoothDevice interface - usage test of interface</title>
+<title>BluetoothSocketState_open_enum</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
var t = async_test("BluetoothSocketState_open_enum", {timeout:90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError, onSocketConnected, onSocketError;
+ var adapter, powerOnSuccess, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError, onSocketConnected, onSocketError;
onSocketConnected = t.step_func(function (socket) {
assert_equals(socket.state, "OPEN", "BluetoothSocket.state enum is no equal to 'OPEN'");
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
//==== TEST_CRITERIA MNA MNAST MR
setup({timeout:90000});
var adapter = null, t = async_test("BluetoothSocket_close", {timeout:90000}), onSocketConnect, onSocketConnectedError,
- gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, retValue = null;
+ gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, retValue = null;
t.step(function () {
onSocketConnect = t.step_func(function (socket) {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
var t = async_test("BluetoothSocket_onclose_callback", {timeout:90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError,
+ var adapter, powerOnSuccess, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError,
onSocketConnected, onSocketError;
onSocketConnected = t.step_func(function (socket) {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>BluetoothSocket.onmessage - callback</title>
+<title>BluetoothSocket_onmessage_callback</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
var t = async_test("BluetoothSocket_onmessage_callback", {timeout:90000});
t.step(function () {
- var adapter, powerOnSuccess, powerOnError, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError,
+ var adapter, powerOnSuccess, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError,
onSocketConnected, onSocketError;
onSocketConnected = t.step_func(function (socket) {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>
setup({timeout:90000});
var adapter = null, t = async_test("BluetoothSocket_readData", {timeout:90000}), onSocketConnect, retValue = null,
- onSocketConnectedError, gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+ onSocketConnectedError, gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess;
t.step(function () {
onSocketConnect = t.step_func(function (socket) {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
});
- 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>BluetoothSocket.writeData</title>
+<title>BluetoothSocket_writeData</title>
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
</head>
//==== TEST_CRITERIA MMINA MR
setup({timeout:90000});
var adapter = null, t = async_test("BluetoothSocket_writeData", {timeout:90000}),
- onSocketConnect, onSocketError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+ onSocketConnect, onSocketError, onBondingSuccess, onBondingError, powerOnSuccess;
t.step(function () {
onSocketConnect = t.step_func(function (socket) {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
});
- 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>
null, undefined, 0, 1, "tizen", [1, 2, 3], {}, "35:00:00:00:03"
];
+function setUnpowered (t, adapter, powerOfSuccess) {
+ var powerOfError = t.step_func(function (e) {
+ assert_unreached("powerOfError exception:" + e.message);
+ });
+
+ adapter.setPowered(false, powerOfSuccess, powerOfError);
+}
+
function setPowered (t, adapter, powerOnSuccess) {
var powerOnError = t.step_func(function (e) {
assert_unreached("powerOnError exception:" + e.message);
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'createBonding' method called with invalid arguments reports not found error" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_address_NotFound">
+ <testcase purpose="check whether createBonding() method called with invalid arguments reports not found error" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_address_NotFound">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="createBonding" 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#createBondingid2317306</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>
</testcase>
- <testcase purpose="Check whether 'createBonding' method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch">
+ <testcase purpose="Check whether createBonding() method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'destroyBonding' method called with invalid arguments reports not found error" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_address_NotFound">
+ <testcase purpose="check whether destroyBonding() method called with invalid arguments reports not found error" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_address_NotFound">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html</test_script_entry>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="destroyBonding" 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#destroyBondingid2317500</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>
</testcase>
- <testcase purpose="check whether 'discoverDevices' method called with invalid successCallback throws an exception" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_invalid_callback_name">
+ <testcase purpose="check whether discoverDevices() method called with invalid successCallback throws an exception" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_invalid_callback_name">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="discoverDevices" 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#discoverDevicesid2316511</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>
</testcase>
- <testcase purpose="check whether 'getDevice' method called with invalid arguments reports not found error" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_getDevice_address_NotFound">
+ <testcase purpose="check whether getDevice() method called with invalid arguments reports not found error" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_getDevice_address_NotFound">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html</test_script_entry>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="getDevice" 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#getDeviceid2317115</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="BluetoothAdapter" element_type="method" element_name="getKnownDevices" 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#getKnownDevicesid2316922</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>
</testcase>
- <testcase purpose="check whether 'setPowered' method properly sets powered parameter of BluetoothAdapter (part 2)" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered">
+ <testcase purpose="check whether setPowered() method properly sets powered parameter of BluetoothAdapter (part 2)" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setPowered" 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#setPoweredid2316032</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="BluetoothAdapter" element_type="method" element_name="stopDiscovery" 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#discoverDevicesid2316511</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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument setName successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_successCallback_invalid_cb">
+ <testcase purpose="Check argument setName() successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument setName errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_errorCallback_invalid_cb">
+ <testcase purpose="Check argument setName() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'setName' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_successCallback_TypeMismatch">
+ <testcase purpose="Check whether setName() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'setName' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether setName() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'setPowered' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_successCallback_TypeMismatch">
+ <testcase purpose="Check whether setPowered() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if successful callback of setPowered method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_successCallback_invalid_cb">
+ <testcase purpose="check if successful callback of setPowered() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'setPowered' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether setPowered() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check argument setPowered errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_errorCallback_invalid_cb">
+ <testcase purpose="check argument setPowered() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'discoverDevices' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_successCallback_TypeMismatch">
+ <testcase purpose="Check whether discoverDevices() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check discoverDevices argument successCallback validation - use simple function" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_successCallback_invalid_cb">
+ <testcase purpose="Check discoverDevices() argument successCallback validation - use simple function" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'discoverDevices' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether discoverDevices() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument discoverDevices errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_errorCallback_invalid_cb">
+ <testcase purpose="Check argument discoverDevices() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'stopDiscovery' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch">
+ <testcase purpose="Check whether stopDiscovery() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'stopDiscovery' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether stopDiscovery() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check stopDiscovery argument successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_successCallback_invalid_cb">
+ <testcase purpose="Check stopDiscovery() argument successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check stopDiscovery argument errorCallback validation" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb">
+ <testcase purpose="check stopDiscovery() argument errorCallback validation" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'getKnownDevices' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch">
+ <testcase purpose="Check whether getKnownDevices() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'getKnownDevices' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether getKnownDevices() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getKnownDevices argument successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
+ <testcase purpose="Check getKnownDevices() argument successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getKnownDevices argument errorCallback validation - use {onerror: function (){}} " type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
+ <testcase purpose="Check getKnownDevices() argument errorCallback validation - use {onerror: function (){}} " type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'getDevice' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_successCallback_TypeMismatch">
+ <testcase purpose="Check whether getDevice() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'getDevice' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether getDevice() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if successful callback of getDevice method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_successCallback_invalid_cb">
+ <testcase purpose="check if successful callback of getDevice() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getDevice argument errorCallback validation - use {onerror: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
+ <testcase purpose="Check getDevice() argument errorCallback validation - use {onerror: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'createBonding' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_successCallback_TypeMismatch">
+ <testcase purpose="Check whether createBonding() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument createBonding successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_successCallback_invalid_cb">
+ <testcase purpose="Check argument createBonding() successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'createBonding' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether createBonding() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument createBonding errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_errorCallback_invalid_cb">
+ <testcase purpose="Check argument createBonding() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch">
+ <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument registerRFCOMMServiceByUUID successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
+ <testcase purpose="Check argument registerRFCOMMServiceByUUID() successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument registerRFCOMMServiceByUUID errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb">
+ <testcase purpose="Check argument registerRFCOMMServiceByUUID() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid successCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_successCallback_TypeMismatch">
+ <testcase purpose="Check whether destroyBonding() method called with invalid successCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_successCallback_TypeMismatch">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_successCallback_TypeMismatch.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid errorCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether destroyBonding() method called with invalid errorCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if destroyBonding method throws exception when invalid success callback is given" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_successCallback_invalid_cb">
+ <testcase purpose="Check if destroyBonding() method throws exception when invalid success callback is given" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_successCallback_invalid_cb">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_successCallback_invalid_cb.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if destroyBonding method throws exception when invalid error callback is given" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_errorCallback_invalid_cb">
+ <testcase purpose="Check if destroyBonding() method throws exception when invalid error callback is given" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_errorCallback_invalid_cb">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_invalid_cb.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'unregister' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_successCallback_TypeMismatch">
+ <testcase purpose="Check whether unregister() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'unregister' method of the BluetoothServiceHandler with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether unregister() method of the BluetoothServiceHandler with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if successful callback of unregister method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_successCallback_invalid_cb">
+ <testcase purpose="check if successful callback of unregister() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check unregister argument errorCallback validation" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_errorCallback_invalid_cb">
+ <testcase purpose="check unregister() argument errorCallback validation" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="stopDiscovery" 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#discoverDevicesid2316511</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="BluetoothAdapter" element_type="method" element_name="stopDiscovery" 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#discoverDevicesid2316511</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="BluetoothAdapter" element_type="method" element_name="getKnownDevices" 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#getKnownDevicesid2316922</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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check BluetoothDiscoverDevicesSuccessCallback callback with invalid callback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P1" id="Bluetooth_discoverDevices_successCallback_invalidcb">
+ <testcase purpose="Check BluetoothDiscoverDevicesSuccessCallback() callback with invalid callback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P1" id="Bluetooth_discoverDevices_successCallback_invalidcb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/Bluetooth_discoverDevices_successCallback_invalidcb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'setVisible' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_successCallback_TypeMismatch">
+ <testcase purpose="Check whether setVisible() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if successful callback of setVisible method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_successCallback_invalid_cb">
+ <testcase purpose="check if successful callback of setVisible() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'setVisible' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether setVisible() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if error callback of setVisible method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_errorCallback_invalid_cb">
+ <testcase purpose="check if error callback of setVisible() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/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="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/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="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/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="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'setChangeListener' method called with invalid listener argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setChangeListener_listener_TypeMismatch">
+ <testcase purpose="Check whether setChangeListener() method called with invalid listener argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setChangeListener_listener_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check setChangeListener with invalid callback" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setChangeListener_listener_invalid_cb">
+ <testcase purpose="check setChangeListener() with invalid callback" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setChangeListener_listener_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'registerSinkApplication' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether registerSinkApplication() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument registerSinkApplication errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb">
+ <testcase purpose="Check argument registerSinkApplication() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'registerSinkApplication' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch">
+ <testcase purpose="Check whether registerSinkApplication() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument registerSinkApplication successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb">
+ <testcase purpose="Check argument registerSinkApplication() successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'unregister' method of the BluetoothHealthApplication called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether unregiste() method of the BluetoothHealthApplication called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check argument unregister errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_errorCallback_invalid_cb">
+ <testcase purpose="check argument unregister() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'unregister' method called with invalid successCallback throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_successCallback_TypeMismatch">
+ <testcase purpose="Check whether unregister() method called with invalid successCallback throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check argument unregister successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_successCallback_invalid_cb">
+ <testcase purpose="check argument unregister() successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid address evokes errorCallback." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_address_TypeMismatch">
+ <testcase purpose="Check whether destroyBonding() method called with invalid address invokes errorCallback." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_address_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null">
+ <testcase purpose="Check whether destroyBonding() method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid errorCallback and successCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch">
+ <testcase purpose="Check whether destroyBonding() method called with invalid errorCallback and successCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="BluetoothManager" element_type="method" element_name="getDefaultAdapter" 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#::Bluetooth::BluetoothAdapter</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>
</testcase>
- <testcase purpose="Check whether 'getDevice' method called with invalid address evokes errorCallback." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_address_TypeMismatch">
+ <testcase purpose="Check whether getDevice() method called with invalid address evokes errorCallback." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_address_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'getDevice' method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null">
+ <testcase purpose="Check whether getDevice() method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="getKnownDevices" 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#getKnownDevicesid2316922</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>
</testcase>
- <testcase purpose="Check whether 'getKnownDevices' method called with invalid successCallback and null as errorCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null">
+ <testcase purpose="Check whether getKnownDevices() method called with invalid successCallback and null as errorCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null">
+ <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'setName' method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null">
+ <testcase purpose="Check whether setName() method called with invalid successCallback and errorCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'setName' method called with invalid errorCallback and successCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch">
+ <testcase purpose="Check whether setName() method called with invalid errorCallback and successCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_unregisterServiceRecord.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'createBonding' method called with invalid arguments reports not found error" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_address_NotFound">
+ <testcase purpose="check whether createBonding() method called with invalid arguments reports not found error" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_address_NotFound">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'createBonding' method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch">
+ <testcase purpose="Check whether createBonding() method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'destroyBonding' method called with invalid arguments reports not found error" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_address_NotFound">
+ <testcase purpose="check whether destroyBonding() method called with invalid arguments reports not found error" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_address_NotFound">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'discoverDevices' method called with invalid successCallback throws an exception" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_invalid_callback_name">
+ <testcase purpose="check whether discoverDevices() method called with invalid successCallback throws an exception" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_invalid_callback_name">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'getDevice' method called with invalid arguments reports not found error" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_getDevice_address_NotFound">
+ <testcase purpose="check whether getDevice() method called with invalid arguments reports not found error" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_getDevice_address_NotFound">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html</test_script_entry>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'setPowered' method properly sets powered parameter of BluetoothAdapter (part 2)" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered">
+ <testcase purpose="check whether setPowered() method properly sets powered parameter of BluetoothAdapter (part 2)" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument setName successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_successCallback_invalid_cb">
+ <testcase purpose="Check argument setName() successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument setName errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_errorCallback_invalid_cb">
+ <testcase purpose="Check argument setName() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'setName' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_successCallback_TypeMismatch">
+ <testcase purpose="Check whether setName() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'setName' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether setName() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'setPowered' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_successCallback_TypeMismatch">
+ <testcase purpose="Check whether setPowered() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if successful callback of setPowered method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_successCallback_invalid_cb">
+ <testcase purpose="check if successful callback of setPowered() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'setPowered' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether setPowered() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument setPowered errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_errorCallback_invalid_cb">
+ <testcase purpose="check argument setPowered() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'discoverDevices' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_successCallback_TypeMismatch">
+ <testcase purpose="Check whether discoverDevices() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check discoverDevices argument successCallback validation - use simple function" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_successCallback_invalid_cb">
+ <testcase purpose="Check discoverDevices() argument successCallback validation - use simple function" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'discoverDevices' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether discoverDevices() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument discoverDevices errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_errorCallback_invalid_cb">
+ <testcase purpose="Check argument discoverDevices() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'stopDiscovery' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch">
+ <testcase purpose="Check whether stopDiscovery() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'stopDiscovery' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether stopDiscovery() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check stopDiscovery argument successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_successCallback_invalid_cb">
+ <testcase purpose="Check stopDiscovery() argument successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check stopDiscovery argument errorCallback validation" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb">
+ <testcase purpose="check stopDiscovery() argument errorCallback validation" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'getKnownDevices' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch">
+ <testcase purpose="Check whether getKnownDevices() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'getKnownDevices' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether getKnownDevices() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getKnownDevices argument successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
+ <testcase purpose="Check getKnownDevices() argument successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getKnownDevices argument errorCallback validation - use {onerror: function (){}} " onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
+ <testcase purpose="Check getKnownDevices() argument errorCallback validation - use {onerror: function (){}} " onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'getDevice' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_successCallback_TypeMismatch">
+ <testcase purpose="Check whether getDevice() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'getDevice' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether getDevice() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if successful callback of getDevice method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_successCallback_invalid_cb">
+ <testcase purpose="check if successful callback of getDevice() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getDevice argument errorCallback validation - use {onerror: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
+ <testcase purpose="Check getDevice() argument errorCallback validation - use {onerror: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'createBonding' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_successCallback_TypeMismatch">
+ <testcase purpose="Check whether createBonding() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument createBonding successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_successCallback_invalid_cb">
+ <testcase purpose="Check argument createBonding() successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'createBonding' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether createBonding() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument createBonding errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_errorCallback_invalid_cb">
+ <testcase purpose="Check argument createBonding() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch">
+ <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument registerRFCOMMServiceByUUID successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
+ <testcase purpose="Check argument registerRFCOMMServiceByUUID() successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument registerRFCOMMServiceByUUID errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb">
+ <testcase purpose="Check argument registerRFCOMMServiceByUUID() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid successCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_successCallback_TypeMismatch">
+ <testcase purpose="Check whether destroyBonding() method called with invalid successCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_successCallback_TypeMismatch">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid errorCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether destroyBonding() method called with invalid errorCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if destroyBonding method throws exception when invalid success callback is given" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_successCallback_invalid_cb">
+ <testcase purpose="Check if destroyBonding() method throws exception when invalid success callback is given" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_successCallback_invalid_cb">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if destroyBonding method throws exception when invalid error callback is given" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_errorCallback_invalid_cb">
+ <testcase purpose="Check if destroyBonding() method throws exception when invalid error callback is given" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_errorCallback_invalid_cb">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'unregister' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_successCallback_TypeMismatch">
+ <testcase purpose="Check whether unregister() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'unregister' method of the BluetoothServiceHandler with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether unregister() method of the BluetoothServiceHandler with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if successful callback of unregister method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_successCallback_invalid_cb">
+ <testcase purpose="check if successful callback of unregister() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check unregister argument errorCallback validation" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_errorCallback_invalid_cb">
+ <testcase purpose="check unregister() argument errorCallback validation" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check BluetoothDiscoverDevicesSuccessCallback callback with invalid callback" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="Bluetooth_discoverDevices_successCallback_invalidcb">
+ <testcase purpose="Check BluetoothDiscoverDevicesSuccessCallback() callback with invalid callback" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="Bluetooth_discoverDevices_successCallback_invalidcb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/Bluetooth_discoverDevices_successCallback_invalidcb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'setVisible' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_successCallback_TypeMismatch">
+ <testcase purpose="Check whether setVisible() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if successful callback of setVisible method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_successCallback_invalid_cb">
+ <testcase purpose="check if successful callback of setVisible() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'setVisible' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether setVisible() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if error callback of setVisible method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_errorCallback_invalid_cb">
+ <testcase purpose="check if error callback of setVisible() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'setChangeListener' method called with invalid listener argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setChangeListener_listener_TypeMismatch">
+ <testcase purpose="Check whether setChangeListener() method called with invalid listener argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setChangeListener_listener_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check setChangeListener with invalid callback" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setChangeListener_listener_invalid_cb">
+ <testcase purpose="check setChangeListener() with invalid callback" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setChangeListener_listener_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_invalid_cb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'registerSinkApplication' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether registerSinkApplication() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument registerSinkApplication errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb">
+ <testcase purpose="Check argument registerSinkApplication() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'registerSinkApplication' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch">
+ <testcase purpose="Check whether registerSinkApplication() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument registerSinkApplication successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb">
+ <testcase purpose="Check argument registerSinkApplication() successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'unregister' method of the BluetoothHealthApplication called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_errorCallback_TypeMismatch">
+ <testcase purpose="Check whether unregiste() method of the BluetoothHealthApplication called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument unregister errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_errorCallback_invalid_cb">
+ <testcase purpose="check argument unregister() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'unregister' method called with invalid successCallback throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_successCallback_TypeMismatch">
+ <testcase purpose="Check whether unregister() method called with invalid successCallback throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument unregister successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_successCallback_invalid_cb">
+ <testcase purpose="check argument unregister() successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceaddress_correct.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid address evokes errorCallback." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_address_TypeMismatch">
+ <testcase purpose="Check whether destroyBonding() method called with invalid address invokes errorCallback." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_address_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null">
+ <testcase purpose="Check whether destroyBonding() method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'destroyBonding' method called with invalid errorCallback and successCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch">
+ <testcase purpose="Check whether destroyBonding() method called with invalid errorCallback and successCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_function_type_check.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'getDevice' method called with invalid address evokes errorCallback." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_address_TypeMismatch">
+ <testcase purpose="Check whether getDevice() method called with invalid address evokes errorCallback." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_address_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'getDevice' method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null">
+ <testcase purpose="Check whether getDevice() method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_check_types.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'getKnownDevices' method called with invalid successCallback and null as errorCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null">
+ <testcase purpose="Check whether getKnownDevices() method called with invalid successCallback and null as errorCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null">
+ <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'setName' method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null">
+ <testcase purpose="Check whether setName() method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether 'setName' method called with invalid errorCallback and successCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch">
+ <testcase purpose="Check whether setName() method called with invalid errorCallback and successCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch.html</test_script_entry>
</description>