[Calendar] Remove a invalid test case
authorJunghyuk Park <junghyuk.park@samsung.com>
Thu, 7 Nov 2013 16:39:23 +0000 (01:39 +0900)
committerJunghyuk Park <junghyuk.park@samsung.com>
Thu, 7 Nov 2013 16:39:23 +0000 (01:39 +0900)
Change-Id: I703d2a776b2768e09f3cff5f14834219fee82878

tct-calendar-tizen-tests/calendar/Calendar_removeChangeListener_valid_argument.html [deleted file]
tct-calendar-tizen-tests/tests.full.xml [changed mode: 0644->0755]
tct-calendar-tizen-tests/tests.xml [changed mode: 0644->0755]

diff --git a/tct-calendar-tizen-tests/calendar/Calendar_removeChangeListener_valid_argument.html b/tct-calendar-tizen-tests/calendar/Calendar_removeChangeListener_valid_argument.html
deleted file mode 100644 (file)
index a86dec1..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:
-        Karol Surma <k.surma@samsung.com>
--->
-<html>
-
-<head>
-<title>Calendar_removeChangeListener_valid_argument</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: Calendar_removeChangeListener_valid_argument
-//==== LABEL Check whether subscription to receive notifications about the CalendarTask object changes is unset correctly
-//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA MMINA
-
-test(function () {
-    var listenerArrayEvent = [], listenerArrayTask = [], eventWatcher, taskWatcher,
-        eventCalendar = tizen.calendar.getDefaultCalendar("EVENT"),
-        taskCalendar  = tizen.calendar.getDefaultCalendar("TASK");
-
-    eventWatcher = {
-        onitemsadded: function (events) {
-        },
-        onitemsupdated: function (events) {
-        },
-        onitemsremoved: function (ids) {
-        }
-    };
-
-    taskWatcher = {
-        onitemsadded: function (tasks) {
-        },
-        onitemsupdated: function (tasks) {
-        },
-        onitemsremoved: function (ids) {
-        }
-    };
-
-    if (!listenerArrayTask.length) {
-        listenerArrayTask.push(taskCalendar.addChangeListener(taskWatcher));
-    }
-
-    taskCalendar.removeChangeListener(listenerArrayTask[0]);
-    listenerArrayEvent.shift();
-
-    if (!listenerArrayEvent.length) {
-        listenerArrayEvent.push(eventCalendar.addChangeListener(eventWatcher));
-    }
-    taskCalendar.removeChangeListener(listenerArrayTask[0], 1);
-
-    taskCalendar.removeChangeListener(null);
-    taskCalendar.removeChangeListener(undefined);
-    taskCalendar.removeChangeListener("GG");
-}, document.title);
-
-</script>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 3c30bcf..86a4e83
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether subscription to receive notifications about the CalendarTask object changes is unset correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_removeChangeListener_valid_argument">
-        <description>
-          <test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeChangeListener_valid_argument.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="Calendar" element_type="method" element_name="removeChangeListener" specification="Calendar" section="Social" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check whether 'remove' method (task calendar) called with invalid arguments throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_remove_id_invalid_argument">
         <description>
           <test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_remove_id_invalid_argument.html</test_script_entry>
old mode 100644 (file)
new mode 100755 (executable)
index 65edeb9..1e971ef
           <test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_get_valid_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether subscription to receive notifications about the CalendarTask object changes is unset correctly" component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_removeChangeListener_valid_argument">
-        <description>
-          <test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeChangeListener_valid_argument.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check whether 'remove' method (task calendar) called with invalid arguments throws an exception" component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_remove_id_invalid_argument">
         <description>
           <test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_remove_id_invalid_argument.html</test_script_entry>