[Bluetooth] cleanup TypeMismatch
authorWitold Choinkowski <w.choinkowsk@samsung.com>
Mon, 23 Sep 2013 15:21:31 +0000 (17:21 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Fri, 4 Oct 2013 11:44:30 +0000 (11:44 +0000)
Change-Id: If90181326477736e95462bfe2b087d21f06f17ce

39 files changed:
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_TypeMismatch.html
tct-bluetooth-tizen-tests/tests.full.xml
tct-bluetooth-tizen-tests/tests.xml

index 9ce53fd74534bc38b96a342e7a9c30a2ef0e7efe..28e4adf85e730efd38a8141dfb13b69ca56a644c 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,13 +40,13 @@ Authors:
 //==== 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 () {
@@ -57,18 +57,15 @@ t.step(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>
index e2f494e926c1928d4e76573c8f45845ed5558cff..a9ac5dc59c29c47873d089e14c5c021e1ad99a22 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,11 +40,10 @@ Authors:
 //==== 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);
     });
@@ -57,18 +56,15 @@ t.step(function () {
             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>
index 5e9e1ee7224e3ec485a164aebfa655941ff7be35..19e42894bad5573e75b9195eb1180ef26c4910de 100644 (file)
@@ -21,10 +21,10 @@ Authors:
         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>
@@ -33,27 +33,23 @@ Authors:
 <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>
-
index 36d2fdf6fcd3a002b74325e518acd3d0206fe482..add9210f18dc77fe70d3d8eef0302b4bd023a9a3 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_destroyBonding_address_TypeMismatch</title>
@@ -33,35 +33,38 @@ Authors:
 <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>
index de88f3b454c9690851b51188afcb64a2cb565d78..cba928748eb42f97ef7e38969cd175a9d0e47bf7 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,14 +40,12 @@ Authors:
 //==== 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 () {
@@ -58,7 +56,7 @@ t.step(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();
     });
@@ -71,13 +69,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index f8a86fb9cc9c045081970dd4e3f0cb569ac39fe8..584ccd2b2d849d10a9ec82c8b851d93d70a66c6e 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,8 +40,8 @@ Authors:
 //==== 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);
 
@@ -57,7 +57,7 @@ t.step(function () {
             assert_throws({name : exceptionName},
                 function () {
                     adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, successCallback, errorCallback);
-                }, exceptionName + " should be thrown - given incorrect successCallback.");
+                }, "Given incorrect successCallback.");
         }
         t.done();
     });
@@ -70,13 +70,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 377b3f4e42085bb48fa5fde295a8fe5b67ac12bd..d85961bffe2afd55c4beea3f16a7a3afd03bcced 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null</title>
@@ -33,23 +33,23 @@ Authors:
 <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>
index 1a7a16ea64a5a9f6365a7d982020c10bc95792b9..6892bce219bfedcc2fcf021aae3bac926a7ccf4b 100644 (file)
@@ -20,10 +20,10 @@ limitations under the License.
 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>
@@ -33,27 +33,23 @@ Authors:
 <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>
-
index 787f326e2716ac4102f57a916115712e63edcf81..ff253ee7a6396e5a8e15eb8e75c3f01fbbe82075 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,7 +40,7 @@ Authors:
 //==== 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);
@@ -57,7 +57,7 @@ t.step(function () {
             assert_throws({name : exceptionName},
                 function () {
                     adapter.discoverDevices(successCallback, errorCallback);
-                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+                }, "Given incorrect errorCallback.");
         }
         t.done();
     });
@@ -65,6 +65,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 5c5ec12c95f2cbf44b60049ce05d8c1327d248be..337d124f135aab0f7a37405ed55c763a98cfe074 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,7 +40,7 @@ Authors:
 //==== 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);
@@ -57,7 +57,7 @@ t.step(function () {
             assert_throws({name : exceptionName},
                 function () {
                     adapter.discoverDevices(successCallback, errorCallback);
-                }, exceptionName + " should be thrown - given incorrect successCallback.");
+                }, "Given incorrect successCallback.");
         }
         t.done();
     });
@@ -65,6 +65,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 7a63c74416697660b4113459f4523a239cfd6fab..621b9356db6e280a8c1009065e7249eebe6171e7 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_getDevice_address_TypeMismatch</title>
@@ -34,35 +34,38 @@ Authors:
 <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>
index bd3757dfbe9dacbdc30a36d215aaf52fe006fba5..5aa74a8affa9ca14aac78dfda88f2dc7ac1a000a 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,13 +40,13 @@ Authors:
 //==== 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 () {
@@ -57,18 +57,15 @@ t.step(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>
index be40bf80558ee1c497c7a15b7acaf11d04f0c689..eb3151372729061db1910b465fc7c3bd6489c502 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,8 +40,8 @@ Authors:
 //==== 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);
 
@@ -57,18 +57,15 @@ t.step(function () {
             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>
index 391b0e15e470fe3f334bd4c7936db1314fee623b..fc7cb57dea57cf0aa6d47b8ad1d474cb6b0d09b8 100644 (file)
@@ -20,10 +20,10 @@ limitations under the License.
 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>
@@ -33,26 +33,22 @@ Authors:
 <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>
-
index df89e2f03b124d7b557af19a39f6441533f34ec6..fba6b0dbc2976faeca55953d615d848b352b565a 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,8 +40,8 @@ Authors:
 //==== 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);
 
@@ -57,18 +57,15 @@ t.step(function () {
             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>
index 04d11445893cd99d29f7ca9b0d3f365aeb8b5163..7273817057f3c6fc695a42bbc774e8c90277e4ec 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,8 +40,8 @@ Authors:
 //==== 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);
 
@@ -57,18 +57,15 @@ t.step(function () {
             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>
index 14831b0355beb09f34a7839f09fff51a816d1326..e269e4a42ba2d2770c49479e5877a89c8f9c395e 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null</title>
@@ -33,27 +33,23 @@ Authors:
 <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>
-
index f1ac2bce8f4124f8bd64863a17dca5fd503ecda8..b4dfa78a6012ef37aaa9fbf750170de58a5b251d 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,13 +40,13 @@ Authors:
 //==== 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 () {
@@ -57,18 +57,15 @@ t.step(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>
index a27103da63d29ca52dfaacc021a22b3ede403c4f..9493db9fd7579616a04989011640990ffecb1932 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,13 +40,13 @@ Authors:
 //==== 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 () {
@@ -57,18 +57,15 @@ t.step(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>
index d93e35712ce740abb563b1e2faf36e2a581e1060..849913e28382503db7e4bd7619ce12470ccdc5d3 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null</title>
@@ -33,27 +33,23 @@ Authors:
 <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>
-
index d39b6984e2613fd2b23224141e37f1b23cd61960..eb5726755b074c7be7d900576ec173f18d13a982 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -48,9 +48,10 @@ test(function () {
         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>
index 76865f6b4022d84328d77bf7e5eb60c7d1c4ef54..5212e87ba0d541bf518dcc75e69382f766a0fcd0 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,13 +40,13 @@ Authors:
 //==== 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 () {
@@ -57,18 +57,15 @@ t.step(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>
index bd86db44cfb2ad012a68ff5bcaa7db750e3b51b0..ed23daf65018a0466fcd4980a5528cc78516afd7 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,8 +40,8 @@ Authors:
 //==== 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);
 
@@ -57,18 +57,15 @@ t.step(function () {
             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>
index 81faa17294ef80a3bb35b10f0df2cee536ad55b0..e86c20bb3b721e509efa59f20ff02da2b41bdcc0 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null</title>
@@ -33,27 +33,23 @@ Authors:
 <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>
-
index aca4911dc541fa6b1d83b52ef1dffb6bd393fcfc..f430353ece0ad67531320decdb33dba444c7703d 100644 (file)
@@ -20,10 +20,10 @@ limitations under the License.
 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>
@@ -33,27 +33,23 @@ Authors:
 <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>
-
index b60bb4b173fe880fecb7e562a0ce52821b657b4f..bf024bda6c8b40954eb872d07286cf1fc2da5ebb 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,13 +40,13 @@ Authors:
 //==== 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();
@@ -58,10 +58,11 @@ t.step(function () {
         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>
index 197249157eb98c1e46f3bac3de79ba9762e34724..d08301d2d1b8fad734a7920242a62cb1f5d50011 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,7 +40,7 @@ Authors:
 //==== 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);
@@ -58,10 +58,11 @@ t.step(function () {
         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>
index 0677544d5359a6f4c1b2b7c14faf114d86217051..ee5ecf8e1b2fdb42bcbe7070385619463fc009ff 100644 (file)
@@ -32,23 +32,23 @@ Authors:
 <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 () {
@@ -59,18 +59,15 @@ t.step(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>
index 6e063437a8184bb35945e2690adbb01f916702a8..66c61981bb8df07e53fe0b44ec132d3fec4dfff3 100644 (file)
@@ -32,17 +32,17 @@ Authors:
 <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);
 
@@ -58,18 +58,15 @@ t.step(function () {
             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>
index fd950173f6faa5386178e0b05ff1bccfa82c38ea..0a6647db381f056367e18f404b40d3173187aef9 100644 (file)
@@ -32,20 +32,20 @@ Authors:
 <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) {
@@ -58,7 +58,7 @@ t.step(function () {
 
     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];
@@ -66,19 +66,19 @@ t.step(function () {
                     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();
index e908074aa8e723340064473af2c1135d3f9e06cd..2499a5a0a0fcfbdd6b1d5df5f825039f10ca804f 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,7 +40,7 @@ Authors:
 //==== 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);
@@ -59,7 +59,7 @@ t.step(function () {
 
     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];
@@ -67,19 +67,19 @@ t.step(function () {
                     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();
index d82ff2b4c662f1e62b83cf2f292f26c29fa9f9ba..445182fd35b387e867dada5c01098aea80888a06 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,27 +40,27 @@ Authors:
 //==== 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();
@@ -75,12 +75,9 @@ t.step(function () {
         healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, healthRegisterSuccess, healthRegisterError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 737c287f3083fcc6c338434d5f4e8ee991efa3d8..60f8607914ee20f0c853a1b57d4c88a3d71ea2c0 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,9 +40,9 @@ Authors:
 //==== 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();
@@ -50,13 +50,13 @@ t.step(function () {
     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();
@@ -71,12 +71,9 @@ t.step(function () {
         healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, healthRegisterSuccess, healthRegisterError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 16fdd8e7cc05572ab07ed3dfa4090ac2abc8fa11..414d188962d96a58e71c97d62a40c8450a482132 100644 (file)
@@ -31,7 +31,7 @@ Authors:
 <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
@@ -40,27 +40,28 @@ Authors:
 
 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>
index 06343eb0759a19d66477d82d0f57c04884cf599a..36439331ffd66a12bda61e759cd167b9b589ac4c 100644 (file)
@@ -31,7 +31,7 @@ Authors:
 <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
@@ -40,8 +40,8 @@ Authors:
 
 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");
@@ -51,16 +51,17 @@ t.step(function () {
     });
 
     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>
index 091c31bb87e4587c209665a5da785a6061971328..97239526ef58013707fa78b51e444a2c11c563b0 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,14 +40,14 @@ Authors:
 //==== 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) {
@@ -59,7 +59,7 @@ t.step(function () {
             assert_throws({name : exceptionName},
                 function () {
                     handler.unregister(successCallback, errorCallback);
-                }, exceptionName + " should be thrown - given incorrect errorCallback.");
+                }, "Given incorrect errorCallback.");
         }
 
         t.done();
@@ -73,13 +73,10 @@ t.step(function () {
         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>
index 067aea6288b990a151b2a7778e5a3a66ba6ceb51..bd78195ea533d1018f8e3289aa9cd0ed3e355f08 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <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
@@ -40,8 +40,8 @@ Authors:
 //==== 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);
 
@@ -58,7 +58,7 @@ t.step(function () {
             assert_throws({name : exceptionName},
                 function () {
                     handler.unregister(successCallback, errorCallback);
-                }, exceptionName + " should be thrown - given incorrect successCallback.");
+                }, "Given incorrect successCallback.");
         }
 
         t.done();
@@ -72,13 +72,10 @@ t.step(function () {
         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>
index 95272e106988a0e78eabdb937963fe2618ddf8f4..35366c34cec102610bfc0482bd07ea54ab24facc 100644 (file)
           </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>
index 8f63724283f823db519228f9161dd566bfba5016..327a104b4027c61514aebf00f16c75cc42797e05 100644 (file)
           <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>