Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAlarm_absoluteDate_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute absoluteDate of CalendarAlarm exists, has type TZDate
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:absoluteDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var calendarAlarm, alarmDate, newValue;
calendarAlarm.absoluteDate = newValue;
assert_true(calendarAlarm.absoluteDate.equalsTo(newValue),
"CalendarAlarm.absoluteDate should accept a valid value");
-
}, document.title);
</script>
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarAlarm_attribute_valid_value_CalendarEvent</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAlarm_attribute_valid_value_CalendarEvent
//==== LABEL Check various attributes of CalendarAlarm used in Calendar Event
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:method A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
+
test(function () {
var originalEvent, retrievedEvent, originalAlarms, retrievedAlarms, eventCalendar;
+
// Start time should be greater than current time for the alarm to be effective.
originalAlarms = [new tizen.CalendarAlarm(new tizen.TimeDuration(30, "MINS"), "DISPLAY", "Alarm description"),
new tizen.CalendarAlarm(new tizen.TZDate(2014, 2, 25, 10, 0), "SOUND")];
assert_equals(originalAlarms[1].method, retrievedAlarms[1].method, "See if the method equals.");
assert_equals(originalAlarms[0].description, retrievedAlarms[0].description, "See if the description equals.");
assert_equals(originalAlarms[1].description, retrievedAlarms[1].description, "See if the description equals.");
-
}, document.title);
</script>
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarAlarm_attribute_valid_value_CalendarTask</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarAlarm_attribute_valid_value_CalendarTask
//==== LABEL Check various attributes of CalendarAlarm used in CalnedarTask
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:before A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
+
test(function () {
var originalTask, retrievedTask, originalAlarms, retrievedAlarms,
taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
+
// Start time should be greater than current time for the alarm to be effective.
originalAlarms = [new tizen.CalendarAlarm(new tizen.TimeDuration(30, "MINS"), "DISPLAY", "Alarm description"),
new tizen.CalendarAlarm(new tizen.TZDate(2014, 2, 25, 10, 0), "SOUND")];
assert_equals(originalAlarms[1].method, retrievedAlarms[1].method, "See if the method equals.");
assert_equals(originalAlarms[0].description, retrievedAlarms[0].description, "See if the description equals.");
assert_equals(originalAlarms[1].description, retrievedAlarms[1].description, "See if the description equals.");
-
}, document.title);
</script>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAlarm_before_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute before of CalendarAlarm exists, has type TimeDuration
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:before A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var calendarAlarm, before, newValue;
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarAlarm_constructor_TZDate</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAlarm_constructor_TZDate
//==== LABEL Check various arguments for CalendarAlarm constructor TZDate
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
+
test(function () {
var alarm = new tizen.CalendarAlarm(new tizen.TZDate(2012, 2, 15), "SOUND");
assert_type(alarm, "object", "Alarm date constructor optional test.");
alarm = new tizen.CalendarAlarm(new tizen.TZDate(2012, 2, 15), "SOUND", null, 1);
-
}, document.title);
</script>
Zhongyuan Yuan <zy123.yuan@samsung.com>
-->
+
<html>
<head>
<title>CalendarAlarm_constructor_TZDate_description</title>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAlarm_constructor_TZDate_description
//==== LABEL Test wehther the constructor with description parameter are supported
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== PRIORITY: P1
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarAlarm_constructor_TimeDuration</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAlarm_constructor_TimeDuration
//==== LABEL Check various arguments for CalendarAlarm constructor TimeDuration
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
+
test(function () {
var alarm = new tizen.CalendarAlarm(new tizen.TimeDuration(30, "MINS"), "DISPLAY", "Alarm description");
assert_type(alarm, "object", "Alarm constructor additional test.");
alarm = new tizen.CalendarAlarm(new tizen.TimeDuration(30, "MINS"), "DISPLAY", null, 1);
-
}, document.title);
</script>
Zhongyuan Yuan <zy123.yuan@samsung.com>
-->
+
<html>
<head>
<title>CalendarAlarm_constructor_TimeDuration_description</title>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAlarm_constructor_TimeDuration_description
//==== LABEL Test wehther the constructor with description parameter are supported
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== PRIORITY: P1
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAlarm_description_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute description of CalendarAlarm exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:description A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var calendarAlarm = new tizen.CalendarAlarm(new tizen.TZDate(2014, 2, 25, 10, 0), "SOUND", "Alarm");
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAlarm_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if CalendarAlarm exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRF
+
test(function () {
check_constructor("CalendarAlarm");
}, document.title);
Tomasz Kusmierz <t.kusmierz@samsung.com>
-->
+
<html>
<head>
<title>CalendarAlarm_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarAlarm_extend
//==== LABEL Check if CalendarAlarm object is extendable
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:CalendarAlarm U
-//==== PRIORITY P3
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA OBX
test(function () {
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAlarm_method_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute method of CalendarAlarm exists, has type AlarmMethod
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:method A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN
+
test(function () {
var calendarAlarm = new tizen.CalendarAlarm(new tizen.TZDate(2014, 2, 25, 10, 0), "SOUND");
+
check_attribute(calendarAlarm, "method", "SOUND", "string", "DISPLAY");
calendarAlarm.method = null;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarArraySuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarArraySuccessCallback_notexist
//==== LABEL Check if interface CalendarArraySuccessCallback exists, it should not.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarArraySuccessCallback:CalendarArraySuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA CBNIO
+
test(function () {
check_no_interface_object("CalendarArraySuccessCallback");
}, document.title);
<html>
<head>
<title>CalendarArraySuccessCallback_onsuccess</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarArraySuccessCallback_onsuccess
//==== LABEL Check CalendarArraySuccessCallback onsuccess method
//==== SPEC Tizen Web API:Social:Calendar:CalendarArraySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CBOA CBT
var calendarListCB,
Mengli Zhang <mengli.zhang@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendeeInit_attribute_check_type</title>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAttendeeInit_attribute_check_type
//==== LABEL Check CalendarAttendeeInit attribute type
-//==== PRIORITY P1
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendeeInit A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
test(function () {
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_RSVP_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute RSVP of CalendarAttendee exists, has type Boolean
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:RSVP A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV AN
-test(function () {
+test(function () {
var uri, calendarAttendee;
uri = "mailto:attendee2@domain.com";
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarAttendee_attribute_valid_CalendarTask</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAttendee_attribute_valid_CalendarTask
//==== LABEL Check various attributes of CalendarAttendee used in CalendarTask
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:name A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
+
test(function () {
var originalTask, retrievedTask, originalAttendee, retrievedAttendee,
taskCalendar = tizen.calendar.getDefaultCalendar("TASK"), contactRef;
"See if the contactRef.addressBookId equals.");
assert_equals(retrievedAttendee.contactRef.contactId, originalAttendee.contactRef.contactId,
"See if the contactRef.contactId equals.");
-
}, document.title);
</script>
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarAttendee_attribute_valid_value_CalendarEvent</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAttendee_attribute_valid_value_CalendarEvent
//==== LABEL Check various attributes of CalendarAttendee used in CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:type A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
+
test(function () {
var originalEvent, retrievedEvent, originalAttendee, retrievedAttendee,
eventCalendar = tizen.calendar.getDefaultCalendar("EVENT"), contactRef;
"See if the contactRef.addressBookId equals.");
assert_equals(retrievedAttendee.contactRef.contactId, originalAttendee.contactRef.contactId,
"See if the contactRef.contactId equals.");
-
}, document.title);
</script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAttendee_constructor
//==== LABEL Check CalendarAttendee constructor: CalendarAttendeeInit
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
+
test(function () {
var attendeeInit, attendee;
+
attendeeInit = {name:"attendee1",
role: "CHAIR",
group: "",
Mengli Zhang <mengli.zhang@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_constructor_minarg</title>
//==== LABEL Check miss optional argument for CalendarAttendee constructor
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRA CONSTRM
test(function () {
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarAttendee_constructor_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>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarAttendee_constructor_valid_argument
//==== LABEL Check if instance of CalendarAttendee is created correctly by constructor
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM
+
test(function () {
var attendee = null;
assert_type(attendee, "object", "Attendee constructor undefined test.");
attendee = new tizen.CalendarAttendee("mailto:bob@domain.com", null, 1);
-
}, document.title);
</script>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_contactRef_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute contactRef of CalendarAttendee exists, has type ContactRef
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:contactRef A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var attendeeInit, uri, calendarAttendee, contactRef;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_delegateURI_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute delegateURI of CalendarAttendee exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:delegateURI A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var attendeeInit, uri, calendarAttendee, contactRef;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_delegatorURI_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute delegatorURI of CalendarAttendee exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:delegatorURI A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var attendeeInit, uri, calendarAttendee, contactRef;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if CalendarAttendee exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRF
+
test(function () {
check_constructor("CalendarAttendee");
}, document.title);
Tomasz Kusmierz <t.kusmierz@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_group_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute group of CalendarAttendee exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:group A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var attendeeInit, uri, calendarAttendee, contactRef;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_name_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute name of CalendarAttendee exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:name A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
-test(function () {
+test(function () {
var attendeeInit, uri, calendarAttendee, contactRef;
contactRef = new tizen.ContactRef("1", "2");
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_role_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute role of CalendarAttendee exists, has type AttendeeRole
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:role A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV AN
+
test(function () {
var uri, calendarAttendee;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_status_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute status of CalendarAttendee exists, has type AttendeeStatus
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:status A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
-test(function () {
+test(function () {
var uri, calendarAttendee;
calendarAttendee = new tizen.CalendarAttendee(uri);
<head>
<title>CalendarAttendee_type_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute type of CalendarAttendee exists, has type AttendeeType
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:type A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV AN
+
test(function () {
var uri, calendarAttendee;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarAttendee_uri_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute uri of CalendarAttendee exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:uri A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN
+
test(function () {
var attendeeInit, uri, calendarAttendee, contactRef;
check_attribute(calendarAttendee, "uri", uri, "string",
"mailto:attendee2013@domain.com");
check_not_nullable(calendarAttendee, "uri");
-
}, document.title);
</script>
<head>
<title>CalendarChangeCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarChangeCallback_notexist
//==== LABEL Check if interface CalendarChangeCallback exists, it should not.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarChangeCallback:CalendarChangeCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA CBNIO
+
test(function () {
check_no_interface_object("CalendarChangeCallback");
}, document.title);
Authors:
Roman Frolow <r.frolow@samsung.com>
-->
+
<html>
<head>
<title>CalendarChangeCallback_onitemsadded</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method onitemsadded of CalendarChangeCallback has proper argument type
//==== SPEC Tizen Web API:Social:Calendar:CalendarChangeCallback:onitemsadded M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CBOA CBT
+
var t = async_test(document.title, {timeout: 10000}),
watcher, eventInit, calendar, ev, watcherId;
+
setup({timeout: 10000});
t.step(function () {
Authors:
Roman Frolow <r.frolow@samsung.com>
-->
+
<html>
<head>
<title>CalendarChangeCallback_onitemsremoved</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method onitemsremoved of CalendarChangeCallback has proper argument type
//==== SPEC Tizen Web API:Social:Calendar:CalendarChangeCallback:onitemsremoved M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CBOA CBT
+
var t = async_test(document.title, {timeout: 90000}),
watcher, eventInit, calendar, ev;
+
setup({timeout: 90000});
t.step(function () {
Authors:
Roman Frolow <r.frolow@samsung.com>
-->
+
<html>
<head>
<title>CalendarChangeCallback_onitemsupdated</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method onitemsupdated of CalendarChangeCallback has proper argument type
//==== SPEC Tizen Web API:Social:Calendar:CalendarChangeCallback:onitemsupdated M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CBOA CBT
+
var t = async_test(document.title, {timeout: 90000}),
watcher, eventInit, calendar, ev, evGet;
+
setup({timeout: 90000});
t.step(function () {
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEventArraySuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarEventArraySuccessCallback_notexist
//==== LABEL Check if interface CalendarEventArraySuccessCallback exists, it should not.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarEventArraySuccessCallback:CalendarEventArraySuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA CBNIO
+
test(function () {
check_no_interface_object("CalendarEventArraySuccessCallback");
}, document.title);
Beata Koziarek <b.koziarek@samsung.com>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEventArraySuccessCallback_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Test if CalendarEvent is properly obtained
//==== SPEC Tizen Web API:Social:Calendar:CalendarEventArraySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CBOA CBT
+
var t = async_test(document.title, {timeout: 90000}),
onsuccess, calendar, ev, start, end, rule;
+
t.step(function () {
onsuccess = t.step_func(function (events) {
assert_type(events, "array", "events should be an array.");
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEventId_constructor</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarEventId_constructor
//==== LABEL Check if instance of CalendarEventId is created correctly by constructor
//==== SPEC Tizen Web API:Social:Calendar:CalendarEventId:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
+
test(function () {
var tmp, eventId = new tizen.CalendarEventId("777", "888");
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEventId_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if CalendarEventId exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarEventId:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRF
+
test(function () {
check_constructor("CalendarEventId");
}, document.title);
Tomasz Kusmierz <t.kusmierz@samsung.com>
-->
+
<html>
<head>
<title>CalendarEventId_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarEventId_extend
//==== LABEL Check if CalendarEventId object is extendable
//==== SPEC Tizen Web API:Social:Calendar:CalendarEventId:CalendarEventId U
-//==== PRIORITY P3
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA OBX
test(function () {
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEventId_rid_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute rid of CalendarEventId exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarEventId:rid A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV
-test(function () {
+test(function () {
var calendarEventId;
calendarEventId = new tizen.CalendarEventId("777");
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEventId_uid_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute uid of CalendarEventId exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarEventId:uid A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN
-test(function () {
+test(function () {
var calendarEventId;
calendarEventId = new tizen.CalendarEventId("777", "888");
check_attribute(calendarEventId, "uid", "777", "string", "1");
check_not_nullable(calendarEventId, "uid");
-
}, document.title);
</script>
Lei Tang <lei312.tang@samsung.com>
-->
+
<html>
<head>
<title>CalendarEventInit_attributeType</title>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarEventInit_attributeType
//==== LABEL Check calendarEventInit interface attributeType
-//==== PRIORITY P1
//==== SPEC Tizen Web API:Social:Calendar:calendarEventInit A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
-var ev, recurrenceRule, eventInit;
-
test(function () {
+ var ev, recurrenceRule, eventInit;
+
recurrenceRule = new tizen.CalendarRecurrenceRule("DAILY", {occurrenceCount: 5});
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar",
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEvent_availability_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute availability of CalendarEvent exists, has type EventAvailability
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:availability A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
-test(function () {
+test(function () {
var calendarEvent = new tizen.CalendarEvent();
check_attribute(calendarEvent, "availability", "BUSY", "string", "FREE");
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarEvent_constructor_CalendarEventInit
//==== LABEL Check CalendarEvent constructor: CalendarEventInit
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
-test(function (){
+test(function (){
var eventInit, calendar, ev;
eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarEvent_constructor_stringRepresentation
//==== LABEL Check CalendarEvent constructor: CalendarEvent with stringRepresentation
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
-var calendar, ev;
+
test(function (){
+ var calendar, ev;
+
calendar = tizen.calendar.getDefaultCalendar("EVENT");
ev = new tizen.CalendarEvent("BEGIN:VCALENDAR\r\n" +
"BEGIN:VEVENT\r\n" +
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarEvent_constructor_vCalendar
//==== LABEL Check if instance of CalendarEvent is created correctly by constructor (use vCalendar v1.0 string)
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM
test(function () {
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_constructor_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>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarEvent_constructor_valid_argument
//==== LABEL Check if instance of CalendarEvent is created correctly by the constructor (use init dictionary)
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM
+
test(function () {
var defaultEvent, event;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEvent_endDate_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute endDate of CalendarEvent exists, has type TZDate
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:endDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV
+
test(function () {
var eventInit, calendarEvent, endDate;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEvent_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if CalendarEvent exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRF
+
test(function () {
check_constructor("CalendarEvent");
}, document.title);
Karol Surma <k.surma@samsung.com>
Tomasz Kusmierz <t.kusmierz@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: CalendarEvent_expandRecurrence
//==== LABEL Check if a recurring event is expanded correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
var t = async_test(document.title, {"timeout": 5000}),
ev, returnedValue = null, expandSuccessCB,
eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
t.step(function () {
-
ev = new tizen.CalendarEvent({description: "Study",
summary: "review",
startDate: new tizen.TZDate(2012, 0, 4, 14, 0),
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_endDate_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarEvent_expandRecurrence_endDate_TypeMismatch
//==== LABEL Check argument endDate conversions exceptions
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), startDate, ev, i, param, exceptionName, conversionTable,
expandSuccessCB;
+
t.step(function () {
startDate = new tizen.TZDate(2012, 0, 31);
ev = new tizen.CalendarEvent({
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_endDate_invalid_obj</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarEvent_expandRecurrence_endDate_invalid_obj
//==== LABEL Check argument endDate validation - use simple object
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTO
+
var t = async_test(document.title), startDate, endDate, ev, expandSuccessCB;
+
t.step(function () {
startDate = new tizen.TZDate(2012, 0, 31);
ev = new tizen.CalendarEvent({
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_errorCallback_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarEvent_expandRecurrence_errorCallback_TypeMismatch
//==== LABEL Check argument errorCallback conversions exceptions
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), startDate, endDate, ev, i, param, exceptionName, conversionTable, expandRecurrenceSuccess;
+
t.step(function () {
startDate = new tizen.TZDate(2012, 0, 31);
endDate = new tizen.TZDate(2012, 2, 31);
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_errorCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarEvent_expandRecurrence_errorCallback_invalid_cb
//==== LABEL Check argument errorCallback invalid callback
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title), startDate, endDate, ev,
expandSuccessCB;
+
t.step(function () {
startDate = new tizen.TZDate(2012, 0, 31);
endDate = new tizen.TZDate(2012, 4, 31);
Mengli Zhang <mengli.zhang@samsung.com>
-->
+
<html>
<head>
<title>CalendarEvent_expandRecurrence_errorCallback_invoked</title>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarEvent_expandRecurrence_errorCallback_invoked
//==== LABEL Check if expandRecurrence() error callback will be invoked when used with wrong ids argument
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MERRCB
var t = async_test(document.title), ev, expandSuccessCB, expandErrorCB;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEvent_expandRecurrence_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method expandRecurrence of CalendarEvent exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var event = new tizen.CalendarEvent();
+
assert_true("expandRecurrence" in event, "No expandRecurrence method in calendar");
check_method_exists(event, "expandRecurrence");
}, document.title);
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarEvent_expandRecurrence_missarg
//==== LABEL Check whether 'expandRecurrence' method called with an invalid argument throws an exception correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC MMA
+
var t = async_test(document.title), startDate, endDate, ev, expandSuccessCB;
+
t.step(function () {
startDate = new tizen.TZDate(2012, 0, 1);
endDate = new tizen.TZDate(2012, 0, 31);
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarEvent_expandRecurrence_noarg
//==== LABEL Check if CalendarEvent::expandRecurrence() throws exception when arguments are missing
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA
test(function () {
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_startDate_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarEvent_expandRecurrence_startDate_TypeMismatch
//==== LABEL Check argument startDate conversions exceptions
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), endDate, ev, i, param, exceptionName, conversionTable,
expandSuccessCB;
+
t.step(function () {
endDate = new tizen.TZDate(2012, 0, 31);
ev = new tizen.CalendarEvent({
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_startDate_invalid_obj</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarEvent_expandRecurrence_startDate_invalid_obj
//==== LABEL Check argument startDate validation - use simple object
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTO
+
var t = async_test(document.title), startDate, endDate, ev, expandSuccessCB;
+
t.step(function () {
endDate = new tizen.TZDate(2012, 0, 31);
ev = new tizen.CalendarEvent({
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_successCallback_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarEvent_expandRecurrence_successCallback_TypeMismatch
//==== LABEL Check argument successCallback conversions exceptions
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
test(function () {
var startDate, endDate, ev, i, param, exceptionName, conversionTable;
+
endDate = new tizen.TZDate(2012, 0, 31);
startDate = new tizen.TZDate(2012, 0, 0);
ev = new tizen.CalendarEvent({
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_successCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarEvent_expandRecurrence_successCallback_invalid_cb
//==== LABEL Check argument successCallback invalid callback
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
test(function () {
var startDate, endDate, ev;
+
endDate = new tizen.TZDate(2012, 0, 31);
startDate = new tizen.TZDate(2012, 0, 0);
ev = new tizen.CalendarEvent({
Authors:
Tomasz Kusmierz <t.kusmierz@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarEvent_expandRecurrence_with_errorCallback</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: CalendarEvent_expandRecurrence_with_errorCallback
//==== LABEL Check if a recurring event is expanded correctly when using expandRecurrence with errorCallback
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:expandRecurrence M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MR
+
var t = async_test(document.title, {"timeout": 5000}),
ev, returnedValue = null, expandSuccessCB, expandErrorCB,
eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
Tomasz Kusmierz <t.kusmierz@samsung.com>
-->
+
<html>
<head>
<title>CalendarEvent_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarEvent_extend
//==== LABEL Check if CalendarEvent object is extendable
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:CalendarEvent U
-//==== PRIORITY P3
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA OBX
test(function () {
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEvent_isDetached_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute isDetached of CalendarEvent exists, has type Boolean and is readonly
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:isDetached A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
-test(function () {
+test(function () {
var eventInit, calendarEvent;
eventInit = {description: "Study",
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarEvent_recurrenceRule_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute recurrenceRule of CalendarEvent exists, has type CalendarRecurrenceRule
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:recurrenceRule A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
-test(function () {
+test(function () {
var eventInit, calendarEvent, recurrenceRule;
recurrenceRule = new tizen.CalendarRecurrenceRule("DAILY", {occurrenceCount: 5});
"calendarEvent.recurrenceRule.frequency should have updated value.");
assert_equals(calendarEvent.recurrenceRule.occurrenceCount, 7,
"calendarEvent.recurrenceRule.occurrenceCount should have updated value.");
-
}, document.title);
</script>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarItemArraySuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarItemArraySuccessCallback_notexist
//==== LABEL Check if interface CalendarItemArraySuccessCallback exists, it should not.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItemArraySuccessCallback:CalendarItemArraySuccessCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA CBNIO
+
test(function () {
check_no_interface_object("CalendarItemArraySuccessCallback");
}, document.title);
<head>
<title>CalendarItemArraySuccessCallback_onsuccess</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL When the onsuccess callback is called, test whether the type of argument is equal to CalendarItem.
//==== SPEC Tizen Web API:Social:Calendar:CalendarItemArraySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CBOA CBT
+
var t = async_test(document.title),
onsuccess, eventInit, calendar, ev;
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarItemInit_attributeType
//==== LABEL Check if CalendarItemInit attribute type
-//==== PRIORITY P1
//==== SPEC Tizen Web API:Social:Calendar:CalendarItemInit A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
test(function () {
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarItem_alarms_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute alarms of CalendarItem exists, has type Array
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:alarms A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN
+
test(function () {
var calendarItem, eventInit, attendee, alarm, duration;
calendarItem.alarms = null;
assert_not_equals(calendarItem.alarms, null,
"calendarItem.alarms should not accept null as value.");
-
}, document.title);
</script>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarItem_attendees_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute attendees of CalendarItem exists, has type Array
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:attendees A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
calendarItem.attendees = null;
assert_not_equals(calendarItem.attendees, null,
"calendarItem.attendees should not accept null as value.");
-
}, document.title);
</script>
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarItem_attribute_valid_value_CalendarEvent</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarItem_attribute_valid_value_CalendarEvent
//==== LABEL Check various attributes of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:isAllDay A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
+
test(function () {
var retrievedEvent, originalEvent,
eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarItem_attribute_valid_value_CalendarTask</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarItem_attribute_valid_value_CalendarTask
//==== LABEL Check various attributes of CalendarTask
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:summary A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
+
test(function () {
var retrievedTask, originalTask,
taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
+
originalTask = new tizen.CalendarTask({
description: "Tizen description",
summary: "Tizen summary",
<head>
<title>CalendarItem_calendarId_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute calendarId of CalendarItem exists, has type CalendarId and is readonly
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:calendarId A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO ADV
+
test(function () {
var calendarItem, eventInit, attendee, alarm, calendar;
calendar.add(calendarItem);
assert_type(calendarItem.calendarId, "string",
"calendarItem.calendarId should be type of string.");
-
}, document.title);
</script>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarItem_categories_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute categories of CalendarItem exists, has type Array
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:categories A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
calendarItem.categories = null;
assert_not_equals(calendarItem.categories, null,
"calendarItem.categories should not accept null as value.");
-
}, document.title);
</script>
<html>
<head>
<title>CalendarItem_clone</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: CalendarItem_clone
//==== LABEL Check if clone method works correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:clone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MNA MR
+
test(function () {
var eventInit, calendar, ev, evClone;
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarItem_clone_CalendarTask</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarItem_clone_CalendarTask
//==== LABEL Check if a clone of the CalendarTask is created correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:clone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MNA MR
+
test(function () {
var task, clonnedTask;
+
task = createTestTask();
clonnedTask = task.clone();
assert_type(clonnedTask, "object", "Clonned task.");
assert_equals(task.location, clonnedTask.location, "See if the location equals.");
task.clone(1);
-
}, document.title);
</script>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarItem_clone_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method clone of CalendarItem exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:clone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarItem_clone_extra_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>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarItem_clone_extra_argument
//==== LABEL Check if a clone of the CalendarEvent is created correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:clone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MNAEX
+
test(function () {
var event, clonnedEvent;
+
event = createTestEvent();
clonnedEvent = event.clone();
event.clone(["one", "two"]);
event.clone({argument: 1});
event.clone(function () {});
-
}, document.title);
</script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarItem_convertToString
//==== LABEL Check if CalendarItem.convertToString method works properly
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:convertToString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA
+
test(function () {
var eventInit, ev, eventStr;
+
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarItem_convertToString_CalendarTask</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarItem_convertToString_CalendarTask
//==== LABEL Check if the CalendarTask is converted to a string format correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:convertToString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
test(function () {
var task, vString;
+
task = createTestTask();
vString = task.convertToString("ICALENDAR_20");
assert_type(vString, "string", "Converted an event");
vString = task.convertToString("ICALENDAR_20");
-
}, document.title);
</script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarItem_convertToString_VCALENDAR_10
//==== LABEL Check if CalendarItem.convertToString method works with VCALENDAR_10 format properly
-//==== PRIORITY P1
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:convertToString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MR
test(function () {
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarItem_convertToString_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method convertToString of CalendarItem exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:convertToString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>CalendarItem_convertToString_format_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarItem_convertToString_format_TypeMismatch
//==== LABEL Check argument format conversions exception.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:convertToString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), calendar,
filter, onSuccess, onError, conversionTable, i, exceptionName = "TypeMismatchError",
start, end, rule, format, ev;
+
t.step(function (){
onSuccess = t.step_func(function (events) {
conversionTable = getTypeConversionExceptions("enum", false);
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarItem_convertToString_missarg_CalendarEvent</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarItem_convertToString_missarg_CalendarEvent
//==== LABEL Check whether 'convertToString' method called with an invalid argument throws an exception correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:convertToString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
test(function () {
var event = createTestEvent();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
event.convertToString();
});
-
}, document.title);
</script>
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarItem_convertToString_missarg_CalendarTask</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarItem_convertToString_missarg_CalendarTask
//==== LABEL Check whether 'convertToString' method called with an invalid argument throws an exception correctly (part 2)
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:convertToString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
test(function () {
var task = createTestTask();
<head>
<title>CalendarItem_description_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute description of CalendarItem exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:description A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarItem_duration_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute duration of CalendarItem exists, has type TimeDuration
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:duration A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV
+
test(function () {
var calendarItem, eventInit, attendee, alarm, duration;
"duration should be updated.");
assert_equals(calendarItem.duration.unit, duration.unit,
"duration should be updated.");
-
}, document.title);
</script>
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>CalendarItem_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarItem_extend
//==== LABEL Test whether the File object can have new attribute added
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
-//==== PRIORITY P3
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA OBX
+
var t = async_test(document.title), calendar, ev,
filter, onSuccess, onError, start, end, rule;
+
t.step(function (){
onSuccess = t.step_func(function (events) {
check_extensibility(events);
<head>
<title>CalendarItem_geolocation_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute geolocation of CalendarItem exists, has type SimpleCoordinates
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:geolocation A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
"calendarItem.geolocation.latitude should be updated.");
assert_equals(calendarItem.geolocation.longitude, 6.666,
"calendarItem.geolocation.longitude should be updated.");
-
}, document.title);
</script>
<head>
<title>CalendarItem_id_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute id of CalendarItem exists, has type CalendarItemId and is readonly
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:id A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
+
test(function () {
var calendar, calendarItem;
<head>
<title>CalendarItem_isAllDay_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute isAllDay of CalendarItem exists, has type Boolean
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:isAllDay A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
calendarItem.isAllDay = null;
assert_not_equals(calendarItem.isAllDay, null,
"calendarItem.isAllDay should not accept null as value");
-
}, document.title);
</script>
<head>
<title>CalendarItem_lastModificationDate_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute lastModificationDate of CalendarItem exists, has type TZDate and is readonly
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:lastModificationDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
+
test(function () {
var calendar, calendarItem, eventInit, attendee, alarm,
lastModificationDate, beforeValue, getCalendarItem;
getCalendarItem.lastModificationDate = lastModificationDate;
assert_true(getCalendarItem.lastModificationDate.equalsTo(beforeValue),
"lastModificationDate should not be updatable.");
-
}, document.title);
</script>
<head>
<title>CalendarItem_location_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute location of CalendarItem exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:location A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
<head>
<title>CalendarItem_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarItem_notexist
//==== LABEL Check if interface CalendarItem exists, it should not.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA NIO
+
test(function () {
check_no_interface_object("CalendarItem");
}, document.title);
<head>
<title>CalendarItem_organizer_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute organizer of CalendarItem exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:organizer A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
<head>
<title>CalendarItem_priority_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute priority of CalendarItem exists, has type CalendarItemPriority
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:priority A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
<head>
<title>CalendarItem_startDate_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute startDate of CalendarItem exists, has type TZDate
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:startDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV
+
test(function () {
var calendarItem, eventInit, attendee, alarm, startDate;
"calendarItem.startDate should be type of TZDate.");
assert_true(calendarItem.startDate.equalsTo(startDate),
"startDate should be updated.");
-
}, document.title);
</script>
<head>
<title>CalendarItem_status_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute status of CalendarItem exists, has type CalendarItemStatus
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:status A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV AN
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
<head>
<title>CalendarItem_summary_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute summary of CalendarItem exists, has type DOMString
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:summary A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
<head>
<title>CalendarItem_visibility_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute visibility of CalendarItem exists, has type CalendarItemVisibility
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:visibility A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV AN
+
test(function () {
var calendarItem, eventInit, attendee, alarm;
<head>
<title>CalendarManagerObject_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManagerObject_notexist
//==== LABEL Check if interface CalendarManagerObject exists, it should not.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarManagerObject:CalendarManagerObject U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA NIO
+
test(function () {
check_no_interface_object("CalendarManagerObject");
}, document.title);
test(function () {
var calendar, appId, account, returnedValue, getCalendar;
+
appId = tizen.application.getCurrentApplication().appInfo.id;
tizen.account.getAccounts(function (accounts) {
account = accounts[0];
<script>
//==== TEST: CalendarManager_addCalendar_calendar_TypeMismatch
//==== LABEL Check if CalendarManager::addCalendar() method throws exception when parameter is incorrect
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:addCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
var t = async_test(document.title), conversionTable, i, calendar;
test(function () {
var calendar;
+
calendar = {
accountId: "777",
name: "remote calendar",
test(function () {
var calendarManagerObject = tizen.calendar;
+
assert_true("addCalendar" in calendarManagerObject, "No addCalendar method in calendarManagerObject");
check_method_exists(calendarManagerObject, "addCalendar");
}, document.title);
<head>
<title>CalendarManager_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_extend
//==== LABEL Check if CalendarManager object is extendable
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:CalendarManager U
-//==== PRIORITY P3
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA OBX
test(function () {
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>CalendarManager_getCalendar</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarManager_getCalendar
//==== LABEL Check whether the task calendar object with the given identifier is provided correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
test(function () {
var newCalendar, taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarManager_getCalendar_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method getCalendar of CalendarManager exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendarManagerObject = tizen.calendar;
+
assert_true("getCalendar" in calendarManagerObject, "No getCalendar method in calendarManagerObject");
check_method_exists(calendarManagerObject, "getCalendar");
}, document.title);
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarManager_getCalendar_id_invalid_argument
//==== LABEL Check whether 'getCalendar' method called with invalid argument(id) throws an exception
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
test(function () {
<head>
<title>CalendarManager_getCalendar_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarManager_getCalendar_missarg
//==== LABEL Check whether 'getCalendar' method called with an invalid argument throws an exception
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
test(function () {
var eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.calendar.getCalendar();
});
-
}, document.title);
</script>
Authors:
Beata Koziarek <b.koziarek@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarManager_getCalendar_type_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_getCalendar_type_TypeMismatch
//==== LABEL Test type argument whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title),
conversionTable, exceptionName, i, type;
+
t.step(function () {
conversionTable = getTypeConversionExceptions("enum", false);
for (i = 0; i < conversionTable.length; i++) {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarManager_getCalendar_type_invalid_argument
//==== LABEL Check whether 'getCalendar' method called with an invalid argument(type) throws an exception
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
test(function () {
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>CalendarManager_getCalendars</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarManager_getCalendars
//==== LABEL Check whether getCalendars method works correctly with only non-optional arguments
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
var t = async_test(document.title), onGetCalendarsSuccessCB, returnedValue = null;
+
t.step(function () {
onGetCalendarsSuccessCB = t.step_func(function (response) {
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
-
<head>
<title>CalendarManager_getCalendars_errorCallback_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_getCalendars_errorCallback_TypeMismatch
//==== LABEL Test errorCallback argument whether type conversion occurs according to Type Conversion Tables in getCalendars method.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title),
conversionTable, calendar, exceptionName, successCallback, errorCallback, i;
+
t.step(function () {
successCallback = t.step_func(function (calendars) {
assert_unreached("TypeMismatchError should be thrown");
Authors:
Beata Koziarek <b.koziarek@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarManager_getCalendars_errorCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_getCalendars_errorCallback_invalid_cb
//==== LABEL Check if CalendarManager.getCalendars method throws exception when errorCallback is invalid
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title),
calendar, successCallback, errorCallback;
+
t.step(function () {
successCallback = t.step_func(function (calendars) {
assert_unreached("Success callback invoked");
<head>
<title>CalendarManager_getCalendars_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method getCalendars of CalendarManager exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendarManagerObject = tizen.calendar;
+
assert_true("getCalendars" in calendarManagerObject, "No getCalendars method in calendarManagerObject");
check_method_exists(calendarManagerObject, "getCalendars");
}, document.title);
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>CalendarManager_getCalendars_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarManager_getCalendars_missarg
//==== LABEL Check whether getCalendars() method called with invalid arguments throws an exception
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
var t = async_test(document.title), onGetCalendarsErrorCB, onGetCalendarsSuccessCB;
+
t.step(function () {
onGetCalendarsSuccessCB = t.step_func(function (response) {
});
t.done();
-
});
</script>
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarManager_getCalendars_missarg_TASK</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarManager_getCalendars_missarg_TASK
//==== LABEL Check whether getCalendars() method called with invalid arguments throws an exception (part 2)
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), onGetCalendarsSuccessCB, onGetCalendarsErrorCB;
+
t.step(function () {
onGetCalendarsSuccessCB = t.step_func(function (response) {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarManager_getCalendars_noarg
//==== LABEL Check whether 'getCalendars' method called with no argument throw an exception
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA
test(function () {
Authors:
Beata Koziarek <b.koziarek@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarManager_getCalendars_successCallback_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_getCalendars_successCallback_TypeMismatch
//==== LABEL Test successCallback argument whether type conversion occurs according to Type Conversion Tables in getCalendars method.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title),
conversionTable, calendar, exceptionName, successCallback, i;
+
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", false);
for (i = 0; i < conversionTable.length; i++) {
<head>
<title>CalendarManager_getCalendars_successCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_getCalendars_successCallback_invalid_cb
//==== LABEL Check if CalendarManager.getCalendars method throws exception when successCallback is invalid
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title), calendar, successCallback;
+
t.step(function () {
successCallback = {
onsuccess: t.step_func(function () {
Authors:
Beata Koziarek <b.koziarek@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarManager_getCalendars_type_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_getCalendars_type_TypeMismatch
//==== LABEL Test type argument whether type conversion occurs according to Type Conversion Tables in getCalendars method.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title),
conversionTable, exceptionName, i, type, getCalendarsSuccessCB;
-t.step(function () {
+t.step(function () {
getCalendarsSuccessCB = t.step_func(function (response) {
assert_unreached("getCalendarsSuccessCB should not be invoked.");
});
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarManager_getCalendars_with_errorCallback</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarManager_getCalendars_with_errorCallback
//==== LABEL Check CalendarManager.getCalendars works properly for EVENT type with and without error callback
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA
+
var t = async_test(document.title), succCount = 2, onGetCalendarsSuccessCB, onGetCalendarsErrorCB;
+
t.step(function () {
onGetCalendarsSuccessCB = t.step_func(function (response) {
assert_greater_than(response.length, 0, "No calendar received");
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>CalendarManager_getDefaultCalendar</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarManager_getDefaultCalendar
//==== LABEL Check whether the default 'TASK' type calendar object is provided correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
test(function () {
var taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
+
assert_type(taskCalendar, "object", "Found a default task calendar");
assert_own_property(taskCalendar, "id", "default task calendar does not own id property.");
assert_own_property(taskCalendar, "name", "default task calendar does not own name property.");
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>CalendarManager_getDefaultCalendar_CalendarEvent</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarManager_getDefaultCalendar_CalendarEvent
//==== LABEL Check if attributes of an event calendar object are managed correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA
+
test(function () {
var id, name, eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>CalendarManager_getDefaultCalendar_CalendarTask</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarManager_getDefaultCalendar_CalendarTask
//==== LABEL Check if attributes of a task calendar object are managed correctly
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA
+
test(function () {
var id, name, taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
<head>
<title>CalendarManager_getDefaultCalendar_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method getDefaultCalendar of CalendarManager exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendarManagerObject = tizen.calendar;
+
assert_true("getDefaultCalendar" in calendarManagerObject, "No getDefaultCalendar method in calendarManagerObject");
check_method_exists(calendarManagerObject, "getDefaultCalendar");
}, document.title);
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>CalendarManager_getDefaultCalendar_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarManager_getDefaultCalendar_missarg
//==== LABEL Check whether 'getDefaultCalendar' method called with an invalid argument throws an exception
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
-test(function () {
+test(function () {
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.calendar.getDefaultCalendar(1);
});
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.calendar.getDefaultCalendar();
});
-
}, document.title);
</script>
<head>
<title>CalendarManager_getDefaultCalendar_type_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_getDefaultCalendar_type_TypeMismatch
//==== LABEL Test type argument whether type conversion occurs according to Type Conversion Tables in getDefaultCalendar method.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title),
conversionTable, exceptionName, i, type;
+
t.step(function () {
conversionTable = getTypeConversionExceptions("enum", false);
for (i = 0; i < conversionTable.length; i++) {
<script>
//==== TEST: CalendarManager_getDefaultCalendar_type_invalid
//==== LABEL Test the getDefaultCalendar() method with invalied arguments by giving the invalid data.
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
test(function () {
<head>
<title>CalendarManager_getUnifiedCalendar</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Test the getUnifiedCalendar() method with only non-optional arguments by giving the valid data.
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getUnifiedCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
test(function () {
var calendar = null;
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>CalendarManager_getUnifiedCalendar_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method getUnifiedCalendar of CalendarManager exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getUnifiedCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendarManagerObject = tizen.calendar;
+
assert_true("getUnifiedCalendar" in calendarManagerObject, "No getUnifiedCalendar method in calendarManagerObject");
check_method_exists(calendarManagerObject, "getUnifiedCalendar");
}, document.title);
<head>
<title>CalendarManager_getUnifiedCalendar_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if getUnifiedCalendar method with missing non-optional argument works
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getUnifiedCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA
+
test(function () {
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.calendar.getUnifiedCalendar();
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
-
<head>
<title>CalendarManager_getUnifiedCalendar_type_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_getUnifiedCalendar_type_TypeMismatch
//==== LABEL Test type argument whether type conversion occurs according to Type Conversion Tables in getUnifiedCalendar method.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getUnifiedCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title),
conversionTable, type, exceptionName, i;
+
t.step(function () {
conversionTable = getTypeConversionExceptions("enum", false);
for (i = 0; i < conversionTable.length; i++) {
<script>
//==== TEST: CalendarManager_getUnifiedCalendar_type_invalid
//==== LABEL Test the getUnifiedCalendar() method with invalied arguments by giving the invalid data.
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getUnifiedCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
test(function () {
<head>
<title>CalendarManager_in_tizen</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>l
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>l
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_in_tizen
//==== LABEL This object exists in tizen
-//==== PRIORITY: P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:CalendarManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA OBME
+
test(function () {
assert_true("calendar" in tizen, "No calendar method in tizen.");
check_readonly(tizen, "calendar", tizen.calendar, "object", null);
<head>
<title>CalendarManager_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarManager_notexist
//==== LABEL Check if interface CalendarManager exists, it should not.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:CalendarManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA NIO
+
test(function () {
check_no_interface_object("CalendarManager");
}, document.title);
test(function () {
var calendar, appId, account, returnedValue;
+
appId = tizen.application.getCurrentApplication().appInfo.id;
tizen.account.getAccounts(function (accounts) {
account = accounts[0];
</script>
</body>
-</html>
\ No newline at end of file
+</html>
test(function () {
var taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
+
assert_throws(INVALID_VALUES_EXCEPTION, function () {
tizen.calendar.removeCalendar("TASK", taskCalendar.id);
}, "Invalid ID should throw an exception");
test(function () {
var calendar, appId, account;
+
appId = tizen.application.getCurrentApplication().appInfo.id;
tizen.account.getAccounts(function (accounts) {
account = accounts[0];
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarRecurrenceRuleInit_attribute_check_type
//==== LABEL Check CalendarRecurrenceRuleInit attribute type
-//==== PRIORITY P1
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRuleInit A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
test(function () {
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>CalendarRecurrenceRule_attribute_valid_value</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarRecurrenceRule_attribute_valid_value
//==== LABEL Check various attributes of CalendarRecurrenceRule
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:frequency A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
+
test(function () {
var originalEvent, retrievedEvent, originalRRule, retrievedRRule,
eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
assert_array_equals(originalRRule.daysOfTheWeek, retrievedRRule.daysOfTheWeek, "See if the daysOfTheWeek equals.");
assert_array_equals(originalRRule.setPositions, retrievedRRule.setPositions, "See if the setPositions equals.");
assert_true(originalRRule.exceptions[0].equalsTo(retrievedRRule.exceptions[0]), "See if the exceptions equals.");
-
}, document.title);
</script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarRecurrenceRule_constructor
//==== LABEL Check CalendarRecurrenceRule constructor: CalendarRecurrenceRuleInit
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
+
test(function () {
var exp1, recurrenceRuleInit, recurrenceRule;
+
exp1 = new tizen.TZDate(2011, 11, 30, 12, 40, 0, 0);
recurrenceRuleInit = { interval: 2,
occurrenceCount: 10,
//==== LABEL Check CalendarRecurrenceRule constructor without optional argument
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRA CONSTRM
test(function () {
<head>
<title>CalendarRecurrenceRule_daysOfTheWeek_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute daysOfTheWeek of CalendarRecurrenceRule exists, has type Array
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:daysOfTheWeek A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
+
test(function () {
var calendarRecurrenceRule;
calendarRecurrenceRule.daysOfTheWeek = null;
assert_not_equals(calendarRecurrenceRule.daysOfTheWeek, null,
"calendarRecurrenceRule.daysOfTheWeek should not accept null as value.");
-
}, document.title);
</script>
<head>
<title>CalendarRecurrenceRule_exceptions_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute exceptions of CalendarRecurrenceRule exists, has type Array
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:exceptions A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
+
test(function () {
var calendarRecurrenceRule, exce;
calendarRecurrenceRule.exceptions = null;
assert_not_equals(calendarRecurrenceRule.exceptions, null,
"calendarRecurrenceRule.exceptions should not accept null as value.");
-
}, document.title);
</script>
<head>
<title>CalendarRecurrenceRule_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if CalendarRecurrenceRule exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRF
+
test(function () {
check_constructor("CalendarRecurrenceRule");
}, document.title);
<head>
<title>CalendarRecurrenceRule_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarRecurrenceRule_extend
//==== LABEL Check if CalendarRecurrenceRule object is extendable
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:CalendarRecurrenceRule U
-//==== PRIORITY P3
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA OBX
test(function () {
<head>
<title>CalendarRecurrenceRule_frequency_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute frequency of CalendarRecurrenceRule exists, has type RecurrenceRuleFrequency
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:frequency A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN
+
test(function () {
var calendarRecurrenceRule = new tizen.CalendarRecurrenceRule("DAILY", {occurrenceCount: 5});
calendarRecurrenceRule.frequency = null;
assert_equals(calendarRecurrenceRule.frequency, "WEEKLY",
"calendarRecurrenceRule.frequency should not accept null as value.");
-
}, document.title);
</script>
<head>
<title>CalendarRecurrenceRule_interval_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute interval of CalendarRecurrenceRule exists, has type unsigned short
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:interval A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
+
test(function () {
var calendarRecurrenceRule = new tizen.CalendarRecurrenceRule("WEEKLY");
<head>
<title>CalendarRecurrenceRule_occurrenceCount_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute occurrenceCount of CalendarRecurrenceRule exists, has type Number
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:occurrenceCount A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
+
test(function () {
var calendarRecurrenceRule = new tizen.CalendarRecurrenceRule("DAILY");
calendarRecurrenceRule.occurrenceCount = null;
assert_not_equals(calendarRecurrenceRule.occurrenceCount, null,
"calendarRecurrenceRule.occurrenceCount should not accept null as value.");
-
}, document.title);
</script>
<head>
<title>CalendarRecurrenceRule_setPositions_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute setPositions of CalendarRecurrenceRule exists, has type Array
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:setPositions A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV
+
test(function () {
var calendarRecurrenceRule;
+
calendarRecurrenceRule = new tizen.CalendarRecurrenceRule("DAILY", {
dayOfTheWeek: ["MO", "SU"]
});
calendarRecurrenceRule.setPositions = null;
assert_not_equals(calendarRecurrenceRule.setPositions, null,
"calendarRecurrenceRule.setPositions should not accept null as value.");
-
}, document.title);
</script>
<head>
<title>CalendarRecurrenceRule_untilDate_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute untilDate of CalendarRecurrenceRule exists, has type TZDate
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:untilDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV
+
test(function () {
var calendarRecurrenceRule, untilDate;
assert_true(calendarRecurrenceRule.untilDate instanceof tizen.TZDate,
"calendarRecurrenceRule.untilDate attribute should be type of TZDate");
assert_true(calendarRecurrenceRule.untilDate.equalsTo(untilDate), "dates should be equal");
-
}, document.title);
</script>
Lei Tang <lei312.tang@samsung.com>
-->
+
<html>
<head>
<title>CalendarTaskInit_attributeType</title>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarTaskInit_attributeType
//==== LABEL Check CalendarTaskInit interface attribute type
-//==== PRIORITY P1
//==== SPEC Tizen Web API:Social:Calendar:CalendarTaskInit A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
-var taskInit, ev;
-
test(function () {
+ var taskInit, ev;
+
taskInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>CalendarTask_attribute_date_valid_value</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarTask_attribute_date_valid_value
//==== LABEL Check various date attributes of CalendarTask
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:startDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
+
test(function () {
var retrievedTask, originalTask,
taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
assert_true(originalTask.dueDate.equalsTo(retrievedTask.dueDate), "See if the dueDate equals.");
assert_true(originalTask.completedDate.equalsTo(retrievedTask.completedDate), "See if the completedDate equals.");
assert_equals(originalTask.progress, retrievedTask.progress, "See if the progress equals.");
-
}, document.title);
</script>
<head>
<title>CalendarTask_completedDate_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute completedDate of CalendarTask exists, has type TZDate
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:completedDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV
+
test(function () {
var calendarTask, completedDate;
"calendarTask.completedDate attribute should be type of TZDate");
assert_true(calendarTask.completedDate.equalsTo(completedDate),
"calendarTask.completedDate should be updated.");
-
}, document.title);
</script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarTask_constructor_dictionary
//==== LABEL Check if CalendarTask constructor works propely with dictionary
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
+
test(function (){
var ev, taskInit;
+
taskInit = { description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2012, 3, 30, 10, 0),
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>CalendarTask_constructor_iCalendar</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: CalendarTask_constructor_iCalendar
//==== LABEL Check if instance of CalendarTask is created correctly by constructor (use iCalendar 2.0 string)
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM
+
test(function () {
var stringTask, taskData;
+
taskData =
"BEGIN:VCALENDAR\r\n" +
"VERSION:1.0\r\n" +
stringTask = new tizen.CalendarTask(taskData, "ICALENDAR_20");
assert_true(stringTask instanceof tizen.CalendarTask,
"CalendarTask constructor did not create object with type of CalendarTask");
-
}, document.title);
</script>
//==== LABEL Check CalendarTask constructor without optional argument
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM
test(function () {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: CalendarTask_constructor_vCalendar
//==== LABEL Check if instance of CalendarTask is created correctly by constructor (use vCalendar v1.0 string)
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM
test(function () {
<head>
<title>CalendarTask_dueDate_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute dueDate of CalendarTask exists, has type TZDate
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:dueDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG ADV
+
test(function () {
var calendarTask, dueDate;
assert_true(calendarTask.dueDate instanceof tizen.TZDate,
"dueDate attribute should be type of TZDate");
assert_true(calendarTask.dueDate.equalsTo(dueDate), "dates should be equal");
-
}, document.title);
</script>
<head>
<title>CalendarTask_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if CalendarTask exists
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRF
+
test(function () {
check_constructor("CalendarTask");
}, document.title);
<head>
<title>CalendarTask_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: CalendarTask_extend
//==== LABEL Check if CalendarTask object is extendable
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:CalendarTask U
-//==== PRIORITY P3
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA OBX
test(function () {
<head>
<title>CalendarTask_progress_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute progress of CalendarTask exists, has type unsigned short
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:progress A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN ADV AVL
+
test(function () {
var calendarTask = new tizen.CalendarTask();
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarAlarm_attri_absoluteDate
//==== LABEL Check attribute absoluteDate of CalendarAlarm
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:absoluteDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
test(function () {
var eventInit = {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarAlarm_attri_before
//==== LABEL Check attribute before of CalendarAlarm
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:before A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
test(function () {
var eventInit = {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarAlarm_attri_description
//==== LABEL Check attribute description of CalendarAlarm
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:description A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
test(function () {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarAlarm_attri_method
//==== LABEL Check attribute method of CalendarAlarm
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:method A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
test(function () {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarAlarm_constructor_AbsoluteDate
//==== LABEL Check CalendarAlarm constructor: AbsoluteDate
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:constructor M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRA CONSTRM
test(function () {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarAlarm_constructor_TimeDuration
//==== LABEL Check CalendarAlarm constructor: TimeDuration
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarAlarm:constructor M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
<html>
<head>
<title>Calendar_CalendarAttendee_constructor_default</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarAttendee_constructor_default
//==== LABEL Check CalendarAttendee constructor: default
//==== SPEC Tizen Web API:Social:Calendar:CalendarAttendee:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRM CONSTRA
var initUri, eventInit, defaultAttendee, attendee1, ev;
<head>
<title>Calendar_CalendarEventArraySuccessCallback_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEventArraySuccessCallback_onsuccess
//==== LABEL Check CalendarEventArraySuccessCallback onsuccess method
//==== SPEC Tizen Web API:Social:Calendar:CalendarEventArraySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA CBOA CBT
var t = async_test(document.title),
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_alarms
//==== LABEL Check attribute alarms of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:alarms A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE
-var eventInit, ev;
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_attendees
//==== LABEL Check attribute attendees of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:attendees A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
-var eventInit, ev;
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_availability
//==== LABEL Check attribute availability of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:availability A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT ADV
-var eventInit, ev;
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_categories
//==== LABEL Check attribute categories of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:categories A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
-var eventInit, ev;
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
ev = new tizen.CalendarEvent(eventInit);
assert_equals(Object.prototype.toString.call(ev.categories),
"[object Array]", "By default, this attribute is set to an empty array");
-
}, document.title);
</script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_description
//==== LABEL Check attribute description of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:description A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
-var eventInit, ev;
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
description: "Calendar event",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_duration
//==== LABEL Check attribute duration of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:duration A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
-var eventInit, ev, eq;
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
+
test(function () {
+ var eventInit, ev, eq;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_endDate
//==== LABEL Check attribute endDate of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:endDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
-var eventInit, ev;
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
endDate: new tizen.TZDate(2011, 3, 30, 11, 0)
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_geolocation
//==== LABEL Check attribute geolocation of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:geolocation A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE
-var eventInit, ev;
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_id
//==== LABEL Check attribute id of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:id A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE
-var eventInit, ev;
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_isAllDay
//==== LABEL Check attribute isAllDay of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:isAllDay A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA ADV
-var eventInit, ev;
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_isDetached
//==== LABEL Check attribute isDetached of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:isDetached A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE
-var eventInit, ev;
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_lastModificationDate
//==== LABEL Check attribute lastModificationDate of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:lastModificationDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
-var eventInit, ev;
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_location
//==== LABEL Check attribute location of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:location A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT ADV
-var eventInit, ev;
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_organizer
//==== LABEL Check attribute organizer of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:organizer A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT ADV
-var eventInit, ev;
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_priority
//==== LABEL Check attribute priority of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:priority A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT ADV
-var eventInit, ev;
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_recurrenceRule
//==== LABEL Check attribute recurrenceRule of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarEvent:recurrenceRule A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE
-var eventInit, ev;
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_startDate
//==== LABEL Check attribute startDate of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:startDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA ADV
-var eventInit, ev;
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
duration: new tizen.TimeDuration(1, "HOURS")
};
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_status
//==== LABEL Check attribute status of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:status A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT ADV
-var eventInit, ev;
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_summary
//==== LABEL Check attribute summary of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:summary A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT ADV
-var eventInit, ev;
+
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_attri_visibility
//==== LABEL Check attribute visibility of CalendarEvent
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:visibility A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT ADV
-var eventInit, ev;
test(function () {
+ var eventInit, ev;
+
eventInit = {
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
duration: new tizen.TimeDuration(1, "HOURS")
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarEvent_clone
//==== LABEL Check CalendarEvent method: clone
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:clone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MNA MR
-var eventInit, calendar, ev, evClone;
test(function (){
+ var eventInit, calendar, ev, evClone;
+
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_attendees_geolocation_status
//==== LABEL Check if attri value:attendees and geolocation and status can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_categories_visibility_priority
//==== LABEL Check if attri value:categories and visibility and priority can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_description_duration_geolocation
//==== LABEL Check if attri value:description and duration and geolocation can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_description_isAllDay_organizer
//==== LABEL Check if attri value:description and isAllDay and organizer can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_description_progress_startDate
//==== LABEL Check if attri value:description and progress and startDate can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var taskInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_description_startDate_isAllDay
//==== LABEL Check if attri value: description and startDate and isAllDay can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_description_status_startDate
//==== LABEL Check if attri value:description and status and startDate can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_description_summary_location
//==== LABEL Check if attri value: description and summary and location can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_duration_location_priority
//==== LABEL Check if attri value:duration and location and priority can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_geolocation_organizer_categories
//==== LABEL Check if attri value:geolocation and organizer and categories can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_geolocation_status
//==== LABEL Check if attri value:geolocation and status can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_isAllDay_duration_organizer
//==== LABEL Check if attri value:isAllDay and duration and organizer can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_isAllDay_geolocation_priority
//==== LABEL Check if attri value:isAllDay and geolocation and priority can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_isAllDay_priority_organizer
//==== LABEL Check if attri value:isAllDay and priority and organizer can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_location_duration_organizer
//==== LABEL Check if attri value:location and duration and organizer can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_location_geolocation
//==== LABEL Check if attri value:location and geolocation can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_location_geolocation_categories
//==== LABEL Check if attri value:location and geolocation and categories can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_location_organizer_priority
//==== LABEL Check if attri value:location and organizer and priority can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_organizer_categories_visibility
//==== LABEL Check if attri value:organizer and categories and visibility can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_organizer_priority
//==== LABEL Check if attri value:organizer and priority can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_organizer_visibility_attendees
//==== LABEL Check if attri value:organizer and visibility and attendees can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
var eventInit, ev, attendee;
test(function () {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_progress_isAllDay_location
//==== LABEL Check if attri value: progress and isAllDay and location can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var taskInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_progress_status_attendees
//==== LABEL Check if attri value:progress and status and attendees can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
-var taskInit, ev, attendee;
test(function () {
+ var taskInit, ev, attendee;
+
taskInit = {
description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_progress_visibility_organizer
//==== LABEL Check if attri value:progress and visibility and organizer can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var taskInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_startDate_categories_location
//==== LABEL Check if attri value:startDate and categories and location can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_startDate_duration
//==== LABEL Check if attri value:startDate and duration can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_startDate_organizer
//==== LABEL Check if attri value:startDate and organizer can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_status_location_isAllDay
//==== LABEL Check if attri value:status and location and isAllDay can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_status_visibility_attendees
//==== LABEL Check if attri value:status and visibility and attendees can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
-var eventInit, ev, attendee;
test(function () {
+ var eventInit, ev, attendee;
+
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_status_visibility_categories
//==== LABEL Check if attri value:status and visibility and categories can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_status_visibility_priority
//==== LABEL Check if attri value:status and visibility and priority can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_summary_geolocation_priority
//==== LABEL Check if attri value:summary and geolocation and priority can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_summary_location_isAllDay
//==== LABEL Check if attri value:summary and location and isAllDay can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_summary_priority
//==== LABEL Check if attri value:summary and priority can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
-var eventInit, ev, calendar;
test(function () {
+ var eventInit, ev, calendar;
+
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_summary_priority_isAllDay
//==== LABEL Check if attri value:summary and priority and isAllDay can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function () {
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarItem_set_visibility_status_priority
//==== LABEL Check if attri value:visibility and status and priority can be set successful.
-//==== PRIORITY P3
//==== SPEC Tizen Web API:Social:Calendar:CalendarItem:CalendarItem U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA MAST
test(function (){
var eventInit = {description:"HTML5 Introduction",
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarManagerObject_attri_locationandsummary
-//==== LABEL Check if CalendarManagerObject attri value:location and summary can be set successful..
-//==== PRIORITY P3
+//==== LABEL Check if CalendarManagerObject attri value:location and summary can be set successful.
//==== SPEC Tizen Web API:Social:Calendar:CalendarManagerObject:CalendarManagerObject U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
test(function (){
var defaultCalendar = tizen.calendar.getDefaultCalendar("EVENT");
+
defaultCalendar.location = "Huesca";
defaultCalendar.summary = "defined a new calendar";
assert_not_equals(defaultCalendar, null, "Incorrect defaultCalendar");
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarManager_getCalendarDefault_event
//==== LABEL Check CalendarManager getCalendarDefault method: get event type calendar
-//==== PRIORITY P0
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA
test(function () {
var defaultCalendar = tizen.calendar.getDefaultCalendar("EVENT"),
calendar = tizen.calendar.getCalendar("EVENT", defaultCalendar.id);
+
assert_not_equals(calendar, null, "Incorrect calendar");
assert_equals(calendar.id, defaultCalendar.id, "calendar id returned is not the default one");
}, document.title);
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarManager_getCalendars_event
//==== LABEL Check CalendarManager getCalendars method: get all event type calendars
-//==== PRIORITY P0
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA
var t = async_test(document.title), calendarListCB, defaultCalendar;
+
t.step(function (){
calendarListCB = t.step_func(function (calendars) {
assert_not_equals(calendars, null, "Incorrect calendars");
<html>
<head>
<title>Calendar_CalendarManager_getCalendars_successcallback_invalid</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarManager_getCalendars_successcallback_invalid
//==== LABEL Check CalendarManager getCalendars method: successCallback is invalid
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getCalendars M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
test(function (){
<html>
<head>
<title>Calendar_CalendarManager_getDefaultCalendar_CalendarType_error</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarManager_getDefaultCalendar_CalendarType_error
//==== LABEL Check CalendarManager getDefaultCalendar method: CalendarType is error
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
test(function (){
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarManager_getDefaultCalendar_event
//==== LABEL Check CalendarManager getDefaultCalendar method: get event type default calendar
-//==== PRIORITY P0
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA
test(function (){
var defaultCalendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_not_equals(defaultCalendar, null, "Incorrect defaultCalendar");
}, document.title);
<html>
<head>
<title>Calendar_CalendarManager_getDefaultCalendar_null</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarManager_getDefaultCalendar_null
//==== LABEL Check CalendarManager getDefaultCalendar method: CalendarType is null
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:getDefaultCalendar M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
test(function (){
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarRecurrenceRule_attri_daysOfTheWeek
//==== LABEL Check daysOfTheWeek attribute of CalendarRecurrenceRule
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:daysOfTheWeek A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
-var exp1, recurrenceRuleInit, recurrenceRule;
test(function () {
+ var exp1, recurrenceRuleInit, recurrenceRule;
+
exp1 = new tizen.TZDate(2011, 11, 30, 12, 40, 0, 0);
recurrenceRuleInit = {interval: 2,
occurrenceCount: 10,
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarRecurrenceRule_attri_exceptions
//==== LABEL Check exceptions attribute of CalendarRecurrenceRule
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:exceptions A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
-var exp1, recurrenceRuleInit, recurrenceRule;
test(function (){
+ var exp1, recurrenceRuleInit, recurrenceRule;
+
exp1 = new tizen.TZDate(2011, 11, 30, 12, 40, 0, 0);
recurrenceRuleInit = {interval: 2,
occurrenceCount: 10,
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarRecurrenceRule_attri_frequency
//==== LABEL Check frequency attribute of CalendarRecurrenceRule
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:frequency A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
-var exp1, recurrenceRuleInit, recurrenceRule;
test(function (){
+ var exp1, recurrenceRuleInit, recurrenceRule;
+
exp1 = new tizen.TZDate(2011, 11, 30, 12, 40, 0, 0);
recurrenceRuleInit = {interval: 2,
occurrenceCount: 10,
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarRecurrenceRule_attri_interval
//==== LABEL Check interval attribute of CalendarRecurrenceRule
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:interval A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
-var exp1, recurrenceRuleInit, recurrenceRule;
test(function (){
+ var exp1, recurrenceRuleInit, recurrenceRule;
+
exp1 = new tizen.TZDate(2011, 11, 30, 12, 40, 0, 0);
recurrenceRuleInit = {interval: 2,
occurrenceCount: 10,
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarRecurrenceRule_attri_occurrenceCount
//==== LABEL Check occurrenceCount attribute of CalendarRecurrenceRule
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:occurrenceCount A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT
-var exp1, recurrenceRuleInit, recurrenceRule;
test(function (){
+ var exp1, recurrenceRuleInit, recurrenceRule;
+
exp1 = new tizen.TZDate(2011, 11, 30, 12, 40, 0, 0);
recurrenceRuleInit = {interval: 2,
occurrenceCount: 10,
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarRecurrenceRule_attri_setPositions
//==== LABEL Check setPositions attribute of CalendarRecurrenceRule
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:setPositions A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
-var exp1, recurrenceRuleInit, recurrenceRule;
test(function (){
+ var exp1, recurrenceRuleInit, recurrenceRule;
+
exp1 = new tizen.TZDate(2011, 11, 30, 12, 40, 0, 0);
recurrenceRuleInit = {interval: 2,
occurrenceCount: 10,
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarRecurrenceRule_attri_untilDate
//==== LABEL Check untilDate attribute of CalendarRecurrenceRule
//==== SPEC Tizen Web API:Social:Calendar:CalendarRecurrenceRule:untilDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
-var exp1, recurrenceRuleInit, recurrenceRule;
test(function (){
+ var exp1, recurrenceRuleInit, recurrenceRule;
+
exp1 = new tizen.TZDate(2011, 11, 30, 12, 40, 0, 0);
recurrenceRuleInit = {interval: 2,
occurrenceCount: 10,
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarTask_attri_completedDate
//==== LABEL Check attribute completedDate of CalendarTask
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:completedDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
-var taskInit, ev;
test(function () {
+ var taskInit, ev;
+
taskInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarTask_attri_dueDate
//==== LABEL Check dueDate attribute of CalendarTask
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:dueDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P1
+//==== TEST_CRITERIA AT
-var taskInit, calendar, ev, getEv;
test(function (){
+ var taskInit, calendar, ev, getEv;
+
taskInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_CalendarTask_attri_progress
//==== LABEL Check progress attribute of CalendarTask
//==== SPEC Tizen Web API:Social:Calendar:CalendarTask:progress A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AT ADV
-var taskInit, calendar, ev;
test(function (){
+ var taskInit, calendar, ev;
+
taskInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
<html>
<head>
<title>Calendar_Calendar_addBatch_error_events</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_Calendar_addBatch_error_events
//==== LABEL Check if Calendar.addBatch method throws exception when null given as items
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
-var calendar = tizen.calendar.getDefaultCalendar("EVENT"), events = null;
test(function (){
+ var calendar = tizen.calendar.getDefaultCalendar("EVENT"), events = null;
+
assert_throws(TYPE_MISMATCH_EXCEPTION, function (){
calendar.addBatch(events);
}, "Given null as items");
<html>
<head>
<title>Calendar_Calendar_addChangeListener</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_Calendar_addChangeListener
//==== LABEL Check Calendar addChangeListener method: default usage
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MAST MMINA MR
var t = async_test(document.title), eventInit, watcher,
calendar, watcherId = null, ev;
+
t.step(function () {
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar",
Zhongyuan Yuan <zy123.yuan@samsung.com>
-->
+
<html>
<head>
<title>Calendar_accountId_attribute</title>
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_own_property(calendar, "accountId", "Calendar does not own accountId property.");
check_readonly(calendar, "accountId", calendar.accountId, "number", calendar.accountId + "5");
}, document.title);
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_add</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_add
//==== LABEL Check whether 'add' method correctly assigns task items to the Calendar object
//==== SPEC Tizen Web API:Social:Calendar:Calendar:add M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MAST MMINA MR
+
test(function () {
var task, taskBasicId, taskCalendar, returnedValue = null;
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_addBatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_addBatch
//==== LABEL Check whether addBatch() method correctly assigns several event items to the CalendarEvent object asynchronously without callbacks
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
test(function () {
var events, eventCalendar, returnedValue;
Roman Frolow <r.frolow@samsung.com>
-->
+
<html>
<head>
<title>Calendar_addBatch_errorCallback_TypeMismatch</title>
<script src="support/unitcommon.js"></script>
<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_addBatch_errorCallback_TypeMismatch
//==== LABEL Check if addBatch throws exception when errorCallback is incorrect
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title, {timeout: 10000}), i, conversionTable,
exceptionName, successCallback, errorCallback, calendarEvent, calendar;
+
setup({timeout: 10000});
t.step(function () {
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_addBatch_errorCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_addBatch_errorCallback_invalid_cb
//==== LABEL Check whether addBatch() method incorrectly with invalid errorCallback
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title), events, eventCalendar, successCallback, errorCallback;
-t.step(function () {
+t.step(function () {
successCallback = t.step_func(function () {
cleanup(eventCalendar);
assert_unreached("addBatch() success callback invoked.");
Lei Tang <lei312.tang@samsung.com>
-->
+
<html>
<head>
<title>Calendar_addBatch_errorCallback_invoked</title>
<script>
//==== TEST: Calendar_addBatch_errorCallback_invoked
//==== LABEL Check whether addBatch() method invoked errorCallback
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MERRCB
var t = async_test(document.title, {timeout: 5000}), eventCalendar, onAddBatchErrorCB, ev1, ev2,
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>Calendar_addBatch_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method addBatch of Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("addBatch" in calendar, "No addBatch method in calendar");
check_method_exists(calendar, "addBatch");
}, document.title);
Roman Frolow <r.frolow@samsung.com>
-->
+
<html>
<head>
<title>Calendar_addBatch_items_TypeMismatch</title>
<script src="support/unitcommon.js"></script>
<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_addBatch_items_TypeMismatch
//==== LABEL Check if addBatch throws exception when items is incorrect
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title, {timeout: 10000}), i, conversionTable, items,
exceptionName, successCallback, errorCallback, calendar;
+
setup({timeout: 10000});
t.step(function () {
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_addBatch_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_addBatch_missarg
//==== LABEL Check whether 'addBatch' method called with an invalid argument throws an exception correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
test(function () {
Roman Frolow <r.frolow@samsung.com>
-->
+
<html>
<head>
<title>Calendar_addBatch_successCallback_TypeMismatch</title>
<script src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_addBatch_successCallback_TypeMismatch
//==== LABEL Check if addBatch throws exception when successCallback is incorrect
-//==== PRIORITY: P2
+//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== TEST_CRITERIA MC
+
var t = async_test(document.title, {timeout: 10000}), i, conversionTable,
exceptionName, successCallback, errorCallback, calendarEvent, calendar;
+
setup({timeout: 10000});
t.step(function () {
-
errorCallback = t.step_func(function (error) {
assert_unreached("addBatch() error callback invoked: " + error.name + " msg: " + error.message);
});
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_addBatch_successCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_addBatch_successCallback_invalid_cb
//==== LABEL Check whether addBatch() method incorrectly with invalid successCallback
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
test(function () {
var events, eventCalendar;
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_addBatch_with_errorCallback</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_addBatch_with_errorCallback
//==== LABEL Check whether addBatch() method correctly assigns several event items to the CalendarEvent object asynchronously
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MAST MR
+
var t = async_test(document.title, {timeout: 5000}), events, eventCalendar, returnedValue = null, onAddBatchErrorCB,
onAddBatchSuccessCB;
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_addBatch_with_successCallback</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_addBatch_with_successCallback
//==== LABEL Check whether addBatch() method correctly assigns several event items to the CalendarEvent object asynchronously without errorCallback
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MAST MOA MR
+
var t = async_test(document.title, {timeout: 5000}), events, eventCalendar, onAddBatchSuccessCB, returnedValue = null;
t.step(function () {
-
eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
events = createTestEvents();
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_addChangeListener</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check whether addChangeListener() subscribes to notifications about the CalendarTask object changes
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
var t = async_test(document.title), listener, onError, watcher,
listenerArrayTask = [], taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
t.step(function () {
-
onError = t.step_func(function (error) {
assert_unreached("addChangeListener() error callback: name:" + error.name + ", msg:" + error.message);
});
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>Calendar_addChangeListener_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method addChangeListener of Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("addChangeListener" in calendar, "No addChangeListener method in calendar");
check_method_exists(calendar, "addChangeListener");
}, document.title);
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_addChangeListener_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_addChangeListener_missarg
//==== LABEL Check whether addChangeListener() method called with an invalid argument throws an exception
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
test(function () {
var eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_addChangeListener_successCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_addChangeListener_successCallback_TypeMismatch
//==== LABEL Test addChangeListener argument whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
var t = async_test(document.title),
watcherId = 0, calendar, exceptionName = "TypeMismatchError", conversionTable, i, successCallback;
+
t.step(function () {
calendar = tizen.calendar.getDefaultCalendar("EVENT");
conversionTable = getTypeConversionExceptions("object", false);
Beata Koziarek <b.koziarek@samsung.com>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>Calendar_addChangeListener_successCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_addChangeListener_successCallback_invalid_cb
//==== LABEL Check if addChangeListener throws exception when successCallback is invalid
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTL
+
var t = async_test(document.title),
exceptionName, incorrectListeners, i, calendarChangeCallback,
calendar;
t.step(function () {
-
calendar = tizen.calendar.getDefaultCalendar("EVENT");
incorrectListeners = getListenerConversionExceptions(["onitemsadded", "onitemsupdated", "onitemsremoved"]);
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_addChangeListener_successCallback_invalid_type</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_addChangeListener_successCallback_invalid_type
//==== LABEL Check whether addChangeListener() method called with an invalid argument throws an exception (part 2)
//==== SPEC Tizen Web API:Social:Calendar:Calendar:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
test(function () {
var taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
<html>
<head>
<title>Calendar_add_Event</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_add_Event
//==== LABEL Check Calendar add method: default usage
-//==== PRIORITY P0
//==== SPEC Tizen Web API:Social:Calendar:Calendar:add M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MAST MMINA
-var eventInit, calendar, ev, beforeValue = null;
test(function () {
+ var eventInit, calendar, ev, beforeValue = null;
+
eventInit = {
description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>Calendar_add_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method add of Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:Calendar:add M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("add" in calendar, "No add method in calendar");
check_method_exists(calendar, "add");
}, document.title);
Lei Tang <lei312.tang@samsung.com>
-->
+
<html>
<head>
<title>Calendar_add_invalid_obj</title>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_add_invalid_obj
//==== LABEL Check Calendar::add() method with invalid value
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:add M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTO
-var eventInit, calendar, ev;
-
test(function () {
+ var eventInit, calendar, ev;
+
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
Roman Frolow <r.frolow@samsung.com>
-->
+
<html>
<head>
<title>Calendar_add_item_TypeMismatch</title>
<script src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_add_item_TypeMismatch
//==== LABEL Check if add throws exception when item is incorrect
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:add M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title, {timeout: 10000}), i, conversionTable, item,
exceptionName, calendar;
+
setup({timeout: 10000});
t.step(function () {
-->
<html>
-
<head>
<title>Calendar_add_item_invalid_type</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_add_item_invalid_type
//==== LABEL Check whether 'add' method called with an invalid argument throws an exception correctly (part 2)
//==== SPEC Tizen Web API:Social:Calendar:Calendar:add M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
test(function () {
var taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_add_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_add_missarg
//==== LABEL Check whether 'add' method called with an invalid argument throws an exception correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:add M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC MMA
+
test(function () {
var eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
Zhongyuan Yuan <zy123.yuan@samsung.com>
-->
+
<html>
<head>
<title>Calendar_constructor</title>
test(function () {
var calendar, appId, account;
+
appId = tizen.application.getCurrentApplication().appInfo.id;
tizen.account.getAccounts(function (accounts) {
account = accounts[0];
-->
<html>
-
<head>
<title>Calendar_eventType_methods_exist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_eventType_methods_exist
//==== LABEL Check if Calendar for event creation exists and implements methods
//==== SPEC Tizen Web API:Social:Calendar:Calendar:add M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P0
-//==== TEST_CRITERIA
+//==== TEST_CRITERIA ME
+
test(function () {
var eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
Zhongyuan Yuan <zy123.yuan@samsung.com>
-->
+
<html>
<head>
<title>Calendar_exist</title>
//==== LABEL Check if Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== PRIORITY P0
+//==== PRIORITY P1
//==== TEST_CRITERIA CONSTRF
test(function () {
Tomasz Kusmierz <t.kusmierz@samsung.com>
-->
+
<html>
<head>
<title>Calendar_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_extend
//==== LABEL Check if Calendar object is extendable
//==== SPEC Tizen Web API:Social:Calendar:Calendar:Calendar U
-//==== PRIORITY P3
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P3
//==== TEST_CRITERIA OBX
test(function () {
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check whether 'find' method correctly assigns task items to the CalendarTask object
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
var t = async_test(document.title), eventSearchSuccessCallback, eventInit,
calendar, ev, returnedValue = null;
+
t.step(function (){
eventSearchSuccessCallback = t.step_func(function (events) {
assert_equals(returnedValue, undefined, "Incorect returned value from find()");
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.
+limitations under the License.
Authors:
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_errorCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_find_errorCallback_TypeMismatch
//==== LABEL Test errorCallback argument whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), successCallback,
calendar, conversionTable, exceptionName, i, errorCallback;
+
t.step(function () {
calendar = tizen.calendar.getDefaultCalendar("EVENT");
successCallback = t.step_func(function () {
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_errorCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_find_errorCallback_invalid_cb
//==== LABEL Test if putting a user errorCallback object which was not created through the constructor but has all the properties failes.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title), eventSearchSuccessCallback,
errorCallback, ev1, event1, calendar, filter;
+
t.step(function (){
eventSearchSuccessCallback = t.step_func(function (events) {
assert_unreached("Success callback invoked");
Zhongyuan Yuan <zy123.yuan@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_errorCallback_invoked</title>
//==== LABEL Check exception in error callback of find method
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== PRIORITY: P2
+//==== PRIORITY P2
//==== TEST_CRITERIA MERRCB
var t = async_test(document.title), successCallback, errorCallback, eventInit, filter,
-->
<html>
-
<head>
<title>Calendar_find_event_usage</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_find_event_usage
//==== LABEL Check if find() method correctly finds CalendarItem objects matching the supplied filter (checked for event calendar)
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P1
//==== TEST_CRITERIA MOA
+
var t = async_test(document.title, {"timeout": 30000}), succCount = 10,
onFindSuccessCB, onFindErrorCB, filter, sortMode, todayBegin, todayEnd,
firstFilter, secondFilter, eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method find of Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("find" in calendar, "No find method in calendar");
check_method_exists(calendar, "find");
}, document.title);
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_filter_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_find_filter_TypeMismatch
//==== LABEL Test filter argument whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), successCallback, eventInit,
calendar, ev, conversionTable, exceptionName, i, errorCallback,
filter;
+
t.step(function () {
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
Zhongyuan Yuan <zy123.yuan@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_filter_invalid_obj</title>
//==== LABEL Check if Calendar::find() method throw exception when a fake system object was passed
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== PRIORITY: P2
+//==== PRIORITY P2
//==== TEST_CRITERIA MTO
var t = async_test(document.title), eventSearchSuccessCallback,
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_find_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_find_missarg
//==== LABEL Check whether 'find' method called with an invalid argument throws an exception correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
var t = async_test(document.title), filter, sortMode, onFindSuccessCB, onFindErrorCB, taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
t.step(function () {
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_sortMode_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_find_sortMode_TypeMismatch
//==== LABEL Test sortMode argument whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), successCallback, eventInit,
calendar, ev, conversionTable, exceptionName, i, errorCallback,
filter, sortMode;
+
t.step(function () {
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_sortMode_invalid_obj</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_find_sortMode_invalid_obj
//==== LABEL Test if putting a user sortMode object which was not created through the constructor but has all the properties failes.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTO
+
var t = async_test(document.title), eventSearchSuccessCallback,
errorCallback, ev1, ev2, event1, event2, calendar, filter, sortMode,
exceptionName = "TypeMismatchError";
+
t.step(function (){
eventSearchSuccessCallback = t.step_func(function (events) {
assert_unreached(exceptionName + " should be thrown.");
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_successCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_find_successCallback_TypeMismatch
//==== LABEL Test successCallback argument whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), successCallback,
calendar, conversionTable, exceptionName, i;
+
t.step(function () {
calendar = tizen.calendar.getDefaultCalendar("EVENT");
conversionTable = getTypeConversionExceptions("functionObject", false);
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_successCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_find_successCallback_invalid_cb
//==== LABEL Test if putting a user successCallback object which was not created through the constructor but has all the properties failes.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title), successCallback, calendar;
+
t.step(function () {
successCallback = {
onsuccess: t.step_func(function (items) {
-->
<html>
-
<head>
<title>Calendar_find_task_usage</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_find_task_usage
//==== LABEL Check if find() method correctly finds CalendarItem objects matching the supplied filter (checked for task calendar)
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P1
//==== TEST_CRITERIA MOA
+
var t = async_test(document.title, {"timeout": 30000}), succCount = 10,
onFindSuccessCB, onFindErrorCB, filter, sortMode, todayBegin, todayEnd,
firstFilter, secondFilter, taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check whether 'find' method correctly with errorCallback argument
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MR
+
var t = async_test(document.title),
eventSearchSuccessCallback, calendar, errorCallback, returnedValue = null;
Beata Koziarek <b.koziarek@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_with_filter</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check whether 'find' method correctly with filter argument
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MR
+
var t = async_test(document.title), calendar,
filter, onSuccess, onError, start, end, rule, ev, returnedValue = null;
+
t.step(function (){
onSuccess = t.step_func(function (events) {
assert_not_equals(events.length, 0, "find() should find event");
Beata Koziarek <b.koziarek@samsung.com>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>Calendar_find_with_sortMode</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check whether 'find' method correctly with sortMode argument
//==== SPEC Tizen Web API:Social:Calendar:Calendar:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MR
+
var t = async_test(document.title), eventSearchSuccessCallback,
errorCallback, calendar, sortMode, returnedValue = null;
+
t.step(function (){
eventSearchSuccessCallback = t.step_func(function (events) {
assert_equals(returnedValue, undefined, "Incorect returned value from find()");
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_get</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_get
//==== LABEL Check if the CalendarEvent item with the given identifier is retrieved correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
test(function () {
var event, retrievedEvent,
eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
+
event = createTestEvent();
eventCalendar.add(event);
retrievedEvent = eventCalendar.get(event.id);
Yanan Xu <yananx.xu@intel.com>
-->
+
<html>
<head>
<title>Calendar_get_NotFoundError</title>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_get_NotFoundError
//==== LABEL Check if Calendar get method throws exception when trying to get removed item
-//==== PRIORITY P2
//==== TIMEOUT 90
//==== SPEC Tizen Web API:Social:Calendar:Calendar:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== TEST_CRITERIA
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
-var eventInit, ev, calendar, ev1;
test(function () {
+ var eventInit, ev, calendar, ev1;
+
eventInit = {
description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>Calendar_get_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method get of Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:Calendar:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("get" in calendar, "No get method in calendar");
check_method_exists(calendar, "get");
}, document.title);
Roman Frolow <r.frolow@samsung.com>
-->
+
<html>
<head>
<title>Calendar_get_id_TypeMismatch</title>
<script src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_get_id_TypeMismatch
//==== LABEL Check if get throws exception when id is incorrect
-//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title, {timeout: 10000}), i, conversionTable, id,
exceptionName, calendar;
+
setup({timeout: 10000});
t.step(function () {
-->
<html>
-
<head>
<title>Calendar_get_invalid_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>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_get_invalid_argument
//==== LABEL Check whether 'get' method called with an invalid argument throws an exception correctly (part 4)
//==== SPEC Tizen Web API:Social:Calendar:Calendar:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
test(function () {
var getTask = createTestTask(),
taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_get_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_get_missarg
//==== LABEL Check whether 'get' method called with an invalid argument throws an exception correctly (part 2)
//==== SPEC Tizen Web API:Social:Calendar:Calendar:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
test(function () {
var taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_get_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>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_get_valid_argument
//==== LABEL Check if the CalendarTask item with the given identifier is retrieved correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
test(function () {
var task, retrievedTask,
taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
+
task = createTestTask();
taskCalendar.add(task);
retrievedTask = taskCalendar.get(task.id);
assert_equals(task.location, retrievedTask.location, "See if the location equals.");
taskCalendar.get(task.id, 1);
-
}, document.title);
</script>
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>Calendar_id_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute id of Calendar exists, has type CalendarId and is readonly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:id A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
assert_own_property(calendar, "id", "Calendar does not own id property.");
check_readonly(calendar, "id", calendar.id, "string", calendar.id + "5");
-
}, document.title);
</script>
-->
<html>
-
<head>
<title>Calendar_methods_exist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_methods_exist
//==== LABEL Check if Calendar exists and implements methods
//==== SPEC Tizen Web API:Social:Calendar:CalendarManager:CalendarManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
-//==== PRIORITY P3
-//==== TEST_CRITERIA
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
test(function () {
assert_type(tizen, "object", "Tizen presence");
assert_type(tizen.calendar, "object", "Calendar manager presence");
<head>
<title>Calendar_name_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if attribute name of Calendar exists, has type DOMString and is readonly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:name A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_own_property(calendar, "name", "Calendar does not own name property.");
check_readonly(calendar, "name", "Default event calendar", "string", "calendar");
}, document.title);
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>Calendar_remove</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_remove
//==== LABEL Check whether 'remove' method correctly deletes task items from the CalendarTask object
//==== SPEC Tizen Web API:Social:Calendar:Calendar:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MAST MR
+
var t = async_test(document.title, {timeout: 5000}), task, taskCalendar,
taskSearchSuccessCallback, taskSearchErrorCallback, filter, returnedValue = null;
t.step(function () {
-
taskSearchSuccessCallback = t.step_func(function (events) {
assert_equals(returnedValue, undefined, "Incorect returned value from remove()");
assert_equals(events.length, 0, "Task should not be found.");
-->
<html>
-
<head>
<title>Calendar_removeBatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_removeBatch
//==== LABEL Check whether 'removeBatch' method correctly deletes several task items from the CalendarTask object asynchronously
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MAST MR
+
var t = async_test(document.title), tasks = [], addBatchErrorCB, addBatchSuccessCB, findSuccessCB, findErrorCB,
returnedValue = null, removeBatchErrorCB, filter1, filter2, filter, findAfterSuccessCB, removeBatchSuccessCB,
calendar = tizen.calendar.getDefaultCalendar("TASK");
-t.step(function () {
+t.step(function () {
findAfterSuccessCB = t.step_func(function (tasks) {
assert_equals(tasks.length, 0, "Tasks were not remove properly");
tasks = createTestTasks();
calendar.addBatch(tasks, addBatchSuccessCB, addBatchErrorCB);
-
});
</script>
-->
<html>
-
<head>
<title>Calendar_removeBatch_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_removeBatch_TypeMismatch
//==== LABEL Check whether 'removeBatch' method correctly deletes several task items from the CalendarTask object asynchronously (part 3)
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P2
//==== TEST_CRITERIA MC
-test(function () {
+test(function () {
var tasks = createTestTasks(),
taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
-
<head>
<title>Calendar_removeBatch_errorCallback_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_removeBatch_errorCallback_TypeMismatch
//==== LABEL Test errorCallback argument in removeBatch, whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), i,
calendar, eventInit, calendarEvent, successCallback, conversionTable, errorCallback, exceptionName;
+
t.step(function () {
successCallback = t.step_func(function () {
});
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>Calendar_removeBatch_errorCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_removeBatch_errorCallback_invalid_cb
//==== LABEL Check if Calendar.removeBatch method throws exception when errorCallback is invalid
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title),
calendar, successCallback;
+
t.step(function () {
successCallback = t.step_func(function () {
});
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_removeBatch_errorCallback_invoked
//==== LABEL Check if removeBatch() error callback will be invoked when used with wrong task argument
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MERRCB
var t = async_test(document.title), calendar, eventInit1,
<head>
<title>Calendar_removeBatch_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method removeBatch of Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("removeBatch" in calendar, "No removeBatch method in calendar");
check_method_exists(calendar, "removeBatch");
}, document.title);
Authors:
Beata Koziarek <b.koziarek@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_removeBatch_ids_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_removeBatch_ids_TypeMismatch
//==== LABEL Test ids argument whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), i, ids, exceptionName,
calendar, conversionTable;
+
t.step(function () {
conversionTable = getTypeConversionExceptions("array", false);
calendar = tizen.calendar.getDefaultCalendar("EVENT");
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>Calendar_removeBatch_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_removeBatch_missarg
//==== LABEL Check whether 'removeBatch' method called with invalid arguments throws an exception
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
test(function () {
var events = createTestEvents(),
eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
-
<head>
<title>Calendar_removeBatch_successCallback_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_removeBatch_successCallback_TypeMismatch
//==== LABEL Test successCallback argument in removeBatch, whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), i,
calendar, eventInit1, eventInit2, calendarEvent1, calendarEvent2, successCallback, conversionTable, exceptionName;
+
t.step(function () {
successCallback = t.step_func(function () {
});
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>Calendar_removeBatch_successCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_removeBatch_successCallback_invalid_cb
//==== LABEL Check if Calendar.removeBatch method throws exception when successCallback is invalid
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title),
calendar, eventInit, calendarEvent;
+
t.step(function () {
eventInit = {description:"HTML5 Introduction",
summary:"HTML5 Webinar ",
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>Calendar_removeBatch_with_successCallback</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check whether 'removeBatch' method correctly deletes several task items from the CalendarTask object asynchronously with successCallback
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MR
+
var t = async_test(document.title), calendar, eventInit1,
eventInit2, ev1, ev2, successCallback, returnedValue = null;
+
t.step(function () {
successCallback = t.step_func(function () {
assert_equals(returnedValue, undefined, "Incorect returned value from removeBatch()");
-->
<html>
-
<head>
<title>Calendar_removeBatch_without_callbacks</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_removeBatch_without_callbacks
//==== LABEL Check whether 'removeBatch' method correctly deletes several task items from the CalendarTask object asynchronously without callbacks
//==== SPEC Tizen Web API:Social:Calendar:Calendar:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
+
var t = async_test(document.title),
calendar, ev1, ev2, returnedValue = null;
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
-
<head>
<title>Calendar_removeChangeListener</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== 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
//==== ONLOAD_DELAY 10
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MAST MR
+
setup({timeout: 10000});
var t = async_test(document.title, {timeout: 10000}),
Karol Surma <k.surma@samsung.com>
-->
+
<html>
<head>
<title>Calendar_removeChangeListener_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method removeChangeListener of Calendar exists
//==== 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
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("removeChangeListener" in calendar, "No removeChangeListener method in calendar");
check_method_exists(calendar, "removeChangeListener");
}, document.title);
//==== LABEL Check whether removeChangeListener() silently fails with an invalid argument
//==== 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
-//==== PRIORITY: P2
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT"), watchID = 21474836471;
+
try {
calendar.removeChangeListener(watchID);
} catch (e) {
assert_unreached("Should not throw any exceptions, but threw " + e.name);
- }
+ }
}, document.title);
+
</script>
</body>
</html>
Hyukin Kwon <hyukin.kwon@samsung.com>
-->
+
<html>
<head>
<title>Calendar_removeChangeListener_missarg</title>
//==== LABEL Check whether removeChangeListener() silently fails with no arguments
//==== 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
-//==== PRIORITY: P2
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
try {
calendar.removeChangeListener();
} catch (e) {
assert_unreached("Should not throw any exceptions, but threw " + e.name);
- }
+ }
}, document.title);
</script>
Authors:
Tomasz Kusmierz <t.kusmierz@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_remove_Event</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_remove_Event
//==== LABEL Check whether 'remove' method correctly deletes event from the Calendar
//==== SPEC Tizen Web API:Social:Calendar:Calendar:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MAST
+
var t = async_test(document.title, {timeout: 5000}), calendarEvent,
calendar, eventSearchSuccessCallback, eventSearchErrorCallback, filter;
<head>
<title>Calendar_remove_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method remove of Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:Calendar:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("remove" in calendar, "No remove method in calendar");
check_method_exists(calendar, "remove");
}, document.title);
//==== LABEL Check argument id conversions exception.
//==== SPEC Tizen Web API:Social:Calendar:Calendar:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
test(function () {
-->
<html>
-
<head>
<title>Calendar_remove_id_invalid_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>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_remove_id_invalid_argument
//==== LABEL Check whether 'remove' method (task calendar) called with invalid arguments throws an exception
//==== SPEC Tizen Web API:Social:Calendar:Calendar:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P2
//==== TEST_CRITERIA MC MMA
+
test(function () {
var taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_remove_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
-
//==== TEST: Calendar_remove_missarg
//==== LABEL Check whether 'remove' (event calendar) method called with invalid arguments throws an exception
//==== SPEC Tizen Web API:Social:Calendar:Calendar:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC MMA
+
test(function () {
var eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
-->
<html>
-
<head>
<title>Calendar_taskType_methods_exist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_taskType_methods_exist
//==== LABEL Check if Calendar for task creation exists and implements methods
//==== SPEC Tizen Web API:Social:Calendar:Calendar:add M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P0
-//==== TEST_CRITERIA
+//==== TEST_CRITERIA ME
+
test(function () {
var taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
+
assert_type(taskCalendar.add, "function", "taskCalendar.add presence");
assert_type(taskCalendar.get, "function", "taskCalendar.add presence");
assert_type(taskCalendar.addBatch, "function", "taskCalendar.addBatch presence");
Authors:
Karol Surma <k.surma@samsung.com>
-->
-<html>
+<html>
<head>
<title>Calendar_update</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_update
//==== LABEL Check if event item in CalendarEvent object is updated correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MAST MR
+
var t = async_test(document.title, {timeout: 5000}),
testEvent, summary, eventSearchSuccessCallback, eventSearchErrorCallback,
returnedValue, eventCalendar, filter;
t.step(function () {
-
eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
testEvent = createTestEvent();
eventCalendar.add(testEvent);
<head>
<title>Calendar_updateBatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check whether 'updateBatch' method correctly adds several task items from the CalendarTask object asynchronously
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MAST MR
+
var t = async_test(document.title), addBatchSuccessCB, addBatchErrorCB, events = [],
beforeValues = [], expected = [], returnedValue = null, calendar,
updateBatchErrorCB, findSuccessCB, findErrorCB, filter;
t.step(function (){
-
findSuccessCB = t.step_func(function (events) {
assert_equals(returnedValue, undefined, "Incorect returned value from updateBatch()");
assert_equals(events.length, 2, "Events were not found properly");
-->
<html>
-
<head>
<title>Calendar_updateBatch_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_updateBatch_TypeMismatch
//==== LABEL Check whether 'updateBatch' method called with an invalid argument throws an exception correctly (part 2)
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P2
//==== TEST_CRITERIA MC MMA
+
var t = async_test(document.title), onUpdateBatchSuccessCB, taskCalendar = tizen.calendar.getDefaultCalendar("TASK"),
tasks = [];
+
t.step(function () {
onUpdateBatchSuccessCB = t.step_func(function () {
<head>
<title>Calendar_updateBatch_errorCallback_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_updateBatch_errorCallback_TypeMismatch
//==== LABEL Test errorCallback argument whether type conversion occurs according to Type Conversion Tables in updateBatch method.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), conversionTable,
calendar, successCB, errorCB, i, exceptionName;
+
t.step(function (){
successCB = t.step_func(function (events){
assert_unreached("MismatchError should be thrown.");
<head>
<title>Calendar_updateBatch_errorCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_updateBatch_errorCallback_invalid_cb
//==== LABEL Check whether updateBatch() method incorrectly with invalid errorCallback
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title),
calendar, successCB, errorCB;
+
t.step(function (){
successCB = t.step_func(function (events) {
assert_unreached("Mismatcherror should be called");
</head>
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_updateBatch_errorCallback_invoked
//==== LABEL Check if updateBatch() error callback will be invoked when used with wrong events argument
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MERRCB
var t = async_test(document.title), calendar, eventInit1,
-->
<html>
-
<head>
<title>Calendar_updateBatch_eventType_with_optional_null</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_updateBatch_eventType_with_optional_null
//==== LABEL Check if several event items in CalendarEvent object is updated correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P1
//==== TEST_CRITERIA MMINA
+
var t = async_test(document.title), succCount = 3, onUpdateBatchErrorCB, onUpdateBatchSuccessCB,
i, eventCalendar = tizen.calendar.getDefaultCalendar("EVENT"), events, onAddBatchSuccessCB;
+
t.step(function () {
onUpdateBatchErrorCB = t.step_func(function (response) {
<head>
<title>Calendar_updateBatch_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method updateBatch of Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("updateBatch" in calendar, "No updateBatch method in calendar");
check_method_exists(calendar, "updateBatch");
}, document.title);
<head>
<title>Calendar_updateBatch_items_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_updateBatch_items_TypeMismatch
//==== LABEL Test items argument whether type conversion occurs according to Type Conversion Tables.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title),
conversionTable, calendar, i, exceptionName, events;
+
t.step(function () {
calendar = tizen.calendar.getDefaultCalendar("EVENT");
conversionTable = getTypeConversionExceptions("object", true);
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>Calendar_updateBatch_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Calendar_updateBatch_missarg
//==== LABEL Check whether 'updateBatch' method called with an invalid argument throws an exception correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MMA MC
+
var t = async_test(document.title), onUpdateBatchSuccessCB, events = [], eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
t.step(function () {
<head>
<title>Calendar_updateBatch_successCallback_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_updateBatch_successCallback_TypeMismatch
//==== LABEL Test successCallback argument whether type conversion occurs according to Type Conversion Tables in updateBatch method.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title), calendar, successCB,
exceptionName, i, conversionTable, events = [];
+
t.step(function (){
calendar = tizen.calendar.getDefaultCalendar("EVENT");
conversionTable = getTypeConversionExceptions("object", true);
<head>
<title>Calendar_updateBatch_successCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_updateBatch_successCallback_invalid_cb
//==== LABEL Check if Calendar.updateBatch method throws exception when successCallback is invalid
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
+
var t = async_test(document.title), events = [],
expLocation = "Shanghai", ev, eventInit, calendar, successCB;
+
t.step(function () {
successCB = {
onsuccess: t.step_func(function () {
-->
<html>
-
<head>
<title>Calendar_updateBatch_taskType_with_optional_null</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_updateBatch_taskType_with_optional_null
//==== LABEL Check if several task items in CalendarTask object is updated correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P1
//==== TEST_CRITERIA MOA
+
var t = async_test(document.title),
succCount, onUpdateBatchErrorCB, onUpdateBatchSuccessCB, createdTasks,
onAddBatchSuccessCB, taskCalendar;
+
t.step(function () {
taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
<script>
//==== TEST: Calendar_updateBatch_updateAllInstances_TypeMismatch
//==== LABEL Check whether updateBatch() should be throw exception with invalid type of arguments
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
var t = async_test(document.title), calendar, successCB, errorCB, updateAllInstances,
<head>
<title>Calendar_updateBatch_with_successCallback</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check if Calendar.updateBatch method works correctly with successCallback
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA
+
var t = async_test(document.title), events = [],
expLocation = "Shanghai", ev, eventInit, calendar, successCB;
+
t.step(function (){
successCB = t.step_func(function (events) {
cleanup(calendar);
<head>
<title>Calendar_updateBatch_with_updateAllInstances</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check if Calendar.updateBatch method works correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA
+
var t = async_test(document.title), events = [],
expLocation = "Shanghai", ev, eventInit, calendar, successCB, errorCB;
+
t.step(function (){
successCB = t.step_func(function (events){
cleanup(calendar);
//==== LABEL Check if method updateBatch of Calendar with true as optional argument
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA
var t = async_test(document.title), events = [],
<head>
<title>Calendar_updateBatch_without_optional_arguments</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check whether 'updateBatch' method correctly adds several task items without optional arguments
//==== SPEC Tizen Web API:Social:Calendar:Calendar:updateBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MMINA
+
var t = async_test(document.title), addBatchSuccessCB, events = [], calendar, ev;
t.step(function (){
<head>
<title>Calendar_update_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method update of Calendar exists
//==== SPEC Tizen Web API:Social:Calendar:Calendar:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P0
//==== TEST_CRITERIA ME
+
test(function () {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
+
assert_true("update" in calendar, "No update method in calendar");
check_method_exists(calendar, "update");
}, document.title);
<head>
<title>Calendar_update_item_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: Calendar_update_item_TypeMismatch
//==== LABEL Test item argument whether type conversion occurs according to Type Conversion Tables in update method.
-//==== PRIORITY: P2
//==== SPEC Tizen Web API:Social:Calendar:Calendar:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC
+
var t = async_test(document.title),
badEvent, conversionTable, calendar, i, exceptionName;
+
t.step(function (){
calendar = tizen.calendar.getDefaultCalendar("EVENT");
conversionTable = getTypeConversionExceptions("object", true);
-->
<html>
-
<head>
<title>Calendar_update_item_invalid_type</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_update_item_invalid_type
//==== LABEL Check whether 'update' method called with an invalid argument throws an exception correctly (part 2)
//==== SPEC Tizen Web API:Social:Calendar:Calendar:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P2
//==== TEST_CRITERIA MC MMA
+
test(function () {
var taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
+
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
taskCalendar.update(1);
});
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
taskCalendar.update();
});
-
}, document.title);
</script>
Karol Surma <k.surma@samsung.com>
-->
<html>
-
<head>
<title>Calendar_update_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
-
+<script>
//==== TEST: Calendar_update_missarg
//==== LABEL Check whether 'update' method called with an invalid argument throws an exception correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P2
//==== TEST_CRITERIA MC MMA
+
test(function () {
var eventCalendar = tizen.calendar.getDefaultCalendar("EVENT");
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
eventCalendar.update();
});
-
}, document.title);
</script>
-->
<html>
-
<head>
<title>Calendar_update_updateAllInstances_miscellaneous_values</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
-
+<script>
//==== TEST: Calendar_update_updateAllInstances_miscellaneous_values
//==== LABEL Check if task item in CalendarTask object is updated correctly
//==== SPEC Tizen Web API:Social:Calendar:Calendar:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
//==== PRIORITY P1
//==== TEST_CRITERIA MOA
+
test(function () {
var task = createTestTask(),
taskCalendar = tizen.calendar.getDefaultCalendar("TASK");
+
taskCalendar.add(task);
task.summary = "updated summary";
taskCalendar.update(task, undefined);
taskCalendar.update(task, undefined, 1);
taskCalendar.update(task, 1);
-
}, document.title);
</script>
<head>
<title>Calendar_update_with_updateAllInstances_false</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method update of Calendar with false as optional argument
//==== SPEC Tizen Web API:Social:Calendar:Calendar:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MR
-var eventInit, calendar, ev, evGet, description, returnedValue;
test(function () {
+ var eventInit, calendar, ev, evGet, description, returnedValue;
description = "Description Warsaw " + Math.random() + new Date().getTime();
eventInit = {
<head>
<title>Calendar_update_with_updateAllInstances_true</title>
<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/calendar_common.js"></script>
+<script src="support/unitcommon.js"></script>
+<script src="support/calendar_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== LABEL Check if method update of Calendar with true as optional argument
//==== SPEC Tizen Web API:Social:Calendar:Calendar:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/calendar.html
+//==== PRIORITY P1
//==== TEST_CRITERIA MOA MAST MR
+
var t = async_test(document.title, {timeout: 90000}), eventInit, calendar, ev,
i, evGet, successCallback, errorCallback, description, filter,
returnedValue;
+
setup({timeout: 90000});
t.step(function () {
</description>
<specs>
<spec>
- <spec_assertion interface="CalendarAttendeeInit A" element_type="attribute" element_name="CalendarAttendeeInit" specification="Calendar" section="Social" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="CalendarAttendeeInit" element_type="attribute" element_name="CalendarAttendeeInit" 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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check CalendarAttendee constructor: CalendarAttendeeInit" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarAttendee_constructor">
+ <testcase purpose="Check CalendarAttendee constructor: CalendarAttendeeInit" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarAttendee_constructor">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarAttendee_constructor.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if CalendarAttendee exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarAttendee_exist">
+ <testcase purpose="Check if CalendarAttendee exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="CalendarAttendee_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarAttendee_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if CalendarEventId exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarEventId_exist">
+ <testcase purpose="Check if CalendarEventId exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="CalendarEventId_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEventId_exist.html</test_script_entry>
</description>
</description>
<specs>
<spec>
- <spec_assertion interface="calendarEventInit A" element_type="attribute" element_name="calendarEventInit" specification="Calendar" section="Social" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="calendarEventInit" element_type="attribute" element_name="calendarEventInit" 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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check CalendarEvent constructor: CalendarEventInit" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarEvent_constructor_CalendarEventInit">
+ <testcase purpose="Check CalendarEvent constructor: CalendarEventInit" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarEvent_constructor_CalendarEventInit">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_constructor_CalendarEventInit.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check CalendarEvent constructor: CalendarEvent with stringRepresentation" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarEvent_constructor_stringRepresentation">
+ <testcase purpose="Check CalendarEvent constructor: CalendarEvent with stringRepresentation" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarEvent_constructor_stringRepresentation">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_constructor_stringRepresentation.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method expandRecurrence of CalendarEvent exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarEvent_expandRecurrence_exist">
+ <testcase purpose="Check if method expandRecurrence of CalendarEvent exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="CalendarEvent_expandRecurrence_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_expandRecurrence_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'expandRecurrence' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarEvent_expandRecurrence_missarg">
+ <testcase purpose="Check whether 'expandRecurrence' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarEvent_expandRecurrence_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_expandRecurrence_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if CalendarEvent::expandRecurrence() throws exception when arguments are missing" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarEvent_expandRecurrence_noarg">
+ <testcase purpose="Check if CalendarEvent::expandRecurrence() throws exception when arguments are missing" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarEvent_expandRecurrence_noarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_expandRecurrence_noarg.html</test_script_entry>
</description>
</description>
<specs>
<spec>
- <spec_assertion interface="CalendarItemInit A" element_type="attribute" element_name="CalendarItemInit" specification="Calendar" section="Social" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="CalendarItemInit" element_type="attribute" element_name="CalendarItemInit" 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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method clone of CalendarItem exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarItem_clone_exist">
+ <testcase purpose="Check if method clone of CalendarItem exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="CalendarItem_clone_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_clone_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method convertToString of CalendarItem exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarItem_convertToString_exist">
+ <testcase purpose="Check if method convertToString of CalendarItem exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="CalendarItem_convertToString_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_convertToString_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'convertToString' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarItem_convertToString_missarg_CalendarEvent">
+ <testcase purpose="Check whether 'convertToString' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarItem_convertToString_missarg_CalendarEvent">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_convertToString_missarg_CalendarEvent.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'convertToString' method called with an invalid argument throws an exception correctly (part 2)" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarItem_convertToString_missarg_CalendarTask">
+ <testcase purpose="Check whether 'convertToString' method called with an invalid argument throws an exception correctly (part 2)" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarItem_convertToString_missarg_CalendarTask">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_convertToString_missarg_CalendarTask.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getCalendar of CalendarManager exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarManager_getCalendar_exist">
+ <testcase purpose="Check if method getCalendar of CalendarManager exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="CalendarManager_getCalendar_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendar_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'getCalendar' method called with an invalid argument throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarManager_getCalendar_missarg">
+ <testcase purpose="Check whether 'getCalendar' method called with an invalid argument throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarManager_getCalendar_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendar_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getCalendars of CalendarManager exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarManager_getCalendars_exist">
+ <testcase purpose="Check if method getCalendars of CalendarManager exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="CalendarManager_getCalendars_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendars_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether getCalendars() method called with invalid arguments throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarManager_getCalendars_missarg">
+ <testcase purpose="Check whether getCalendars() method called with invalid arguments throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarManager_getCalendars_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendars_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether getCalendars() method called with invalid arguments throws an exception (part 2)" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarManager_getCalendars_missarg_TASK">
+ <testcase purpose="Check whether getCalendars() method called with invalid arguments throws an exception (part 2)" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarManager_getCalendars_missarg_TASK">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendars_missarg_TASK.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getDefaultCalendar of CalendarManager exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarManager_getDefaultCalendar_exist">
+ <testcase purpose="Check if method getDefaultCalendar of CalendarManager exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="CalendarManager_getDefaultCalendar_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getDefaultCalendar_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'getDefaultCalendar' method called with an invalid argument throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarManager_getDefaultCalendar_missarg">
+ <testcase purpose="Check whether 'getDefaultCalendar' method called with an invalid argument throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarManager_getDefaultCalendar_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getDefaultCalendar_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUnifiedCalendar of CalendarManager exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarManager_getUnifiedCalendar_exist">
+ <testcase purpose="Check if method getUnifiedCalendar of CalendarManager exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="CalendarManager_getUnifiedCalendar_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getUnifiedCalendar_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getUnifiedCalendar method with missing non-optional argument works" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="CalendarManager_getUnifiedCalendar_missarg">
+ <testcase purpose="Check if getUnifiedCalendar method with missing non-optional argument works" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="CalendarManager_getUnifiedCalendar_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getUnifiedCalendar_missarg.html</test_script_entry>
</description>
</description>
<specs>
<spec>
- <spec_assertion interface="CalendarRecurrenceRuleInit A" element_type="attribute" element_name="CalendarRecurrenceRuleInit" specification="Calendar" section="Social" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="CalendarRecurrenceRuleInit" element_type="attribute" element_name="CalendarRecurrenceRuleInit" 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>
</description>
<specs>
<spec>
- <spec_assertion interface="CalendarTaskInit A" element_type="attribute" element_name="CalendarTaskInit" specification="Calendar" section="Social" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="CalendarTaskInit" element_type="attribute" element_name="CalendarTaskInit" 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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check CalendarAlarm constructor: TimeDuration" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_CalendarAlarm_constructor_TimeDuration">
+ <testcase purpose="Check CalendarAlarm constructor: TimeDuration" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarAlarm_constructor_TimeDuration">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarAlarm_constructor_TimeDuration.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:attendees and geolocation and status can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_attendees_geolocation_status">
+ <testcase purpose="Check if attri value:attendees and geolocation and status can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_attendees_geolocation_status">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_attendees_geolocation_status.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:categories and visibility and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_categories_visibility_priority">
+ <testcase purpose="Check if attri value:categories and visibility and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_categories_visibility_priority">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_categories_visibility_priority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:description and duration and geolocation can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_description_duration_geolocation">
+ <testcase purpose="Check if attri value:description and duration and geolocation can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_description_duration_geolocation">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_duration_geolocation.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:description and isAllDay and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_description_isAllDay_organizer">
+ <testcase purpose="Check if attri value:description and isAllDay and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_description_isAllDay_organizer">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_isAllDay_organizer.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:description and progress and startDate can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_description_progress_startDate">
+ <testcase purpose="Check if attri value:description and progress and startDate can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_description_progress_startDate">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_progress_startDate.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value: description and startDate and isAllDay can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_description_startDate_isAllDay">
+ <testcase purpose="Check if attri value: description and startDate and isAllDay can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_description_startDate_isAllDay">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_startDate_isAllDay.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:description and status and startDate can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_description_status_startDate">
+ <testcase purpose="Check if attri value:description and status and startDate can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_description_status_startDate">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_status_startDate.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value: description and summary and location can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_description_summary_location">
+ <testcase purpose="Check if attri value: description and summary and location can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_description_summary_location">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_summary_location.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:duration and location and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_duration_location_priority">
+ <testcase purpose="Check if attri value:duration and location and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_duration_location_priority">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_duration_location_priority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:geolocation and organizer and categories can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_geolocation_organizer_categories">
+ <testcase purpose="Check if attri value:geolocation and organizer and categories can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_geolocation_organizer_categories">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_geolocation_organizer_categories.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:geolocation and status can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_geolocation_status">
+ <testcase purpose="Check if attri value:geolocation and status can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_geolocation_status">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_geolocation_status.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:isAllDay and duration and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_isAllDay_duration_organizer">
+ <testcase purpose="Check if attri value:isAllDay and duration and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_isAllDay_duration_organizer">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_isAllDay_duration_organizer.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:isAllDay and geolocation and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_isAllDay_geolocation_priority">
+ <testcase purpose="Check if attri value:isAllDay and geolocation and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_isAllDay_geolocation_priority">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_isAllDay_geolocation_priority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:isAllDay and priority and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_isAllDay_priority_organizer">
+ <testcase purpose="Check if attri value:isAllDay and priority and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_isAllDay_priority_organizer">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_isAllDay_priority_organizer.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:location and duration and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_location_duration_organizer">
+ <testcase purpose="Check if attri value:location and duration and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_location_duration_organizer">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_location_duration_organizer.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:location and geolocation can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_location_geolocation">
+ <testcase purpose="Check if attri value:location and geolocation can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_location_geolocation">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_location_geolocation.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:location and geolocation and categories can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_location_geolocation_categories">
+ <testcase purpose="Check if attri value:location and geolocation and categories can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_location_geolocation_categories">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_location_geolocation_categories.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:location and organizer and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_location_organizer_priority">
+ <testcase purpose="Check if attri value:location and organizer and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_location_organizer_priority">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_location_organizer_priority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:organizer and categories and visibility can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_organizer_categories_visibility">
+ <testcase purpose="Check if attri value:organizer and categories and visibility can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_organizer_categories_visibility">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_organizer_categories_visibility.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:organizer and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_organizer_priority">
+ <testcase purpose="Check if attri value:organizer and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_organizer_priority">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_organizer_priority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:organizer and visibility and attendees can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_organizer_visibility_attendees">
+ <testcase purpose="Check if attri value:organizer and visibility and attendees can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_organizer_visibility_attendees">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_organizer_visibility_attendees.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value: progress and isAllDay and location can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_progress_isAllDay_location">
+ <testcase purpose="Check if attri value: progress and isAllDay and location can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_progress_isAllDay_location">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_progress_isAllDay_location.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:progress and status and attendees can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_progress_status_attendees">
+ <testcase purpose="Check if attri value:progress and status and attendees can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_progress_status_attendees">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_progress_status_attendees.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:progress and visibility and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_progress_visibility_organizer">
+ <testcase purpose="Check if attri value:progress and visibility and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_progress_visibility_organizer">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_progress_visibility_organizer.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:startDate and categories and location can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_startDate_categories_location">
+ <testcase purpose="Check if attri value:startDate and categories and location can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_startDate_categories_location">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_startDate_categories_location.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:startDate and duration can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_startDate_duration">
+ <testcase purpose="Check if attri value:startDate and duration can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_startDate_duration">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_startDate_duration.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:startDate and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_startDate_organizer">
+ <testcase purpose="Check if attri value:startDate and organizer can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_startDate_organizer">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_startDate_organizer.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:status and location and isAllDay can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_status_location_isAllDay">
+ <testcase purpose="Check if attri value:status and location and isAllDay can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_status_location_isAllDay">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_status_location_isAllDay.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:status and visibility and attendees can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_status_visibility_attendees">
+ <testcase purpose="Check if attri value:status and visibility and attendees can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_status_visibility_attendees">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_status_visibility_attendees.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:status and visibility and categories can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_status_visibility_categories">
+ <testcase purpose="Check if attri value:status and visibility and categories can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_status_visibility_categories">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_status_visibility_categories.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:status and visibility and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_status_visibility_priority">
+ <testcase purpose="Check if attri value:status and visibility and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_status_visibility_priority">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_status_visibility_priority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:summary and geolocation and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_summary_geolocation_priority">
+ <testcase purpose="Check if attri value:summary and geolocation and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_summary_geolocation_priority">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_summary_geolocation_priority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:summary and location and isAllDay can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_summary_location_isAllDay">
+ <testcase purpose="Check if attri value:summary and location and isAllDay can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_summary_location_isAllDay">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_summary_location_isAllDay.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:summary and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_summary_priority">
+ <testcase purpose="Check if attri value:summary and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_summary_priority">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_summary_priority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:summary and priority and isAllDay can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_summary_priority_isAllDay">
+ <testcase purpose="Check if attri value:summary and priority and isAllDay can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_summary_priority_isAllDay">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_summary_priority_isAllDay.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attri value:visibility and status and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarItem_set_visibility_status_priority">
+ <testcase purpose="Check if attri value:visibility and status and priority can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarItem_set_visibility_status_priority">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_visibility_status_priority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if CalendarManagerObject attri value:location and summary can be set successful.." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarManagerObject_attri_locationandsummary">
+ <testcase purpose="Check if CalendarManagerObject attri value:location and summary can be set successful." type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_CalendarManagerObject_attri_locationandsummary">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarManagerObject_attri_locationandsummary.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check CalendarManager getCalendarDefault method: get event type calendar" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_CalendarManager_getCalendarDefault_event">
+ <testcase purpose="Check CalendarManager getCalendarDefault method: get event type calendar" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarManager_getCalendarDefault_event">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarManager_getCalendarDefault_event.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check CalendarManager getCalendars method: get all event type calendars" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_CalendarManager_getCalendars_event">
+ <testcase purpose="Check CalendarManager getCalendars method: get all event type calendars" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarManager_getCalendars_event">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarManager_getCalendars_event.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check CalendarManager getDefaultCalendar method: get event type default calendar" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_CalendarManager_getDefaultCalendar_event">
+ <testcase purpose="Check CalendarManager getDefaultCalendar method: get event type default calendar" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_CalendarManager_getDefaultCalendar_event">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarManager_getDefaultCalendar_event.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method addBatch of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_addBatch_exist">
+ <testcase purpose="Check if method addBatch of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_addBatch_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addBatch_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'addBatch' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_addBatch_missarg">
+ <testcase purpose="Check whether 'addBatch' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_addBatch_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addBatch_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method addChangeListener of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_addChangeListener_exist">
+ <testcase purpose="Check if method addChangeListener of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_addChangeListener_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addChangeListener_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether addChangeListener() method called with an invalid argument throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_addChangeListener_missarg">
+ <testcase purpose="Check whether addChangeListener() method called with an invalid argument throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_addChangeListener_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addChangeListener_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check Calendar add method: default usage" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_add_Event">
+ <testcase purpose="Check Calendar add method: default usage" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_add_Event">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_add_Event.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method add of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_add_exist">
+ <testcase purpose="Check if method add of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_add_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_add_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'add' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_add_missarg">
+ <testcase purpose="Check whether 'add' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_add_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_add_missarg.html</test_script_entry>
</description>
</description>
<specs>
<spec>
- <spec_assertion interface="constructor C" element_type="constructor" element_name="constructor" specification="Calendar" section="Social" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="Calendar" element_type="constructor" element_name="constructor" specification="Calendar" section="Social" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/contact.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_exist">
+ <testcase purpose="Check if Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="constructor C" element_type="constructor" element_name="constructor" specification="Calendar" section="Social" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="Calendar" element_type="constructor" element_name="constructor" 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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method find of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_find_exist">
+ <testcase purpose="Check if method find of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_find_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_find_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'find' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_find_missarg">
+ <testcase purpose="Check whether 'find' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_find_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_find_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method get of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_get_exist">
+ <testcase purpose="Check if method get of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_get_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_get_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'get' method called with an invalid argument throws an exception correctly (part 2)" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_get_missarg">
+ <testcase purpose="Check whether 'get' method called with an invalid argument throws an exception correctly (part 2)" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_get_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_get_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if Calendar exists and implements methods" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P3" id="Calendar_methods_exist">
+ <testcase purpose="Check if Calendar exists and implements methods" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_methods_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_methods_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method removeBatch of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_removeBatch_exist">
+ <testcase purpose="Check if method removeBatch of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_removeBatch_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeBatch_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'removeBatch' method called with invalid arguments throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_removeBatch_missarg">
+ <testcase purpose="Check whether 'removeBatch' method called with invalid arguments throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_removeBatch_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeBatch_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method removeChangeListener of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_removeChangeListener_exist">
+ <testcase purpose="Check if method removeChangeListener of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_removeChangeListener_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeChangeListener_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method remove of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_remove_exist">
+ <testcase purpose="Check if method remove of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_remove_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_remove_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'remove' (event calendar) method called with invalid arguments throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_remove_missarg">
+ <testcase purpose="Check whether 'remove' (event calendar) method called with invalid arguments throws an exception" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_remove_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_remove_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method updateBatch of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_updateBatch_exist">
+ <testcase purpose="Check if method updateBatch of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_updateBatch_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_updateBatch_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'updateBatch' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_updateBatch_missarg">
+ <testcase purpose="Check whether 'updateBatch' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_updateBatch_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_updateBatch_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method update of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_update_exist">
+ <testcase purpose="Check if method update of Calendar exists" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P0" id="Calendar_update_exist">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_update_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether 'update' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P1" id="Calendar_update_missarg">
+ <testcase purpose="Check whether 'update' method called with an invalid argument throws an exception correctly" type="compliance" status="approved" component="TizenAPI/Social/Calendar" execution_type="auto" priority="P2" id="Calendar_update_missarg">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_update_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarAlarm_description_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarAlarm_exist" priority="P1" purpose="Check if CalendarAlarm exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarAlarm_exist" priority="P0" purpose="Check if CalendarAlarm exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarAlarm_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarAttendee_delegatorURI_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarAttendee_exist" priority="P1" purpose="Check if CalendarAttendee exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarAttendee_exist" priority="P0" purpose="Check if CalendarAttendee exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarAttendee_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEventId_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEventId_exist" priority="P1" purpose="Check if CalendarEventId exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEventId_exist" priority="P0" purpose="Check if CalendarEventId exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEventId_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_availability_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_constructor_CalendarEventInit" priority="P2" purpose="Check CalendarEvent constructor: CalendarEventInit">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_constructor_CalendarEventInit" priority="P1" purpose="Check CalendarEvent constructor: CalendarEventInit">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_constructor_CalendarEventInit.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_constructor_stringRepresentation" priority="P2" purpose="Check CalendarEvent constructor: CalendarEvent with stringRepresentation">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_constructor_stringRepresentation" priority="P1" purpose="Check CalendarEvent constructor: CalendarEvent with stringRepresentation">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_constructor_stringRepresentation.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_expandRecurrence_errorCallback_invoked.html</test_script_entry>
</description>
</testcase> -->
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_expandRecurrence_exist" priority="P1" purpose="Check if method expandRecurrence of CalendarEvent exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_expandRecurrence_exist" priority="P0" purpose="Check if method expandRecurrence of CalendarEvent exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_expandRecurrence_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_expandRecurrence_missarg" priority="P1" purpose="Check whether 'expandRecurrence' method called with an invalid argument throws an exception correctly">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_expandRecurrence_missarg" priority="P2" purpose="Check whether 'expandRecurrence' method called with an invalid argument throws an exception correctly">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_expandRecurrence_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_expandRecurrence_noarg" priority="P1" purpose="Check if CalendarEvent::expandRecurrence() throws exception when arguments are missing">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarEvent_expandRecurrence_noarg" priority="P2" purpose="Check if CalendarEvent::expandRecurrence() throws exception when arguments are missing">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarEvent_expandRecurrence_noarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_clone_CalendarTask.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarItem_clone_exist" priority="P1" purpose="Check if method clone of CalendarItem exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarItem_clone_exist" priority="P0" purpose="Check if method clone of CalendarItem exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_clone_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_convertToString_VCALENDAR_10.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarItem_convertToString_exist" priority="P1" purpose="Check if method convertToString of CalendarItem exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarItem_convertToString_exist" priority="P0" purpose="Check if method convertToString of CalendarItem exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_convertToString_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_convertToString_format_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarItem_convertToString_missarg_CalendarEvent" priority="P1" purpose="Check whether 'convertToString' method called with an invalid argument throws an exception correctly">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarItem_convertToString_missarg_CalendarEvent" priority="P2" purpose="Check whether 'convertToString' method called with an invalid argument throws an exception correctly">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarItem_convertToString_missarg_CalendarEvent.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendar.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getCalendar_exist" priority="P1" purpose="Check if method getCalendar of CalendarManager exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getCalendar_exist" priority="P0" purpose="Check if method getCalendar of CalendarManager exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendar_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendar_id_invalid_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getCalendar_missarg" priority="P1" purpose="Check whether 'getCalendar' method called with an invalid argument throws an exception">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getCalendar_missarg" priority="P2" purpose="Check whether 'getCalendar' method called with an invalid argument throws an exception">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendar_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendars_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getCalendars_exist" priority="P1" purpose="Check if method getCalendars of CalendarManager exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getCalendars_exist" priority="P0" purpose="Check if method getCalendars of CalendarManager exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendars_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getCalendars_missarg" priority="P1" purpose="Check whether getCalendars() method called with invalid arguments throws an exception">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getCalendars_missarg" priority="P2" purpose="Check whether getCalendars() method called with invalid arguments throws an exception">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getCalendars_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getDefaultCalendar_CalendarTask.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getDefaultCalendar_exist" priority="P1" purpose="Check if method getDefaultCalendar of CalendarManager exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getDefaultCalendar_exist" priority="P0" purpose="Check if method getDefaultCalendar of CalendarManager exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getDefaultCalendar_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getDefaultCalendar_missarg" priority="P1" purpose="Check whether 'getDefaultCalendar' method called with an invalid argument throws an exception">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getDefaultCalendar_missarg" priority="P2" purpose="Check whether 'getDefaultCalendar' method called with an invalid argument throws an exception">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getDefaultCalendar_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getUnifiedCalendar.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getUnifiedCalendar_exist" priority="P1" purpose="Check if method getUnifiedCalendar of CalendarManager exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getUnifiedCalendar_exist" priority="P0" purpose="Check if method getUnifiedCalendar of CalendarManager exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getUnifiedCalendar_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getUnifiedCalendar_missarg" priority="P1" purpose="Check if getUnifiedCalendar method with missing non-optional argument works">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="CalendarManager_getUnifiedCalendar_missarg" priority="P2" purpose="Check if getUnifiedCalendar method with missing non-optional argument works">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/CalendarManager_getUnifiedCalendar_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarAlarm_constructor_AbsoluteDate.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarAlarm_constructor_TimeDuration" priority="P2" purpose="Check CalendarAlarm constructor: TimeDuration">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarAlarm_constructor_TimeDuration" priority="P1" purpose="Check CalendarAlarm constructor: TimeDuration">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarAlarm_constructor_TimeDuration.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarEvent_clone.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_attendees_geolocation_status" priority="P3" purpose="Check if attri value:attendees and geolocation and status can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_attendees_geolocation_status" priority="P1" purpose="Check if attri value:attendees and geolocation and status can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_attendees_geolocation_status.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_categories_visibility_priority" priority="P3" purpose="Check if attri value:categories and visibility and priority can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_categories_visibility_priority" priority="P1" purpose="Check if attri value:categories and visibility and priority can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_categories_visibility_priority.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_duration_geolocation" priority="P3" purpose="Check if attri value:description and duration and geolocation can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_duration_geolocation" priority="P1" purpose="Check if attri value:description and duration and geolocation can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_duration_geolocation.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_isAllDay_organizer" priority="P3" purpose="Check if attri value:description and isAllDay and organizer can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_isAllDay_organizer" priority="P1" purpose="Check if attri value:description and isAllDay and organizer can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_isAllDay_organizer.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_progress_startDate" priority="P3" purpose="Check if attri value:description and progress and startDate can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_progress_startDate" priority="P1" purpose="Check if attri value:description and progress and startDate can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_progress_startDate.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_startDate_isAllDay" priority="P3" purpose="Check if attri value: description and startDate and isAllDay can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_startDate_isAllDay" priority="P1" purpose="Check if attri value: description and startDate and isAllDay can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_startDate_isAllDay.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_status_startDate" priority="P3" purpose="Check if attri value:description and status and startDate can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_status_startDate" priority="P1" purpose="Check if attri value:description and status and startDate can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_status_startDate.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_summary_location" priority="P3" purpose="Check if attri value: description and summary and location can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_description_summary_location" priority="P1" purpose="Check if attri value: description and summary and location can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_description_summary_location.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_duration_location_priority" priority="P3" purpose="Check if attri value:duration and location and priority can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_duration_location_priority" priority="P1" purpose="Check if attri value:duration and location and priority can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_duration_location_priority.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_geolocation_organizer_categories" priority="P3" purpose="Check if attri value:geolocation and organizer and categories can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_geolocation_organizer_categories" priority="P1" purpose="Check if attri value:geolocation and organizer and categories can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_geolocation_organizer_categories.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_geolocation_status" priority="P3" purpose="Check if attri value:geolocation and status can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_geolocation_status" priority="P1" purpose="Check if attri value:geolocation and status can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_geolocation_status.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_isAllDay_duration_organizer" priority="P3" purpose="Check if attri value:isAllDay and duration and organizer can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_isAllDay_duration_organizer" priority="P1" purpose="Check if attri value:isAllDay and duration and organizer can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_isAllDay_duration_organizer.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_isAllDay_geolocation_priority" priority="P3" purpose="Check if attri value:isAllDay and geolocation and priority can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_isAllDay_geolocation_priority" priority="P1" purpose="Check if attri value:isAllDay and geolocation and priority can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_isAllDay_geolocation_priority.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_isAllDay_priority_organizer" priority="P3" purpose="Check if attri value:isAllDay and priority and organizer can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_isAllDay_priority_organizer" priority="P1" purpose="Check if attri value:isAllDay and priority and organizer can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_isAllDay_priority_organizer.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_location_duration_organizer" priority="P3" purpose="Check if attri value:location and duration and organizer can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_location_duration_organizer" priority="P1" purpose="Check if attri value:location and duration and organizer can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_location_duration_organizer.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_location_geolocation" priority="P3" purpose="Check if attri value:location and geolocation can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_location_geolocation" priority="P1" purpose="Check if attri value:location and geolocation can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_location_geolocation.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_location_geolocation_categories" priority="P3" purpose="Check if attri value:location and geolocation and categories can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_location_geolocation_categories" priority="P1" purpose="Check if attri value:location and geolocation and categories can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_location_geolocation_categories.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_location_organizer_priority" priority="P3" purpose="Check if attri value:location and organizer and priority can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_location_organizer_priority" priority="P1" purpose="Check if attri value:location and organizer and priority can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_location_organizer_priority.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_organizer_categories_visibility" priority="P3" purpose="Check if attri value:organizer and categories and visibility can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_organizer_categories_visibility" priority="P1" purpose="Check if attri value:organizer and categories and visibility can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_organizer_categories_visibility.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_organizer_priority" priority="P3" purpose="Check if attri value:organizer and priority can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_organizer_priority" priority="P1" purpose="Check if attri value:organizer and priority can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_organizer_priority.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_organizer_visibility_attendees" priority="P3" purpose="Check if attri value:organizer and visibility and attendees can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_organizer_visibility_attendees" priority="P1" purpose="Check if attri value:organizer and visibility and attendees can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_organizer_visibility_attendees.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_progress_isAllDay_location" priority="P3" purpose="Check if attri value: progress and isAllDay and location can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_progress_isAllDay_location" priority="P1" purpose="Check if attri value: progress and isAllDay and location can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_progress_isAllDay_location.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_progress_status_attendees" priority="P3" purpose="Check if attri value:progress and status and attendees can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_progress_status_attendees" priority="P1" purpose="Check if attri value:progress and status and attendees can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_progress_status_attendees.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_progress_visibility_organizer" priority="P3" purpose="Check if attri value:progress and visibility and organizer can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_progress_visibility_organizer" priority="P1" purpose="Check if attri value:progress and visibility and organizer can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_progress_visibility_organizer.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_startDate_categories_location" priority="P3" purpose="Check if attri value:startDate and categories and location can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_startDate_categories_location" priority="P1" purpose="Check if attri value:startDate and categories and location can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_startDate_categories_location.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_startDate_duration" priority="P3" purpose="Check if attri value:startDate and duration can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_startDate_duration" priority="P1" purpose="Check if attri value:startDate and duration can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_startDate_duration.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_startDate_organizer" priority="P3" purpose="Check if attri value:startDate and organizer can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_startDate_organizer" priority="P1" purpose="Check if attri value:startDate and organizer can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_startDate_organizer.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_status_location_isAllDay" priority="P3" purpose="Check if attri value:status and location and isAllDay can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_status_location_isAllDay" priority="P1" purpose="Check if attri value:status and location and isAllDay can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_status_location_isAllDay.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_status_visibility_attendees" priority="P3" purpose="Check if attri value:status and visibility and attendees can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_status_visibility_attendees" priority="P1" purpose="Check if attri value:status and visibility and attendees can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_status_visibility_attendees.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_status_visibility_categories" priority="P3" purpose="Check if attri value:status and visibility and categories can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_status_visibility_categories" priority="P1" purpose="Check if attri value:status and visibility and categories can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_status_visibility_categories.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_status_visibility_priority" priority="P3" purpose="Check if attri value:status and visibility and priority can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_status_visibility_priority" priority="P1" purpose="Check if attri value:status and visibility and priority can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_status_visibility_priority.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_summary_geolocation_priority" priority="P3" purpose="Check if attri value:summary and geolocation and priority can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_summary_geolocation_priority" priority="P1" purpose="Check if attri value:summary and geolocation and priority can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_summary_geolocation_priority.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_summary_location_isAllDay.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_summary_priority" priority="P3" purpose="Check if attri value:summary and priority can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_summary_priority" priority="P1" purpose="Check if attri value:summary and priority can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_summary_priority.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_summary_priority_isAllDay" priority="P3" purpose="Check if attri value:summary and priority and isAllDay can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_summary_priority_isAllDay" priority="P1" purpose="Check if attri value:summary and priority and isAllDay can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_summary_priority_isAllDay.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_visibility_status_priority" priority="P3" purpose="Check if attri value:visibility and status and priority can be set successful.">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarItem_set_visibility_status_priority" priority="P1" purpose="Check if attri value:visibility and status and priority can be set successful.">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarItem_set_visibility_status_priority.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarManagerObject_attri_locationandsummary.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarManager_getCalendarDefault_event" priority="P0" purpose="Check CalendarManager getCalendarDefault method: get event type calendar">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarManager_getCalendarDefault_event" priority="P1" purpose="Check CalendarManager getCalendarDefault method: get event type calendar">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarManager_getCalendarDefault_event.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarManager_getCalendars_event" priority="P0" purpose="Check CalendarManager getCalendars method: get all event type calendars">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarManager_getCalendars_event" priority="P1" purpose="Check CalendarManager getCalendars method: get all event type calendars">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarManager_getCalendars_event.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarManager_getDefaultCalendar_CalendarType_error.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarManager_getDefaultCalendar_event" priority="P0" purpose="Check CalendarManager getDefaultCalendar method: get event type default calendar">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_CalendarManager_getDefaultCalendar_event" priority="P1" purpose="Check CalendarManager getDefaultCalendar method: get event type default calendar">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_CalendarManager_getDefaultCalendar_event.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addBatch_errorCallback_invoked.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_addBatch_exist" priority="P1" purpose="Check if method addBatch of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_addBatch_exist" priority="P0" purpose="Check if method addBatch of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addBatch_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addBatch_items_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_addBatch_missarg" priority="P1" purpose="Check whether 'addBatch' method called with an invalid argument throws an exception correctly">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_addBatch_missarg" priority="P2" purpose="Check whether 'addBatch' method called with an invalid argument throws an exception correctly">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addBatch_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_addChangeListener_exist" priority="P1" purpose="Check if method addChangeListener of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_addChangeListener_exist" priority="P0" purpose="Check if method addChangeListener of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_addChangeListener_missarg" priority="P1" purpose="Check whether addChangeListener() method called with an invalid argument throws an exception">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_addChangeListener_missarg" priority="P2" purpose="Check whether addChangeListener() method called with an invalid argument throws an exception">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addChangeListener_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_addChangeListener_successCallback_invalid_type.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_add_Event" priority="P0" purpose="Check Calendar add method: default usage">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_add_Event" priority="P1" purpose="Check Calendar add method: default usage">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_add_Event.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_add_exist" priority="P1" purpose="Check if method add of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_add_exist" priority="P0" purpose="Check if method add of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_add_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_add_item_invalid_type.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_add_missarg" priority="P1" purpose="Check whether 'add' method called with an invalid argument throws an exception correctly">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_add_missarg" priority="P2" purpose="Check whether 'add' method called with an invalid argument throws an exception correctly">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_add_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_eventType_methods_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_exist" priority="P0" purpose="Check if Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_exist" priority="P1" purpose="Check if Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_find_event_usage.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_find_exist" priority="P1" purpose="Check if method find of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_find_exist" priority="P0" purpose="Check if method find of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_find_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_find_filter_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_find_missarg" priority="P1" purpose="Check whether 'find' method called with an invalid argument throws an exception correctly">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_find_missarg" priority="P2" purpose="Check whether 'find' method called with an invalid argument throws an exception correctly">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_find_missarg.html</test_script_entry>
</description>
<test_script_entry timeout="90">/opt/tct-calendar-tizen-tests/calendar/Calendar_get_NotFoundError.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_get_exist" priority="P1" purpose="Check if method get of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_get_exist" priority="P0" purpose="Check if method get of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_get_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_get_invalid_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_get_missarg" priority="P1" purpose="Check whether 'get' method called with an invalid argument throws an exception correctly (part 2)">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_get_missarg" priority="P2" purpose="Check whether 'get' method called with an invalid argument throws an exception correctly (part 2)">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_get_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_id_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_methods_exist" priority="P3" purpose="Check if Calendar exists and implements methods">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_methods_exist" priority="P0" purpose="Check if Calendar exists and implements methods">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_methods_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeBatch_errorCallback_invoked.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_removeBatch_exist" priority="P1" purpose="Check if method removeBatch of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_removeBatch_exist" priority="P0" purpose="Check if method removeBatch of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeBatch_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeBatch_ids_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_removeBatch_missarg" priority="P1" purpose="Check whether 'removeBatch' method called with invalid arguments throws an exception">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_removeBatch_missarg" priority="P2" purpose="Check whether 'removeBatch' method called with invalid arguments throws an exception">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeBatch_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_removeChangeListener_exist" priority="P1" purpose="Check if method removeChangeListener of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_removeChangeListener_exist" priority="P0" purpose="Check if method removeChangeListener of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_removeChangeListener_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_remove_Event.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_remove_exist" priority="P1" purpose="Check if method remove of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_remove_exist" priority="P0" purpose="Check if method remove of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_remove_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_remove_id_invalid_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_remove_missarg" priority="P1" purpose="Check whether 'remove' (event calendar) method called with invalid arguments throws an exception">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_remove_missarg" priority="P2" purpose="Check whether 'remove' (event calendar) method called with invalid arguments throws an exception">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_remove_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_updateBatch_eventType_with_optional_null.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_updateBatch_exist" priority="P1" purpose="Check if method updateBatch of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_updateBatch_exist" priority="P0" purpose="Check if method updateBatch of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_updateBatch_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_updateBatch_items_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_updateBatch_missarg" priority="P1" purpose="Check whether 'updateBatch' method called with an invalid argument throws an exception correctly">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_updateBatch_missarg" priority="P2" purpose="Check whether 'updateBatch' method called with an invalid argument throws an exception correctly">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_updateBatch_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_updateBatch_with_updateAllInstances_true.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_update_exist" priority="P1" purpose="Check if method update of Calendar exists">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_update_exist" priority="P0" purpose="Check if method update of Calendar exists">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_update_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_update_item_invalid_type.html</test_script_entry>
</description>
</testcase>
- <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_update_missarg" priority="P1" purpose="Check whether 'update' method called with an invalid argument throws an exception correctly">
+ <testcase component="TizenAPI/Social/Calendar" execution_type="auto" id="Calendar_update_missarg" priority="P2" purpose="Check whether 'update' method called with an invalid argument throws an exception correctly">
<description>
<test_script_entry>/opt/tct-calendar-tizen-tests/calendar/Calendar_update_missarg.html</test_script_entry>
</description>