<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_createBonding_errorCallback_invalid_cb
-//==== LABEL Check argument createBonding errorCallback validation.
+//==== LABEL Check argument createBonding() errorCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:createBonding M
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothAdapter_createBonding_errorCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- incorrectCallback, createBondingSuccess, powerOnSuccess, powerOnError;
+ incorrectCallback, createBondingSuccess, powerOnSuccess;
t.step(function () {
incorrectCallback = {
- onsuccess: t.step_func(function (error) {
+ onerror: t.step_func(function (error) {
assert_unreached("Invalid errorCallback invoked: " + error.name + ": " + error.message);
})
};
createBondingSuccess = t.step_func(function () {
- assert_unreached("createBondingSuccess shouldn't be here");
+ assert_unreached("Method createBonding shouldn't end successfully.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.createBonding(REMOTE_DEVICE_ADDRESS, createBondingSuccess, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.createBonding(REMOTE_DEVICE_ADDRESS, createBondingSuccess, incorrectCallback);
+ }, "Given incorrect errorCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_createBonding_successCallback_invalid_cb
-//==== LABEL Check argument createBonding successCallback validation.
+//==== LABEL Check argument createBonding() successCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:createBonding M
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothAdapter_createBonding_successCallback_invalid_cb",{timeout:90000}),exceptionName = "TypeMismatchError",
- incorrectCallback, createBondingError, powerOnSuccess, powerOnError;
+ incorrectCallback, createBondingError, powerOnSuccess;
t.step(function () {
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Invalid successCallback invoked: ");
+ assert_unreached("Method createBonding shouldn't end successfully.");
})
};
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.createBonding(REMOTE_DEVICE_ADDRESS, incorrectCallback, createBondingError);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.createBonding(REMOTE_DEVICE_ADDRESS, incorrectCallback, createBondingError);
+ }, "Given incorrect successCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_destroyBonding_errorCallback_invalid_cb
-//==== LABEL Check if destroyBonding method throws exception when invalid error callback is given
+//==== LABEL Check if destroyBonding() method throws exception when invalid error callback is given
//==== PRIORITY P2
//==== EXECUTION_TYPE manual
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:destroyBonding M
//==== TEST_CRITERIA MTCB
setup({timeout: 90000});
var t = async_test("BluetoothAdapter_destroyBonding_errorCallback_invalid_cb", {timeout: 90000}),
- adapter, exceptionName = "TypeMismatchError", incorrectCallback, destroyBondingError,
- onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+ adapter, exceptionName = "TypeMismatchError", incorrectCallback, destroyBondingSuccess,
+ onBondingSuccess, onBondingError, powerOnSuccess;
t.step(function () {
incorrectCallback = {
})
};
- destroyBondingError = t.step_func(function (e) {
- assert_unreached("destroyBondingError exception:" + e.message);
+ destroyBondingSuccess = t.step_func(function (e) {
+ assert_unreached("Method destroyBonding shouldn't end successfully.");
});
onBondingSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, destroyBondingError, incorrectCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, destroyBondingSuccess, incorrectCallback);
+ }, "Given incorrect errorCallback.");
t.done();
});
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_destroyBonding_successCallback_invalid_cb
-//==== LABEL Check if destroyBonding method throws exception when invalid success callback is given
+//==== LABEL Check if destroyBonding() method throws exception when invalid success callback is given
//==== PRIORITY P2
//==== EXECUTION_TYPE manual
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:destroyBonding M
//==== TEST_CRITERIA MTCB
setup({timeout: 90000});
var adapter = null, t = async_test("BluetoothAdapter_destroyBonding_successCallback_invalid_cb",{timeout:90000}), exceptionName = "TypeMismatchError",
- incorrectCallback, destroyBondingSuccess, onBondingSuccess, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+ incorrectCallback, destroyBondingError, onBondingSuccess, onBondingSuccess, onBondingError, powerOnSuccess;
t.step(function () {
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Invalid succesCallback invoked");
+ assert_unreached("Method destroyBonding shouldn't end successfully.");
})
};
- destroyBondingSuccess = t.step_func(function () {
- assert_unreached("destroyBondingSuccess shouldn't be here");
+ destroyBondingError = t.step_func(function (error) {
+ assert_unreached("Invalid errorCallback invoked: " + error.name + ": " + error.message);
});
onBondingSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, incorrectCallback, destroyBondingSuccess);
- }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, incorrectCallback, destroyBondingError);
+ }, "Given incorrect successCallback.");
t.done();
});
adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_discoverDevices_errorCallback_invalid_cb
-//==== LABEL Check argument discoverDevices errorCallback validation.
+//==== LABEL Check argument discoverDevices() errorCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:discoverDevices M
successCallback, incorrectCallback, stopDiscoverySuccess;
t.step(function () {
successCallback =t.step_func( function () {
- assert_unreached("Should not be here.");
+ assert_unreached("Method discoverDevices shouldn't end successfully.");
});
incorrectCallback = {
stopDiscoverySuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.discoverDevices(successCallback, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.discoverDevices(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
t.done();
});
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_discoverDevices_successCallback_invalid_cb
-//==== LABEL Check discoverDevices argument successCallback validation - use simple function
+//==== LABEL Check discoverDevices() argument successCallback validation - use simple function
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:discoverDevices M
stopDiscoverySuccess = t.step_func(function () {
for(i = 0; i < incorrectListeners.length; i++) {
- incorrectCallback = incorrectListeners[i][0];
+ incorrectCallback = incorrectListeners[i][0];
exceptionName = incorrectListeners[i][1];
assert_throws({name : exceptionName},
function () {
adapter.discoverDevices(incorrectCallback, discoverDevicesError);
- }, exceptionName + " should be thrown - given incorrect successCallback.");
+ }, "Given incorrect successCallback.");
}
t.done();
});
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getDevice_errorCallback_invalid_cb
-//==== LABEL Check getDevice argument errorCallback validation - use {onerror: function(){}}
+//==== LABEL Check getDevice() argument errorCallback validation - use {onerror: function (){}}
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getDevice M
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothAdapter_getDevice_errorCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- incorrectCallback, getDeviceSuccess, powerOnSuccess, powerOnError;
+ incorrectCallback, getDeviceSuccess, powerOnSuccess;
t.step(function () {
incorrectCallback = {
- onsuccess: t.step_func(function (e) {
+ onerror: t.step_func(function (e) {
assert_unreached("Invalid errorCallback invoked: " + e.name + ": " + e.message);
})
};
getDeviceSuccess = t.step_func(function () {
- assert_unreached("getDeviceSuccess shouldn't be here");
+ assert_unreached("Method getDevice shouldn't end successfully.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.getDevice(REMOTE_DEVICE_ADDRESS, getDeviceSuccess, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.getDevice(REMOTE_DEVICE_ADDRESS, getDeviceSuccess, incorrectCallback);
+ }, "Given incorrect errorCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getDevice_successCallback_invalid_cb
-//==== LABEL check if successful callback of getDevice method invoked
+//==== LABEL check if successful callback of getDevice() method invoked
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getDevice M
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothAdapter_getDevice_successCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- incorrectCallback, getDeviceError, powerOnSuccess, powerOnError;
+ incorrectCallback, getDeviceError, powerOnSuccess;
t.step(function () {
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Invalid successCallback invoked");
+ assert_unreached("Method getDevice shouldn't end successfully.");
})
};
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.getDevice(REMOTE_DEVICE_ADDRESS, incorrectCallback, getDeviceError);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.getDevice(REMOTE_DEVICE_ADDRESS, incorrectCallback, getDeviceError);
+ }, "Given incorrect successCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb
-//==== LABEL Check getKnownDevices argument errorCallback validation - use {onerror: function(){}}
+//==== LABEL Check getKnownDevices() argument errorCallback validation - use {onerror: function (){}}
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- incorrectCallback, getKnownDevicesSuccess, powerOnSuccess, powerOnError;
+ incorrectCallback, getKnownDevicesSuccess, powerOnSuccess;
t.step(function () {
incorrectCallback = {
- onsuccess: t.step_func(function (e) {
+ onerror: t.step_func(function (e) {
assert_unreached("Invalid errorCallback invoked: " + e.name + ": " + e.message);
})
};
getKnownDevicesSuccess = t.step_func(function () {
- assert_unreached("getKnownDevicesSuccess shouldn't be call:");
+ assert_unreached("Method getKnownDevices shouldn't end successfully.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.getKnownDevices(getKnownDevicesSuccess, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect error callback.");
+ adapter.getKnownDevices(getKnownDevicesSuccess, incorrectCallback);
+ }, "Given incorrect errorCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_getKnownDevices_successCallback_invalid_cb
-//==== LABEL Check getKnownDevices argument successCallback validation - use {onsuccess: function(){}}
+//==== LABEL Check getKnownDevices() argument successCallback validation - use {onsuccess: function (){}}
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
//==== TEST_CRITERIA MTCB
setup({timeout: 90000});
-var adapter = null,t = async_test("BluetoothAdapter_getKnownDevices_successCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- incorrectCallback, getKnownDevicesError, powerOnSuccess, powerOnError;
+var adapter = null,t = async_test("BluetoothAdapter_getKnownDevices_successCallback_invalid_cb", {timeout: 90000}),
+ incorrectCallback, getKnownDevicesError, powerOnSuccess,exceptionName = "TypeMismatchError";
t.step(function () {
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Invalid successCallback invoked");
+ assert_unreached("Method getKnownDevices shouldn't end successfully.");
})
};
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.getKnownDevices(incorrectCallback, getKnownDevicesError);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.getKnownDevices(incorrectCallback, getKnownDevicesError);
+ }, "Given incorrect successCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb
-//==== LABEL Check argument registerRFCOMMServiceByUUID errorCallback validation.
+//==== LABEL Check argument registerRFCOMMServiceByUUID() errorCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:registerRFCOMMServiceByUUID M
//==== TEST_CRITERIA MTCB
setup({timeout: 90000});
-var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- incorrectCallback, registerRFCOMMServiceByUUIDSuccess, powerOnSuccess, powerOnError;
+var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb", {timeout: 90000}),
+ incorrectCallback, registerRFCOMMServiceByUUIDSuccess, powerOnSuccess,exceptionName = "TypeMismatchError";
t.step(function () {
incorrectCallback = {
- onsuccess: t.step_func(function (e) {
+ onerror: t.step_func(function (e) {
assert_unreached("Invalid errorCallback invoked: " + e.name + ": " + e.message);
})
};
registerRFCOMMServiceByUUIDSuccess = t.step_func(function () {
- assert_unreached("registerRFCOMMServiceByUUIDSuccess shouldn't be call:");
+ assert_unreached("Method registerRFCOMMServiceByUUID shouldn't end successfully.");
});
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerRFCOMMServiceByUUIDSuccess, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect error callback.");
+ adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerRFCOMMServiceByUUIDSuccess, incorrectCallback);
+ }, "Given incorrect errorCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb
-//==== LABEL Check argument registerRFCOMMServiceByUUID successCallback validation - use {onsuccess: function(){}}
+//==== LABEL Check argument registerRFCOMMServiceByUUID() successCallback validation - use {onsuccess: function (){}}
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:registerRFCOMMServiceByUUID M
//==== TEST_CRITERIA MTCB
setup({timeout: 90000});
-var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- incorrectCallback, registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError;
+var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb", {timeout: 90000}),
+ incorrectCallback, registerRFCOMMServiceByUUIDError, powerOnSuccess, exceptionName = "TypeMismatchError";
t.step(function () {
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Invalid successCallback invoked: ");
+ assert_unreached("Method registerRFCOMMServiceByUUID shouldn't end successfully.");
})
};
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", incorrectCallback, registerRFCOMMServiceByUUIDError);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", incorrectCallback, registerRFCOMMServiceByUUIDError);
+ }, "Given incorrect successCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setChangeListener_listener_invalid_cb
-//==== LABEL check setChangeListener with invalid callback
+//==== LABEL check setChangeListener() with invalid callback
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
assert_throws({name : exceptionName},
function () {
adapter.setChangeListener(incorrectListener);
- }, exceptionName + " should be thrown - given incorrect listener.");
+ }, "Given incorrect listener.");
}
}, "BluetoothAdapter_setChangeListener_listener_invalid_cb");
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setName_errorCallback_invalid_cb
-//==== LABEL Check argument setName errorCallback validation.
+//==== LABEL Check argument setName() errorCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setName M
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothAdapter_setName_errorCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- powerOnError, powerOnSuccess, incorrectCallback, successCallback;
+ powerOnSuccess, incorrectCallback, successCallback;
t.step(function () {
successCallback =t.step_func( function () {
- assert_unreached("Should not be here.");
+ assert_unreached("Method setName shouldn't end successfully.");
});
incorrectCallback = {
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.setName("myBluetooth", successCallback, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.setName("myBluetooth", successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setName_successCallback_invalid_cb
-//==== LABEL Check argument setName successCallback validation.
+//==== LABEL Check argument setName() successCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setName M
setup({timeout: 90000});
var adapter = null,t = async_test("BluetoothAdapter_setName_successCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- powerOnError, powerOnSuccess, setNameError, incorrectCallback;
+ powerOnSuccess, setNameError, incorrectCallback;
t.step(function () {
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Invalid successCallback invoked");
+ assert_unreached("Method setName shouldn't end successfully.");
})
};
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.setName("myBluetooth", incorrectCallback, setNameError);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.setName("myBluetooth", incorrectCallback, setNameError);
+ }, "Given incorrect successCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setPowered_errorCallback_invalid_cb
-//==== LABEL check argument setPowered errorCallback validation.
+//==== LABEL check argument setPowered() errorCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setPowered M
incorrectCallback, powerOnSuccess;
t.step(function () {
incorrectCallback = {
- onsuccess: t.step_func(function (error) {
+ onerror: t.step_func(function (error) {
assert_unreached("Invalid errorCallback invoked: " + error.name + ": " + error.message);
})
};
powerOnSuccess = t.step_func(function () {
- assert_unreached("Should't be here");
+ assert_unreached("Method setPowered shouldn't end successfully.");
});
adapter = tizen.bluetooth.getDefaultAdapter();
assert_throws({name : exceptionName},
function () {
adapter.setPowered(true, powerOnSuccess, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ }, "Given incorrect errorCallback.");
t.done();
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setPowered_successCallback_invalid_cb
-//==== LABEL check if successful callback of setPowered method invoked
+//==== LABEL check if successful callback of setPowered() method invoked
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setPowered M
t.step(function () {
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Invalid successCallback invoked");
+ assert_unreached("Method setPowered shouldn't end successfully.");
})
};
assert_throws({name : exceptionName},
function () {
adapter.setPowered(true, incorrectCallback, powerOnError);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ }, "Given incorrect successCallback.");
t.done();
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setVisible_errorCallback_invalid_cb
-//==== LABEL check if error callback of setVisible method invoked
+//==== LABEL check if error callback of setVisible() method invoked
//==== 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 MTCB
setup({timeout: 90000});
var t = async_test("BluetoothAdapter_setVisible_errorCallback_invalid_cb", {timeout: 90000});
t.step(function () {
- var adapter, exceptionName = "TypeMismatchError", powerOnSuccess, powerOnError, successCallback, incorrectCallback;
+ var adapter, exceptionName = "TypeMismatchError", powerOnSuccess, successCallback, incorrectCallback;
successCallback =t.step_func( function () {
- assert_unreached("Should not be here.");
+ assert_unreached("Method setVisible shouldn't end successfully.");
});
incorrectCallback = {
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.setVisible(true, successCallback, incorrectCallback, 60);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.setVisible(true, successCallback, incorrectCallback, 60);
+ }, "Given incorrect errorCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_setVisible_successCallback_invalid_cb
-//==== LABEL check if successful callback of setVisible method invoked
+//==== LABEL check if successful callback of setVisible() method invoked
//==== 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 MTCB
setup({timeout: 90000});
var t = async_test("BluetoothAdapter_setVisible_successCallback_invalid_cb", {timeout: 90000});
t.step(function () {
- var adapter, exceptionName = "TypeMismatchError", powerOnSuccess, powerOnError, incorrectCallback, setVisibleError;
+ var adapter, exceptionName = "TypeMismatchError", powerOnSuccess, incorrectCallback, setVisibleError;
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Invalid successCallback invoked");
+ assert_unreached("Method setVisible shouldn't end successfully.");
})
};
powerOnSuccess = t.step_func(function () {
assert_throws({name : exceptionName},
function () {
- adapter.setVisible(true, incorrectCallback, setVisibleError, 60);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.setVisible(true, incorrectCallback, setVisibleError, 60);
+ }, "Given incorrect successCallback.");
t.done();
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb
-//==== LABEL check stopDiscovery argument errorCallback validation
+//==== LABEL check stopDiscovery() argument errorCallback validation
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:stopDiscovery M
};
successCallback = t.step_func(function (e) {
- assert_unreached("errorCallback exception:" + e.message);
+ assert_unreached("Method stopDiscovery shouldn't end successfully.");
});
stopDiscoverySuccessCB = t.step_func(function () {
onstarted: function () {
assert_throws({name : exceptionName},
function () {
- adapter.stopDiscovery(successCallback, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.stopDiscovery(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
adapter.stopDiscovery(stopDiscoverySuccessCB);
},
ondevicefound: function (device) {
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothAdapter_stopDiscovery_successCallback_invalid_cb
-//==== LABEL Check stopDiscovery argument successCallback validation - use {onsuccess: function (){}}
+//==== LABEL Check stopDiscovery() argument successCallback validation - use {onsuccess: function (){}}
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:stopDiscovery M
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Shouldn't be here");
+ assert_unreached("Method stopDiscovery shouldn't end successfully.");
})
};
onstarted: function () {
assert_throws({name : exceptionName},
function () {
- adapter.stopDiscovery(incorrectCallback, stopDiscoveryError);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ adapter.stopDiscovery(incorrectCallback, stopDiscoveryError);
+ }, "Given incorrect successCallback.");
adapter.stopDiscovery(stopDiscoverySuccessCB);
},
ondevicefound: function (device) {
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothHealthApplication_unregister_errorCallback_invalid_cb
-//==== LABEL check argument unregister errorCallback validation.
+//==== LABEL check argument unregister() errorCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthApplication:unregister M
//==== TEST_CRITERIA MTCB
setup({timeout:90000, explicit_done:true});
-var adapter, healthProfileHandler, powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler, powerOnSuccess, healthRegisterSuccess, healthRegisterError,
t = async_test("BluetoothHealthApplication_unregister_errorCallback_invalid_cb", {timeout:90000}), appName = "testSinkApp",
incorrectCallback, exceptionName = "TypeMismatchError", successCallback;
};
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) {
assert_throws({name : exceptionName},
function () {
registerHealthApp.unregister(successCallback, incorrectCallback);
- }, exceptionName + " should be thrown - given incorrect argument.");
+ }, "Given incorrect errorCallback.");
t.done();
});
healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, healthRegisterSuccess, healthRegisterError);
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothHealthApplication_unregister_successCallback_invalid_cb
-//==== LABEL check argument unregister successCallback validation.
+//==== LABEL check argument unregister() successCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthApplication:unregister M
//==== TEST_CRITERIA MTCB
setup({timeout:90000});
-var adapter, healthProfileHandler, powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler, powerOnSuccess , healthRegisterSuccess, healthRegisterError,
t = async_test("BluetoothHealthApplication_unregister_successCallback_invalid_cb", {timeout:90000}), appName = "testSinkApp",
incorrectCallback, exceptionName = "TypeMismatchError";
adapter = tizen.bluetooth.getDefaultAdapter();
incorrectCallback = {
- onerror: t.step_func(function (error) {
+ onsuccess: t.step_func(function (error) {
assert_unreached("Invalid successCallback invoked: " + error.name + ": " + error.message);
})
};
assert_throws({name : exceptionName},
function () {
registerHealthApp.unregister(incorrectCallback);
- }, exceptionName + " should be thrown - given incorrect argument.");
+ }, "Given incorrect successCallback.");
registerHealthApp.unregister();
healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, healthRegisterSuccess, healthRegisterError);
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb
-//==== LABEL Check argument registerSinkApplication errorCallback validation.
+//==== LABEL Check argument registerSinkApplication() errorCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthProfileHandler:registerSinkApplication M
setup({timeout: 90000});
-var adapter, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb", {timeout: 90000}),exceptionName = "TypeMismatchError",
- incorrectCallback, successCallback, healthProfileHandler;
+var adapter, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb", {timeout: 90000}),
+ incorrectCallback, successCallback, healthProfileHandler, exceptionName = "TypeMismatchError";
t.step(function () {
adapter = tizen.bluetooth.getDefaultAdapter();
healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
};
successCallback = t.step_func(function () {
- assert_unreached("successCallback shouldn't be here");
+ assert_unreached("Method registerSinkApplication shouldn't end successfully.");
});
assert_throws({name : exceptionName},
function () {
- healthProfileHandler.registerSinkApplication(4100, "testSinkApp", successCallback, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ healthProfileHandler.registerSinkApplication(4100, "testSinkApp", successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
t.done();
});
+
</script>
</body>
</html>
-->
<html>
<head>
-<title>BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb</title>
+<title>BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb</title>
<script src="../resources/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb
-//==== LABEL Check argument registerSinkApplication successCallback validation.
+//==== LABEL Check argument registerSinkApplication() successCallback validation.
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothHealthProfileHandler:registerSinkApplication M
healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
incorrectCallback = {
- onsuccess: t.step_func(function (error) {
- assert_unreached("Invalid successCallback invoked: " + error.name + ": " + error.message);
+ onsuccess: t.step_func(function () {
+ assert_unreached("Method registerSinkApplication shouldn't end successfully.");
})
};
- errorCallback = t.step_func(function () {
- assert_unreached("errorCallback shouldn't be here");
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("Invalid errorCallback invoked: " + error.name + ": " + error.message);
});
assert_throws({name : exceptionName},
function () {
- healthProfileHandler.registerSinkApplication(4100, "testSinkApp", incorrectCallback, errorCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ healthProfileHandler.registerSinkApplication(4100, "testSinkApp", incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
t.done();
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothServiceHandler_unregister_errorCallback_invalid_cb
-//==== LABEL check unregister argument errorCallback validation
+//==== LABEL check unregister() argument errorCallback validation
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothServiceHandler:unregister M
var t = async_test("BluetoothServiceHandler_unregister_errorCallback_invalid_cb", {timeout: 90000});
t.step(function () {
var adapter, exceptionName = "TypeMismatchError", incorrectCallback, unregisterSuccess,
- registerSuccessCB, registerErrorCB, powerOnSuccess, powerOnError;
+ registerSuccessCB, registerErrorCB, powerOnSuccess;
incorrectCallback = {
onerror: t.step_func(function (error) {
})
};
- unregisterSuccess = t.step_func(function (e) {
- assert_unreached("unregisterSuccess exception:" + e.message);
+ unregisterSuccess = t.step_func(function () {
+ assert_unreached("Method unregister shouldn't end successfully.");
});
registerSuccessCB = t.step_func(function (handler) {
setBluetoothHandlerCleanup(handler);
assert_throws({name : exceptionName},
function () {
- handler.unregister(unregisterSuccess, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect error callback.");
+ handler.unregister(unregisterSuccess, incorrectCallback);
+ }, "Given incorrect errorCallback.");
t.done();
});
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerSuccessCB, registerErrorCB);
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: BluetoothServiceHandler_unregister_successCallback_invalid_cb
-//==== LABEL check if successful callback of unregister method invoked
+//==== LABEL check if successful callback of unregister() method invoked
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothServiceHandler:unregister M
var t = async_test("BluetoothServiceHandler_unregister_successCallback_invalid_cb", {timeout: 90000});
t.step(function () {
var adapter, exceptionName = "TypeMismatchError", incorrectCallback, unregisterError,
- registerSuccessCB, registerErrorCB, powerOnSuccess, powerOnError;
+ registerSuccessCB, registerErrorCB, powerOnSuccess;
incorrectCallback = {
onsuccess: t.step_func(function () {
- assert_unreached("Invalid successCallback invoked");
+ assert_unreached("Method unregister shouldn't end successfully.");
})
};
setBluetoothHandlerCleanup(handler);
assert_throws({name : exceptionName},
function () {
- handler.unregister(incorrectCallback, unregisterError);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ handler.unregister(incorrectCallback, unregisterError);
+ }, "Given incorrect successCallback.");
t.done();
});
adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerSuccessCB, registerErrorCB);
});
- powerOnError = t.step_func(function (e) {
- assert_unreached("powerOnError exception:" + e.message);
- });
-
adapter = tizen.bluetooth.getDefaultAdapter();
- adapter.setPowered(true, powerOnSuccess, powerOnError);
+ setPowered(t, adapter, powerOnSuccess);
});
+
</script>
</body>
</html>
<div id="log"></div>
<script>
//==== TEST: Bluetooth_discoverDevices_successCallback_invalidcb
-//==== LABEL Check BluetoothDiscoverDevicesSuccessCallback callback with invalid callback
+//==== LABEL Check BluetoothDiscoverDevicesSuccessCallback() callback with invalid callback
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:discoverDevices M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
adapter = tizen.bluetooth.getDefaultAdapter();
stopDiscovery(t, adapter, stopDiscoverySuccess);
});
+
</script>
</body>
</html>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getKnownDevices argument successCallback validation - use {onsuccess: function(){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
+ <testcase purpose="Check getKnownDevices argument successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getKnownDevices argument errorCallback validation - use {onerror: function(){}} " type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
+ <testcase purpose="Check getKnownDevices argument errorCallback validation - use {onerror: function (){}} " type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getDevice argument errorCallback validation - use {onerror: function(){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
+ <testcase purpose="Check getDevice argument errorCallback validation - use {onerror: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument registerRFCOMMServiceByUUID successCallback validation - use {onsuccess: function(){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
+ <testcase purpose="Check argument registerRFCOMMServiceByUUID successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getKnownDevices argument successCallback validation - use {onsuccess: function(){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
+ <testcase purpose="Check getKnownDevices argument successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getKnownDevices argument errorCallback validation - use {onerror: function(){}} " onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
+ <testcase purpose="Check getKnownDevices argument errorCallback validation - use {onerror: function (){}} " onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getDevice argument errorCallback validation - use {onerror: function(){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
+ <testcase purpose="Check getDevice argument errorCallback validation - use {onerror: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument registerRFCOMMServiceByUUID successCallback validation - use {onsuccess: function(){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
+ <testcase purpose="Check argument registerRFCOMMServiceByUUID successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb.html</test_script_entry>
</description>