<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_createBonding_errorCallback_TypeMismatch
-//==== LABEL Check argument createBonding errorCallback conversions exception
+//==== LABEL Check whether createBonding() method called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:createBonding M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_createBonding_errorCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- conversionTable, successCallback, powerOnSuccess, powerOnError, errorCallback;
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ conversionTable, successCallback, powerOnSuccess, errorCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
successCallback = t.step_func(function () {
- assert_unreached("successCallback shouldn't be here");
+ assert_unreached("Method createBonding shouldn't end successfully. Given incorrect errorCallback.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ }, "Given incorrect errorCallback.");
}
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_createBonding_successCallback_TypeMismatch
-//==== LABEL Check argument createBonding successCallback conversions exception
+//==== LABEL Check whether createBonding() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:createBonding M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("BluetoothAdapter_createBonding_successCallback_TypeMismatch", {timeout: 90000});
-t.step(function () {
- var adapter, exceptionName, i, conversionTable, errorCallback, powerOnSuccess, powerOnError, successCallback;
+var t = async_test(document.title, {timeout: 90000}),
+ adapter, exceptionName, i, errorCallback, powerOnSuccess, successCallback,
conversionTable = getTypeConversionExceptions("functionObject", false);
-
+t.step(function () {
errorCallback = t.step_func(function (e) {
assert_unreached("errorCallback exception:" + e.message);
});
assert_throws({name : exceptionName},
function () {
adapter.createBonding(REMOTE_DEVICE_ADDRESS, successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
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>
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>BluetoothAdapter_createBonding_with_success_null_and_error_TypeMismatch</title>
+<title>BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch
-//==== LABEL check whether 'createBonding' method called with invalid arguments throws an exception (part 5)
+//==== LABEL Check whether createBonding() method called with invalid successCallback and errorCallback set to null throws an exception.
//==== PRIORITY P2
//==== 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 MC
test(function () {
var globalBluetoothAdapter, param = [null, undefined, 1, "aaa", [1, 2, 3], {}], i;
globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter();
for (i = 0; i < param.length; i++) {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
- globalBluetoothAdapter.createBonding(REMOTE_DEVICE_ADDRESS, param[i], null);
- });
+ assert_throws({name: TYPE_MISMATCH_ERR},
+ function () {
+ globalBluetoothAdapter.createBonding(REMOTE_DEVICE_ADDRESS, param[i], null);
+ }, "Given incorrect successCallback.");
}
}, "BluetoothAdapter_createBonding_with_success_null_and_error_TypeMismatch");
</script>
-
</body>
-
</html>
-
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_destroyBonding_address_TypeMismatch</title>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_destroyBonding_address_TypeMismatch
-//==== LABEL check whether bonding to remote devices is destroyed properly
+//==== LABEL Check whether destroyBonding() method called with invalid address invokes errorCallback.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== 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
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("BluetoothAdapter_destroyBonding_address_TypeMismatch", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000});
t.step(function () {
var adapter = tizen.bluetooth.getDefaultAdapter(),
param = [null, undefined, 1, "aaa", [1, 2, 3], {}],
- count = 0, createBondingSuccessCB, createBondingErrorCB, i;
+ count = 1, destroyBondingSuccess, destroyBondingError, i;
- createBondingSuccessCB = t.step_func(function () {
- assert_unreached("Shouldn't be here");
+ destroyBondingSuccess = t.step_func(function () {
+ assert_unreached("Method destroyBonding shouldn't end successfully.");
});
- 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 === param.length) {
+ destroyBondingError = t.step_func(function (e) {
+ assert_equals(e.name, NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
+ if (count === param.length) {
t.done();
+ } else {
+ count++;
}
});
for (i = 0; i < param.length; i++) {
- adapter.destroyBonding(param[i], createBondingSuccessCB, createBondingErrorCB);
+ adapter.destroyBonding(param[i], destroyBondingSuccess, destroyBondingError);
}
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch
-//==== LABEL Check argument destroyBonding errorCallback conversions exception
+//==== LABEL Check whether destroyBonding() method called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== EXECUTION_TYPE manual
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:destroyBonding M
//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
//==== TEST_CRITERIA MC
setup({timeout:90000});
-var t = async_test("BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch",{timeout:90000});
-t.step(function () {
- var adapter, exceptionName, i, successCallback, errorCallback,onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, conversionTable;
-
+var t = async_test(document.title,{timeout:90000}),
+ adapter, exceptionName, i, successCallback, errorCallback, onBondingSuccess, onBondingError, powerOnSuccess,
conversionTable = getTypeConversionExceptions("functionObject", true);
-
- successCallback = t.step_func(function (e) {
- assert_unreached("errorCallback exception:" + e.message);
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_unreached("Method destroyBonding shouldn't end successfully.");
});
onBondingSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ }, "Given incorrect errorCallback.");
}
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_destroyBonding_successCallback_TypeMismatch
-//==== LABEL Check argument destroyBonding successCallback conversions exception
+//==== LABEL Check whether destroyBonding() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== EXECUTION_TYPE manual
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:destroyBonding M
//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_destroyBonding_successCallback_TypeMismatch",{timeout:90000}), exceptionName, i,
- conversionTable, errorCallback, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, successCallback;
+var adapter = null, t = async_test(document.title,{timeout:90000}), exceptionName, i,
+ conversionTable, errorCallback, onBondingSuccess, onBondingError, powerOnSuccess, successCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
assert_throws({name : exceptionName},
function () {
adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
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_destroyBonding_with_success_TypeMismatch_and_error_null</title>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null
-//==== LABEL check whether 'destroyBonding' method called with invalid arguments throws an exception
+//==== LABEL Check whether destroyBonding() method called with invalid successCallback and errorCallback set to null throws an exception.
//==== 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
//==== TEST_CRITERIA MC
test(function () {
var globalBluetoothAdapter, param = [1, "aaa", [1, 2, 3], {}], i;
globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter();
for (i = 0; i < param.length; i++) {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
- globalBluetoothAdapter.destroyBonding(REMOTE_DEVICE_ADDRESS, param[i], null);
- });
+ assert_throws({name: TYPE_MISMATCH_ERR},
+ function () {
+ globalBluetoothAdapter.destroyBonding(REMOTE_DEVICE_ADDRESS, param[i], null);
+ }, "Given incorrect successCallback.");
}
}, "BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null");
+
</script>
</body>
</html>
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>Contact/UTC_bluetooth</title>
+<title>BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch
-//==== LABEL check whether 'destroyBonding' method called with invalid arguments throws an exception (part 2)
+//==== LABEL Check whether destroyBonding() method called with invalid errorCallback and successCallback set to null throws an exception.
//==== 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
//==== TEST_CRITERIA MC
test(function () {
var globalBluetoothAdapter, param = [1, "aaa", [1, 2, 3], {}], i;
globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter();
for (i = 0; i < param.length; i++) {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
- globalBluetoothAdapter.destroyBonding(REMOTE_DEVICE_ADDRESS, null, param[i]);
- });
+ assert_throws({name: TYPE_MISMATCH_ERR},
+ function () {
+ globalBluetoothAdapter.destroyBonding(REMOTE_DEVICE_ADDRESS, null, param[i]);
+ }, "Given incorrect errorCallback.");
}
}, "BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch");
</script>
-
</body>
-
</html>
-
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch
-//==== LABEL Check argument discoverDevices errorCallback conversions exception
+//==== LABEL Check whether discoverDevices() method called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:discoverDevices M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
successCallback, errorCallback, stopDiscoverySuccess, conversionTable;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
assert_throws({name : exceptionName},
function () {
adapter.discoverDevices(successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ }, "Given incorrect errorCallback.");
}
t.done();
});
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_discoverDevices_successCallback_TypeMismatch
-//==== LABEL Check argument discoverDevices successCallback conversions exception
+//==== LABEL Check whether discoverDevices() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:discoverDevices M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_discoverDevices_successCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
conversionTable, errorCallback, stopDiscoverySuccess, successCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("object", false);
assert_throws({name : exceptionName},
function () {
adapter.discoverDevices(successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
t.done();
});
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_getDevice_address_TypeMismatch</title>
<script>
//==== TEST: BluetoothAdapter_getDevice_address_TypeMismatch
-//==== LABEL check whether the BluetoothDevice object for a given device hardware address is provided properly
+//==== LABEL Check whether getDevice() method called with invalid address evokes errorCallback.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== 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
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("BluetoothAdapter_getDevice_address_TypeMismatch", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000});
t.step(function () {
var adapter = tizen.bluetooth.getDefaultAdapter(),
param = [null, undefined, 1, "aaa", [1, 2, 3], {}],
- count = 0, createBondingSuccessCB, createBondingErrorCB, i;
+ count = 1, createBondingSuccess, createBondingError, i;
- createBondingSuccessCB = t.step_func(function () {
- assert_unreached("Shouldn't be here");
+ createBondingSuccess = t.step_func(function () {
+ assert_unreached("Method getDevice shouldn't end successfully.");
});
- createBondingErrorCB = t.step_func(function (e) {
+ createBondingError = 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 === param.length) {
+ if (count === param.length) {
t.done();
+ } else {
+ count++;
}
});
for (i = 0; i < param.length; i++) {
- adapter.getDevice(param[i], createBondingSuccessCB, createBondingErrorCB);
+ adapter.getDevice(param[i], createBondingSuccess, createBondingError);
}
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getDevice_errorCallback_TypeMismatch
-//==== LABEL Check argument getDevice errorCallback conversions exception
+//==== LABEL Check whether getDevice() method called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getDevice M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_getDevice_errorCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- conversionTable, successCallback, powerOnSuccess, powerOnError, errorCallback;
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ conversionTable, successCallback, powerOnSuccess, errorCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
successCallback = t.step_func(function () {
- assert_unreached("successCallback shouldn't be here");
+ assert_unreached("Method getDevice shouldn't end successfully.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
adapter.getDevice(REMOTE_DEVICE_ADDRESS, successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ }, "Given incorrect errorCallback.");
}
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getDevice_successCallback_TypeMismatch
-//==== LABEL Check argument getDevice successCallback conversions exception
+//==== LABEL Check whether getDevice() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getDevice M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_getDevice_successCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- conversionTable, errorCallback, powerOnSuccess, successCallback, powerOnError;
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ conversionTable, errorCallback, powerOnSuccess, successCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", false);
assert_throws({name : exceptionName},
function () {
adapter.getDevice(REMOTE_DEVICE_ADDRESS, successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
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:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>Contact/UTC_bluetooth</title>
+<title>BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null
-//==== LABEL check whether 'getDevice' method called with invalid arguments throws an exception
+//==== LABEL Check whether getDevice() method called with invalid successCallback and errorCallback set to null throws an exception.
//==== 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
//==== TEST_CRITERIA MC
test(function () {
var globalBluetoothAdapter, param = [null, undefined, 1, "aaa", [1, 2, 3], {}], i;
globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter();
for (i = 0; i < param.length; i++) {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
- globalBluetoothAdapter.getDevice(REMOTE_DEVICE_ADDRESS, param[i], null);
- });
+ assert_throws({name: TYPE_MISMATCH_ERR},
+ function () {
+ globalBluetoothAdapter.getDevice(REMOTE_DEVICE_ADDRESS, param[i], null);
+ }, "Given incorrect successCallback.");
}
}, "BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null");
</script>
-
</body>
-
</html>
-
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch
-//==== LABEL Check argument getKnownDevices errorCallback conversions exception
+//==== LABEL Check whether getKnownDevices() method called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- conversionTable, successCallback, powerOnSuccess, powerOnError, errorCallback;
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ conversionTable, successCallback, powerOnSuccess, errorCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
assert_throws({name : exceptionName},
function () {
adapter.getKnownDevices(successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ }, "Given incorrect errorCallback.");
}
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch
-//==== LABEL Check argument getKnownDevices successCallback conversions exception
+//==== LABEL Check whether getKnownDevices() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- conversionTable, errorCallback, powerOnSuccess, powerOnError, successCallback;
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ conversionTable, errorCallback, powerOnSuccess, successCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", false);
assert_throws({name : exceptionName},
function () {
adapter.getKnownDevices(successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
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:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null</title>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null
-//==== LABEL check whether 'getKnownDevices' method called with invalid arguments throws an exception
+//==== LABEL Check whether getKnownDevices() method called with invalid successCallback and null as errorCallback argument throws an exception.
//==== PRIORITY P2
//==== 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
//==== TEST_CRITERIA MC
test(function () {
var globalBluetoothAdapter, param = [null, undefined, 1, "aaa", [1, 2, 3], {}], i;
globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter(1);
for (i = 0; i < param.length; i++) {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
- globalBluetoothAdapter.getKnownDevices(param[i], null);
- });
+ assert_throws({name: TYPE_MISMATCH_ERR},
+ function () {
+ globalBluetoothAdapter.getKnownDevices(param[i], null);
+ }, "Given incorrect successCallback.");
}
}, "BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null");
</script>
-
</body>
-
</html>
-
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch
-//==== LABEL Check argument registerRFCOMMServiceByUUID errorCallback conversions exception
+//==== LABEL Check whether registerRFCOMMServiceByUUID() method called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:registerRFCOMMServiceByUUID M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- conversionTable, successCallback, powerOnSuccess, powerOnError, exceptionName, errorCallback;
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ conversionTable, successCallback, powerOnSuccess, exceptionName, errorCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
successCallback = t.step_func(function () {
- assert_unreached("successCallback shouldn't be call");
+ assert_unreached("Method registerRFCOMMServiceByUUID shouldn't end successfully.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ }, "Given incorrect errorCallback.");
}
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch
-//==== LABEL Check argument registerRFCOMMServiceByUUID successCallback conversions exception
+//==== LABEL Check whether registerRFCOMMServiceByUUID() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:registerRFCOMMServiceByUUID M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- conversionTable, successCallback, errorCallback, powerOnSuccess, powerOnError, successCallback;
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ conversionTable, successCallback, errorCallback, powerOnSuccess;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", false);
errorCallback = t.step_func(function (e) {
- assert_unreached("errorCallback exception:" + e.message);
+ assert_unreached("Method registerRFCOMMServiceByUUID shouldn't end successfully.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
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:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null</title>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null
-//==== LABEL check whether 'registerRFCOMMServiceByUUID' method called with invalid arguments throws an exception
+//==== LABEL Check whether registerRFCOMMServiceByUUID() method called with invalid successCallback and errorCallback set to null throws an exception.
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:registerRFCOMMServiceByUUID 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
//==== TEST_CRITERIA MC
test(function () {
var globalBluetoothAdapter, param = [null, undefined, 1, "aaa", {}, [], [1, 2, 3], {}], i;
globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter();
for (i = 0; i < param.length; i++) {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
- globalBluetoothAdapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "name", param[i], null);
- });
+ assert_throws({name: TYPE_MISMATCH_ERR},
+ function () {
+ globalBluetoothAdapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "name", param[i], null);
+ }, "Given incorrect successCallback.");
}
}, "BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null");
</script>
-
</body>
-
</html>
-
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setChangeListener_listener_TypeMismatch
-//==== LABEL check argument setChangeListener listener conversions exception
+//==== LABEL Check whether setChangeListener() method called with invalid listener argument throws an exception.
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
assert_throws({name : exceptionName},
function () {
adapter.setChangeListener(listener);
- }, exceptionName + " should be thrown - given incorrect listener.");
+ }, "Given incorrect listener.");
}
}, "BluetoothAdapter_setChangeListener_listener_TypeMismatch");
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setName_errorCallback_TypeMismatch
-//==== LABEL Check argument setName errorCallback conversions exception
+//==== LABEL Check whether setName() method called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setName M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_setName_errorCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- powerOnError, powerOnSuccess, errorCallback, successCallback, errorCallback, conversionTable;
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ powerOnSuccess, errorCallback, successCallback, errorCallback, conversionTable;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
successCallback = t.step_func(function () {
- assert_unreached("successCallback exception:");
+ assert_unreached("Method setName shouldn't end successfully.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
adapter.setName("myBluetooth", successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect errorCallback.");
}
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setName_successCallback_TypeMismatch
-//==== LABEL Check argument setName successCallback conversions exception
+//==== LABEL Check whether setName() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setName M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_setName_successCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- powerOnError, powerOnSuccess, errorCallback, conversionTable, exceptionName, successCallback;
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ powerOnSuccess, errorCallback, conversionTable, exceptionName, successCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
assert_throws({name : exceptionName},
function () {
adapter.setName("myBluetooth", successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
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:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null</title>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null
-//==== LABEL check whether 'setName' method called with invalid arguments throws an exception
+//==== LABEL Check whether setName() method called with invalid successCallback and errorCallback set to null throws an exception.
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setName M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#setNameid2315831
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MC
test(function () {
- var globalBluetoothAdapter, param = [1, "aaa", [1, 2, 3], {}], i;
+ var param = [1, "aaa", [1, 2, 3], {}], i,
globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter(1);
for (i = 0; i < param.length; i++) {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
- globalBluetoothAdapter.setName("aa", param[i], null);
- });
+ assert_throws({name: TYPE_MISMATCH_ERR},
+ function () {
+ globalBluetoothAdapter.setName("aa", param[i], null);
+ }, "Given incorrect successCallback.");
}
}, "BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null");
</script>
-
</body>
-
</html>
-
Authors:
Witold Choinkowski <w.choinkowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null</title>
+<title>BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch</title>
<meta charset="utf-8">
<script src="../resources/unitcommon.js"></script>
<script src="support/bluetooth_common.js"></script>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch
-//==== LABEL check whether 'setName' method called with invalid arguments throws an exception (part 2)
+//==== LABEL Check whether setName() method called with invalid errorCallback and successCallback set to null throws an exception.
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setName M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#setNameid2315831
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== TEST_CRITERIA MC
test(function () {
var globalBluetoothAdapter, param = [1, "aaa", [1, 2, 3], {}], i;
globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter(1);
for (i = 0; i < param.length; i++) {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
- globalBluetoothAdapter.setName("aa", null, param[i]);
- });
+ assert_throws({name: TYPE_MISMATCH_ERR},
+ function () {
+ globalBluetoothAdapter.setName("aa", null, param[i]);
+ }, "Given incorrect errorCallback.");
}
}, "BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch");
</script>
-
</body>
-
</html>
-
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setPowered_errorCallback_TypeMismatch
-//==== LABEL Check argument setPowered errorCallback conversions exception
+//==== LABEL Check whether setPowered() method called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setPowered M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_setPowered_errorCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
errorCallback, conversionTable, successCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
- successCallback = t.step_func(function (e) {
- assert_unreached("successCallback exception:" + e.message);
+ successCallback = t.step_func(function () {
+ assert_unreached("Method setPowered shouldn't end successfully.");
});
adapter = tizen.bluetooth.getDefaultAdapter();
assert_throws({name : exceptionName},
function () {
adapter.setPowered(true, successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ }, "Given incorrect errorCallback.");
}
t.done();
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setPowered_successCallback_TypeMismatch
-//==== LABEL Check argument setPowered successCallback conversions exception
+//==== LABEL Check whether setPowered() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setPowered M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_setPowered_successCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
successCallback, errorCallback, conversionTable, successCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
assert_throws({name : exceptionName},
function () {
adapter.setPowered(true, successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
t.done();
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setVisible_errorCallback_TypeMismatch
-//==== LABEL Check argument setVisible errorCallback conversions exception
+//==== LABEL Check whether setVisible() method called with invalid errorCallback argument throws an exception.
//==== 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 MC
setup({timeout: 90000});
-var t = async_test("BluetoothAdapter_setVisible_errorCallback_TypeMismatch", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000});
t.step(function () {
- var adapter, exceptionName, successCallback, errorCallback, i, powerOnSuccess, powerOnError, conversionTable;
+ var adapter, exceptionName, successCallback, errorCallback, i, powerOnSuccess, conversionTable;
conversionTable = getTypeConversionExceptions("functionObject", true);
successCallback = t.step_func(function () {
- assert_unreached("successCallback shouldn't be here");
+ assert_unreached("Method setVisible shouldn't end successfully.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
adapter.setVisible(true, successCallback, errorCallback, 60);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect errorCallback.");
}
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setVisible_successCallback_TypeMismatch
-//==== LABEL Check argument setVisible successCallback conversions exception
+//==== LABEL Check whether setVisible() method called with invalid successCallback argument throws an exception.
//==== 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 MC
setup({timeout: 90000});
-var t = async_test("BluetoothAdapter_setVisible_successCallback_TypeMismatch", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000});
t.step(function () {
- var adapter, exceptionName, successCallback, errorCallback, i, powerOnSuccess, powerOnError, conversionTable;
+ var adapter, exceptionName, successCallback, errorCallback, i, powerOnSuccess, conversionTable;
conversionTable = getTypeConversionExceptions("functionObject", true);
assert_throws({name : exceptionName},
function () {
adapter.setVisible(true, successCallback, errorCallback, 60);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch
-//==== LABEL Check argument stopDiscovery errorCallback conversions exception
+//==== LABEL Check whether stopDiscovery() method called with invalid errorCallback argument throws an exception.
//==== 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
//==== TEST_CRITERIA MC
setup({timeout:90000});
-var adapter, t = async_test("BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
+var adapter, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
conversionTable, successCallback, discoverDevicesError, stopDiscoverySuccess, errorCallback, stopDiscoverySuccessCB;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
- successCallback = t.step_func(function (e) {
- assert_unreached("errorCallback exception:" + e.message);
+ successCallback = t.step_func(function () {
+ assert_unreached("Method stopDiscovery shouldn't end successfully.");
});
discoverDevicesError = t.step_func(function (e) {
stopDiscoverySuccess = t.step_func(function () {
var discoverDevicesSuccessCallback = {
- onstarted: function () {
+ onstarted: t.step_func(function () {
for(i = 0; i < conversionTable.length; i++) {
errorCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
assert_throws({name : exceptionName},
function () {
adapter.stopDiscovery(successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ }, "Given incorrect errorCallback.");
}
adapter.stopDiscovery(stopDiscoverySuccessCB);
- },
- ondevicefound: function (device) {
- },
- ondevicedisappeared: function (address) {
- },
- onfinished: function (devices) {
- }
+ }),
+ ondevicefound: t.step_func(function (device) {
+ }),
+ ondevicedisappeared: t.step_func(function (address) {
+ }),
+ onfinished: t.step_func(function (devices) {
+ })
};
- adapter.discoverDevices(discoverDevicesSuccessCallback,discoverDevicesError);
+ adapter.discoverDevices(discoverDevicesSuccessCallback, discoverDevicesError);
});
adapter = tizen.bluetooth.getDefaultAdapter();
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch
-//==== LABEL Check argument stopDiscovery successCallback conversions exception
+//==== LABEL Check whether stopDiscovery() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:stopDiscovery M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var adapter = null, t = async_test("BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
+var adapter = null, t = async_test(document.title, {timeout: 90000}), exceptionName, i,
stopDiscoverySuccess, discoverDevicesError, errorCallback, conversionTable, successCallback, stopDiscoverySuccessCB;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
stopDiscoverySuccess = t.step_func(function () {
var discoverDevicesSuccessCallback = {
- onstarted: function () {
+ onstarted: t.step_func(function () {
for(i = 0; i < conversionTable.length; i++) {
successCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
assert_throws({name : exceptionName},
function () {
adapter.stopDiscovery(successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
adapter.stopDiscovery(stopDiscoverySuccessCB);
- },
- ondevicefound: function (device) {
- },
- ondevicedisappeared: function (address) {
- },
- onfinished: function (devices) {
- }
+ }),
+ ondevicefound: t.step_func(function (device) {
+ }),
+ ondevicedisappeared: t.step_func(function (address) {
+ }),
+ onfinished: t.step_func(function (devices) {
+ })
};
- adapter.discoverDevices(discoverDevicesSuccessCallback,discoverDevicesError);
+ adapter.discoverDevices(discoverDevicesSuccessCallback, discoverDevicesError);
});
adapter = tizen.bluetooth.getDefaultAdapter();
<div id="log"></div>
<script>
//==== TEST: BluetoothHealthApplication_unregister_errorCallback_TypeMismatch
-//==== LABEL check argument unregister errorCallback conversions exception
+//==== LABEL Check whether unregiste() method of the BluetoothHealthApplication called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthApplication:unregister M
//==== TEST_CRITERIA MC
setup({timeout:90000, explicit_done:true});
-var adapter, healthProfileHandler, powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
- t = async_test("BluetoothHealthApplication_unregister_errorCallback_TypeMismatch", {timeout:90000}), appName = "testSinkApp",
- argument, exceptionName, i, conversionTable = getTypeConversionExceptions("functionObject", true), successCallback;
+var adapter, healthProfileHandler, powerOnSuccess , healthRegisterSuccess, healthRegisterError,
+ t = async_test(document.title, {timeout:90000}), appName = "testSinkApp",
+ errorCallback, exceptionName, i, conversionTable = getTypeConversionExceptions("functionObject", true), successCallback;
t.step(function () {
adapter = tizen.bluetooth.getDefaultAdapter();
successCallback = t.step_func(function () {
- assert_unreached("adapter unregister success- Shouldn't be here");
+ assert_unreached("Method unregister shouldn't end successfully.");
});
healthRegisterSuccess = t.step_func(function (registerHealthApp) {
setBluetoothHandlerCleanup(registerHealthApp);
for(i = 0; i < conversionTable.length; i++) {
- argument = conversionTable[i][0];
+ errorCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
assert_throws({name : exceptionName},
function () {
- registerHealthApp.unregister(successCallback, argument);
- }, exceptionName + " should be thrown - given incorrect argument.");
+ registerHealthApp.unregister(successCallback, errorCallback);
+ }, "Given incorrect errorCallback.");
}
t.done();
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothHealthApplication_unregister_successCallback_TypeMismatch
-//==== LABEL check argument unregister successCallback conversions exception
+//==== LABEL Check whether unregister() method called with invalid successCallback throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthApplication:unregister M
//==== TEST_CRITERIA MC
setup({timeout:90000, explicit_done:true});
-var adapter, healthProfileHandler, powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
- t = async_test("BluetoothHealthApplication_unregister_successCallback_TypeMismatch", {timeout:90000}), appName = "testSinkApp",
- argument, exceptionName, i, conversionTable = getTypeConversionExceptions("functionObject", true);
+var adapter, healthProfileHandler, powerOnSuccess, healthRegisterSuccess, healthRegisterError,
+ t = async_test(document.title, {timeout:90000}), appName = "testSinkApp",
+ successCallback, exceptionName, i, conversionTable = getTypeConversionExceptions("functionObject", true);
t.step(function () {
adapter = tizen.bluetooth.getDefaultAdapter();
healthRegisterSuccess = t.step_func(function (registerHealthApp) {
setBluetoothHandlerCleanup(registerHealthApp);
for(i = 0; i < conversionTable.length; i++) {
- argument = conversionTable[i][0];
+ successCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
assert_throws({name : exceptionName},
function () {
- registerHealthApp.unregister(argument);
- }, exceptionName + " should be thrown - given incorrect argument.");
+ registerHealthApp.unregister(successCallback);
+ }, "Given incorrect successCallback.");
}
t.done();
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>
<div id="log"></div>
<script>
//==== TEST: BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch
-//==== LABEL check argument registerSinkApplicatio errorCallback conversions exception
+//==== LABEL Check whether registerSinkApplication() method called with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthProfileHandler:registerSinkApplication M
setup({timeout: 90000});
-var adapter, healthProfileHandler, argument, exceptionName, i, conversionTable = getTypeConversionExceptions("functionObject", true),
- successCallback, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch", {timeout: 90000});
+var adapter, healthProfileHandler, errorCallback, exceptionName, i, conversionTable = getTypeConversionExceptions("functionObject", true),
+ successCallback, t = async_test(document.title, {timeout: 90000});
t.step(function () {
adapter = tizen.bluetooth.getDefaultAdapter();
healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
successCallback = t.step_func(function (app) {
- assert_unreached("healthRegisterSuccess - Shouldn't be here");
+ assert_unreached("Method registerSinkApplication shouldn't end successfully.");
});
for(i = 0; i < conversionTable.length; i++) {
- argument = conversionTable[i][0];
+ errorCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
assert_throws({name : exceptionName},
function () {
- healthProfileHandler.registerSinkApplication(4100, "testSinkApp", successCallback, argument);
- }, exceptionName + " should be thrown - given incorrect argument.");
+ healthProfileHandler.registerSinkApplication(4100, "testSinkApp", successCallback, errorCallback);
+ }, "Given incorrect errorCallback.");
t.done();
}
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch
-//==== LABEL check argument registerSinkApplicatio successCallback conversions exception
+//==== LABEL Check whether registerSinkApplication() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthProfileHandler:registerSinkApplication M
setup({timeout: 90000});
-var adapter, healthProfileHandler, argument, exceptionName, i, conversionTable = getTypeConversionExceptions("functionObject", false),
-errorCallback, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch", {timeout: 90000});
+var adapter, healthProfileHandler, successCallback, exceptionName, i, conversionTable = getTypeConversionExceptions("functionObject", false),
+errorCallback, t = async_test(document.title, {timeout: 90000});
t.step(function () {
adapter = tizen.bluetooth.getDefaultAdapter();
healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
});
for(i = 0; i < conversionTable.length; i++) {
- argument = conversionTable[i][0];
+ successCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
assert_throws({name : exceptionName},
function () {
- healthProfileHandler.registerSinkApplication(4100, "testSinkApp", argument, errorCallback);
- }, exceptionName + " should be thrown - given incorrect argument.");
+ healthProfileHandler.registerSinkApplication(4100, "testSinkApp", successCallback, errorCallback);
+ }, "Given incorrect successCallback.");
t.done();
}
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothServiceHandler_unregister_errorCallback_TypeMismatch
-//==== LABEL Check argument unregister errorCallback conversions exception
+//==== LABEL Check whether unregister() method of the BluetoothServiceHandler with invalid errorCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothServiceHandler:unregister M
//==== TEST_CRITERIA MC
setup({timeout: 90000, explicit_done:true});
-var adapter = null, t = async_test("BluetoothServiceHandler_unregister_errorCallback_TypeMismatch", {timeout: 90000}),
+var adapter = null, t = async_test(document.title, {timeout: 90000}),
exceptionName, errorCallback, i,
- conversionTable, successCallback, registerSuccessCB, registerErrorCB, powerOnSuccess, powerOnError;
+ conversionTable, successCallback, registerSuccessCB, registerErrorCB, powerOnSuccess;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
successCallback = t.step_func(function () {
- assert_unreached("successCallback shouldn't be here");
+ assert_unreached("Method unregister shouldn't end successfully.");
});
registerSuccessCB = t.step_func(function (handler) {
assert_throws({name : exceptionName},
function () {
handler.unregister(successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ }, "Given incorrect errorCallback.");
}
t.done();
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerSuccessCB, registerErrorCB);
});
- 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>
<div id="log"></div>
<script>
//==== TEST: BluetoothServiceHandler_unregister_successCallback_TypeMismatch
-//==== LABEL Check argument unregister successCallback conversions exception
+//==== LABEL Check whether unregister() method called with invalid successCallback argument throws an exception.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothServiceHandler:unregister M
//==== TEST_CRITERIA MC
setup({timeout:90000, explicit_done:true});
-var adapter = null, t = async_test("BluetoothServiceHandler_unregister_successCallback_TypeMismatch", {timeout: 90000}), exceptionName, i,
- conversionTable, errorCallback, registerSuccessCB, registerErrorCB, powerOnSuccess, powerOnError, successCallback;
+var t = async_test(document.title, {timeout: 90000}), exceptionName, i,
+ adapter = null, conversionTable, errorCallback, registerSuccessCB, registerErrorCB, powerOnSuccess, successCallback;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", true);
assert_throws({name : exceptionName},
function () {
handler.unregister(successCallback, errorCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
t.done();
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerSuccessCB, registerErrorCB);
});
- 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>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'createBonding' method called with invalid arguments throws an exception (part 5)" 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>
<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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument setName successCallback conversions 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 argument setName errorCallback conversions 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 argument setPowered successCallback conversions 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 argument setPowered errorCallback conversions 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 discoverDevices successCallback conversions 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 argument discoverDevices errorCallback conversions 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 stopDiscovery successCallback conversions 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 argument stopDiscovery errorCallback conversions 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 argument getKnownDevices successCallback conversions 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 argument getKnownDevices errorCallback conversions 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 argument getDevice successCallback conversions 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 argument getDevice errorCallback conversions 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 argument createBonding successCallback conversions 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 errorCallback conversions 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 registerRFCOMMServiceByUUID successCallback conversions 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 errorCallback conversions 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 destroyBonding successCallback conversions 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 argument destroyBonding errorCallback conversions 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 argument unregister successCallback conversions 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 argument unregister errorCallback conversions 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 argument setVisible successCallback conversions 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>
<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 argument setVisible errorCallback conversions 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>
<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 argument setChangeListener listener conversions 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 argument registerSinkApplicatio errorCallback conversions 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 registerSinkApplicatio successCallback conversions 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 unregister errorCallback conversions 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 '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">
<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 successCallback conversions 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 whether bonding to remote devices is destroyed properly" 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 evokes 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>
<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 'destroyBonding' method called with invalid arguments 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>
<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 'destroyBonding' method called with invalid arguments throws an exception (part 2)" 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="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>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether the BluetoothDevice object for a given device hardware address is provided properly" 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>
<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>
</testcase>
- <testcase purpose="check whether 'getDevice' method called with invalid arguments 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="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>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'getKnownDevices' method called with invalid arguments 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>
<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 'registerRFCOMMServiceByUUID' method called with invalid arguments 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>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="registerRFCOMMServiceByUUID" 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 'setName' method called with invalid arguments 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>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setName" 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#setNameid2315831</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 'setName' method called with invalid arguments throws an exception (part 2)" 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>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setName" 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#setNameid2315831</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>
<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 arguments throws an exception (part 5)" 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument setName successCallback conversions 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 argument setName errorCallback conversions 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 argument setPowered successCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument setPowered errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument discoverDevices successCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument discoverDevices errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument stopDiscovery successCallback conversions 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 argument stopDiscovery errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument getKnownDevices successCallback conversions 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 argument getKnownDevices errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument getDevice successCallback conversions 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 argument getDevice errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument createBonding successCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument createBonding errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument registerRFCOMMServiceByUUID successCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument registerRFCOMMServiceByUUID errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument destroyBonding successCallback conversions 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 argument destroyBonding errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument unregister successCallback conversions 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 argument unregister errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/Bluetooth_discoverDevices_successCallback_invalidcb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument setVisible successCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument setVisible errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument setChangeListener listener conversions 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/BluetoothHealthProfileHandler_registerSinkApplication.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument registerSinkApplicatio errorCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument registerSinkApplicatio successCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument unregister errorCallback conversions exception" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_errorCallback_TypeMismatch">
+ <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">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_TypeMismatch.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 argument unregister successCallback conversions 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>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceaddress_correct.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether bonding to remote devices is destroyed properly" 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 evokes 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 arguments 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 arguments throws an exception (part 2)" 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 the BluetoothDevice object for a given device hardware address is provided properly" 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 arguments 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 arguments 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 arguments 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 arguments 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 arguments throws an exception (part 2)" 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>