[Notification][Bluetooth] removed 7 tests expecting NotFoundError
authorPiotr Szydelko <p.szydelko@samsung.com>
Wed, 23 Oct 2013 09:11:42 +0000 (11:11 +0200)
committerPiotr Szydelko <p.szydelko@samsung.com>
Wed, 23 Oct 2013 09:24:54 +0000 (11:24 +0200)
NotificationManager_get_invalid_argument
NotificationManager_remove_invalid_argument
BluetoothAdapter_destroyBonding_address_TypeMismatch
BluetoothAdapter_getDevice_address_TypeMismatch
BluetoothAdapter_createBonding_address_NotFound
BluetoothAdapter_destroyBonding_address_NotFound
BluetoothAdapter_getDevice_address_NotFound

Change-Id: I3a9e4e5432b6751ae5c991335490748c4c520d6f

12 files changed:
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html [deleted file]
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html [deleted file]
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html [deleted file]
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html [deleted file]
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html [deleted file]
tct-bluetooth-tizen-tests/bluetooth/support/bluetooth_common.js
tct-bluetooth-tizen-tests/tests.full.xml
tct-bluetooth-tizen-tests/tests.xml
tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html [deleted file]
tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html [deleted file]
tct-notification-tizen-tests/tests.full.xml
tct-notification-tizen-tests/tests.xml

diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html
deleted file mode 100644 (file)
index 517ff53..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Witold Choinkowski <w.choinkowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_createBonding_address_NotFound</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-<script src="support/bluetooth_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: BluetoothAdapter_createBonding_address_NotFound
-//==== LABEL Check whether createBonding() method called with invalid arguments reports not found error
-//==== PRIORITY P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:createBonding M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
-//==== TEST_CRITERIA MERRCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), adapter, count = 1, createBondingSuccessCB, createBondingErrorCB,
-    i, powerOnSuccess;
-t.step(function () {
-
-    createBondingSuccessCB = t.step_func(function () {
-        assert_unreached("Method createBonding shouldn't end successful.");
-    });
-
-    createBondingErrorCB = t.step_func(function (e) {
-        assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
-        if (count === INVALID_BLUETOOTH_ADDRESS.length) {
-            t.done();
-        } else {
-            count++;
-        }
-    });
-
-    powerOnSuccess = t.step_func(function () {
-        for (i = 0; i < INVALID_BLUETOOTH_ADDRESS.length; i++) {
-            adapter.createBonding(INVALID_BLUETOOTH_ADDRESS[i], createBondingSuccessCB, createBondingErrorCB);
-        }
-    });
-
-    adapter = tizen.bluetooth.getDefaultAdapter();
-    setPowered(t, adapter, powerOnSuccess);
-});
-
-</script>
-</body>
-</html>
diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html
deleted file mode 100644 (file)
index 94d6a16..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Junghyuk Park <junghyuk.park@samsung.com>
-
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_destroyBonding_address_NotFound</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-<script src="support/bluetooth_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: BluetoothAdapter_destroyBonding_address_NotFound
-//==== LABEL Check whether destroyBonding() method called with invalid arguments reports not found error
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:destroyBonding M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
-//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
-//==== TEST_CRITERIA MERRCB
-setup({timeout: 90000});
-var adapter = null, t = async_test(document.title, {timeout: 90000}),
-    destroyBondingSuccessCB, destroyBondingErrorCB, onBondingSuccess, onBondingError, powerOnSuccess, count = 1, i;
-t.step(function () {
-
-    destroyBondingSuccessCB = t.step_func(function () {
-        assert_unreached("Shouldn't be here");
-    });
-
-    destroyBondingErrorCB = t.step_func(function (e) {
-        assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
-        if (count === INVALID_BLUETOOTH_ADDRESS.length) {
-            adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function () {
-                t.done();
-            });
-        } else {
-            count++;
-        }
-    });
-
-    onBondingSuccess = t.step_func(function () {
-        for (i = 0; i < INVALID_BLUETOOTH_ADDRESS.length; i++) {
-            adapter.destroyBonding(INVALID_BLUETOOTH_ADDRESS[i], destroyBondingSuccessCB, destroyBondingErrorCB);
-        }
-    });
-
-    onBondingError = t.step_func(function (e) {
-        assert_unreached("onBondingError exception:" + e.message);
-    });
-
-    powerOnSuccess = t.step_func(function () {
-        adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
-    });
-
-    adapter = tizen.bluetooth.getDefaultAdapter();
-    setPowered(t, adapter, powerOnSuccess);
-});
-
-</script>
-</body>
-</html>
diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html
deleted file mode 100644 (file)
index ae1020e..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Witold Choinkowski <w.choinkowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_destroyBonding_address_TypeMismatch</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-<script src="support/bluetooth_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: BluetoothAdapter_destroyBonding_address_TypeMismatch
-//==== 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
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), adapter = tizen.bluetooth.getDefaultAdapter(), param = [null,
-    undefined, 1, "aaa", [1, 2, 3], {}], count = 1, destroyBondingSuccess, destroyBondingError, i;
-t.step(function () {
-
-    destroyBondingSuccess = t.step_func(function () {
-        assert_unreached("Method destroyBonding shouldn't end successfully.");
-    });
-
-    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], destroyBondingSuccess, destroyBondingError);
-    }
-});
-
-</script>
-</body>
-</html>
diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html
deleted file mode 100644 (file)
index bc0bef2..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Witold Choinkowski <w.choinkowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_getDevice_address_NotFound</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-<script src="support/bluetooth_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-
-//==== TEST: BluetoothAdapter_getDevice_address_NotFound
-//==== LABEL Check whether getDevice() method called with invalid arguments reports not found error
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getDevice M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
-//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
-//==== TEST_CRITERIA MERRCB
-setup({timeout: 90000});
-var adapter = null, t = async_test(document.title, {timeout: 90000}),
-    onBondingSuccess, onBondingError, powerOnSuccess, gotDeviceInfo, gotDeviceError, count = 1, i;
-t.step(function () {
-    gotDeviceInfo = t.step_func(function (device) {
-        assert_unreached("Shouldn't be here");
-    });
-
-    gotDeviceError = t.step_func(function (e) {
-        assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
-        if (count === INVALID_BLUETOOTH_ADDRESS.length) {
-            adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function () {
-                t.done();
-            });
-        } else {
-            count++;
-        }
-    });
-
-    onBondingSuccess = t.step_func(function () {
-        for (i = 0; i < INVALID_BLUETOOTH_ADDRESS.length; i++) {
-            adapter.getDevice(INVALID_BLUETOOTH_ADDRESS[i], gotDeviceInfo, gotDeviceError);
-        }
-    });
-
-    onBondingError = t.step_func(function (e) {
-        assert_unreached("onBondingError exception:" + e.message);
-    });
-
-    powerOnSuccess = t.step_func(function () {
-        adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
-    });
-
-    adapter = tizen.bluetooth.getDefaultAdapter();
-    setPowered(t, adapter, powerOnSuccess);
-});
-
-</script>
-</body>
-</html>
diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html
deleted file mode 100644 (file)
index 360964e..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Witold Choinkowski <w.choinkowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_getDevice_address_TypeMismatch</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-<script src="support/bluetooth_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-
-//==== TEST: BluetoothAdapter_getDevice_address_TypeMismatch
-//==== 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
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), adapter = tizen.bluetooth.getDefaultAdapter(), param = [null,
-    undefined, 1, "aaa", [1, 2, 3], {}], count = 1, createBondingSuccess, createBondingError, i;
-t.step(function () {
-
-    createBondingSuccess = t.step_func(function () {
-        assert_unreached("Method getDevice shouldn't end successfully.");
-    });
-
-    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) {
-            t.done();
-        } else {
-            count++;
-        }
-    });
-
-    for (i = 0; i < param.length; i++) {
-        adapter.getDevice(param[i], createBondingSuccess, createBondingError);
-    }
-});
-
-</script>
-</body>
-</html>
index 6b4d851edae07d5dfe2edabdbd7d526a82a4f2b2..0448467854085c4eb0a4aeaad59c2dedc651d837 100644 (file)
@@ -42,9 +42,6 @@ var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
 var btAdapter = null;
 var REMOTE_HEALTH_DEVICE_TYPE = 4100;
 
-var INVALID_BLUETOOTH_ADDRESS = [
-    null, undefined, 0, 1, "tizen", [1, 2, 3], {}, "35:00:00:00:03"
-];
 
 function setUnpowered (t, adapter, powerOfSuccess) {
     var powerOfError = t.step_func(function (e) {
index 3a73c12daecc18aa8d816728cc5d8d2a59353d23..dfffb9dae542138ea1f7b9b819d2332a78306547 100644 (file)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether createBonding() method called with invalid arguments reports not found error" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_address_NotFound">
-        <description>
-          <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="createBonding" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check whether createBonding() method called with invalid successCallback and errorCallback set to null throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether destroyBonding() method called with invalid arguments reports not found error" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_address_NotFound">
-        <description>
-          <pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
-          <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html</test_script_entry>
-        </description>
-        <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</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check whether discoverDevices() method called with invalid successCallback throws an exception" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_invalid_callback_name">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether getDevice() method called with invalid arguments reports not found error" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_getDevice_address_NotFound">
-        <description>
-          <pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
-          <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html</test_script_entry>
-        </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</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check with optional arguments getKnownDevices(valid_successCallback, valid_errorCallback)" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_with_errorCallback">
         <description>
           <pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether destroyBonding() method called with invalid address invokes errorCallback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_address_TypeMismatch">
-        <description>
-          <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html</test_script_entry>
-        </description>
-        <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</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check whether destroyBonding() method called with invalid successCallback and errorCallback set to null throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether getDevice() method called with invalid address evokes errorCallback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_address_TypeMismatch">
-        <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</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check whether getDevice() method called with invalid successCallback and errorCallback set to null throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null.html</test_script_entry>
index 64a11eaf350207646cbdc8604817150e95b03058..7893b9d1223cd3e66dbe3e736828de4aa6dd4565 100644 (file)
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_unregisterServiceRecord.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether createBonding() method called with invalid arguments reports not found error" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_address_NotFound">
-        <description>
-          <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check whether createBonding() method called with invalid successCallback and errorCallback set to null throws an exception" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether destroyBonding() method called with invalid arguments reports not found error" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_address_NotFound">
-        <description>
-          <pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
-          <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check whether discoverDevices() method called with invalid successCallback throws an exception" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_invalid_callback_name">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether getDevice() method called with invalid arguments reports not found error" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_getDevice_address_NotFound">
-        <description>
-          <pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
-          <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check with optional arguments getKnownDevices(valid_successCallback, valid_errorCallback)" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_with_errorCallback">
         <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_createBonding_deviceaddress_correct.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether destroyBonding() method called with invalid address invokes errorCallback" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_address_TypeMismatch">
-        <description>
-          <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check whether destroyBonding() method called with invalid successCallback and errorCallback set to null throws an exception" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null.html</test_script_entry>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_function_type_check.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether getDevice() method called with invalid address evokes errorCallback" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_address_TypeMismatch">
-        <description>
-          <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check whether getDevice() method called with invalid successCallback and errorCallback set to null throws an exception" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null.html</test_script_entry>
diff --git a/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html b/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html
deleted file mode 100644 (file)
index 5fac256..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>NotificationManager_get_invalid_argument</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: NotificationManager_get_invalid_argument
-//==== LABEL Check whether calling get() method with incorrect notification id throws an exception
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
-//==== TEST_CRITERIA
-
-test(function () {
-    var notificationObj = tizen.notification, incorrectStr = "dummyValue";
-
-    assert_throws(NOT_FOUND_EXCEPTION, function () {
-        notificationObj.get();
-    });
-    assert_throws(NOT_FOUND_EXCEPTION, function () {
-        notificationObj.get(null);
-    });
-    assert_throws(NOT_FOUND_EXCEPTION, function () {
-        notificationObj.get(undefined);
-    });
-    assert_throws(NOT_FOUND_EXCEPTION, function () {
-        notificationObj.get(incorrectStr);
-    });
-}, document.title);
-
-</script>
-</body>
-</html>
diff --git a/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html b/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html
deleted file mode 100644 (file)
index b408e04..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-        Andrzej Krolikowski <a.krolikowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>NotificationManager_remove_invalid_argument</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: NotificationManager_remove_invalid_argument
-//==== LABEL Check whether calling remove() method with incorrect notification id throws an exception
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:remove M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
-//==== TEST_CRITERIA
-
-test(function () {
-    var notificationObj = tizen.notification, incorrectStr = "dummyValue";
-
-    assert_throws(NOT_FOUND_EXCEPTION, function () {
-        notificationObj.remove();
-    });
-    assert_throws(NOT_FOUND_EXCEPTION, function () {
-        notificationObj.remove(null);
-    });
-    assert_throws(NOT_FOUND_EXCEPTION, function () {
-        notificationObj.remove(undefined);
-    });
-    assert_throws(NOT_FOUND_EXCEPTION, function () {
-        notificationObj.remove(incorrectStr);
-    });
-}, document.title);
-
-</script>
-</body>
-</html>
index 17644389e00ebbe626056bc208c85d95ad1b3d27..bbab71f106266764a58b9297184829d18e3c7df1 100644 (file)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether calling get() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_invalid_argument">
-        <description>
-          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check whether calling remove() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_invalid_argument">
-        <description>
-          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
index b7c5b55738ec5e21afdebdf0361cf2731992a43f..ff3f0c4db51d10dda5c8038e86d470ea565801fe 100644 (file)
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_extra_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether calling get() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_invalid_argument">
-        <description>
-          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html</test_script_entry>
-        </description>
-      </testcase>
-      <testcase purpose="Check whether calling remove() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_invalid_argument">
-        <description>
-          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>