<html>
<head>
<title>CallHistoryChangeCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistoryChangeCallback_notexist
-//==== LABEL: Check if CallHistoryChangeCallback cannot be called in new expression and as a function
+//==== LABEL Check if CallHistoryChangeCallback cannot be called in new expression and as a function
//==== PRIORITY P3
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistoryChangeCallback:CallHistoryChangeCallback U
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA CBNIO
test(function () {
check_no_interface_object("CallHistoryChangeCallback");
-}, "CallHistoryChangeCallback_notexist");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistoryChangeCallback_onadded</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistoryChangeCallback_onadded
-//==== LABEL: Check if CallHistoryChangeCallback onadded is called and if its arguments have proper type
+//==== LABEL Check if CallHistoryChangeCallback onadded is called and if its arguments have proper type
//==== EXECUTION_TYPE manual
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistoryChangeCallback:onadded M
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA CBT CBOA
setup({timeout: 90000});
-var t = async_test("CallHistoryChangeCallback_onadded", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
listener, handle;
t.step(function () {
confirm("Please make a call, end it and then click the button OK");
});
+
</script>
</body>
</html>
<head>
<title>CallHistoryChangeCallback_onchanged</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistoryChangeCallback_onchanged
-//==== LABEL: Check if CallHistoryChangeCallback onchanged is called properly
+//==== LABEL Check if CallHistoryChangeCallback onchanged is called properly
//==== EXECUTION_TYPE: manual
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistoryChangeCallback:onchanged M
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA CBT CBOA
//==== PRE Make an untouched MISSED call
setup({timeout: 90000});
-var t = async_test("CallHistoryChangeCallback_onchanged", { timeout: 90000 }), onListenerCB, handle;
+var t = async_test(document.title, {timeout: 90000}), onListenerCB, handle;
t.step(function () {
onListenerCB = {
confirm("Please touch missed call and then click the button OK");
});
+
</script>
</body>
</html>
<head>
<title>CallHistoryChangeCallback_onremoved</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistoryChangeCallback_onremoved
-//==== LABEL: Check if CallHistoryChangeCallback onremoved is called properly
+//==== LABEL Check if CallHistoryChangeCallback onremoved is called properly
//==== EXECUTION_TYPE: manual
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistoryChangeCallback:onremoved M
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA CBT CBOA
//==== PRE Make a call
-setup({timeout:90000});
-var t = async_test("CallHistoryChangeCallback_onremoved", { timeout: 90000 }), onListenerCB, handle;
+setup({timeout: 90000});
+var t = async_test(document.title, {timeout: 90000}), onListenerCB, handle;
t.step(function () {
onListenerCB = {
confirm("Please remove call and then click the button OK");
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistoryEntry</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistoryEntry
-//==== LABEL check CallHistoryEntry attributes and functions
+//==== LABEL Check CallHistoryEntry attributes and functions
//==== PRIORITY P3
//==== EXECUTION_TYPE: manual
//==== STEP several tests executed from base test
//==== PRE: Make an existence call history
setup({timeout: 90000});
-var t = async_test("CallHistoryEntry", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
onSuccess, onError, result, tmp, i, remotePartie;
t.step(function () {
tizen.callhistory.find(onSuccess, onError);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistoryEntryArraySuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistoryEntryArraySuccessCallback_notexist
-//==== LABEL: Check if CallHistoryEntryArraySuccessCallback cannot be called in new expression and as a function
+//==== LABEL Check if CallHistoryEntryArraySuccessCallback cannot be called in new expression and as a function
//==== PRIORITY P3
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistoryEntryArraySuccessCallback:CallHistoryEntryArraySuccessCallback U
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA CBNIO
test(function () {
check_no_interface_object("CallHistoryEntryArraySuccessCallback");
-}, "CallHistoryEntryArraySuccessCallback_notexist");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
-<title>CallHistoryChangeCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<title>CallHistoryEntryArraySuccessCallback_onsuccess</title>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistoryEntryArraySuccessCallback_onsuccess
-//==== LABEL: Check if CallHistoryEntryArraySuccessCallback onsuccess is called properly
+//==== LABEL Check if CallHistoryEntryArraySuccessCallback onsuccess is called properly
//==== EXECUTION_TYPE: manual
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistoryEntryArraySuccessCallback:onsuccess M
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA CBT CBOA
//==== PRE Make an existence call history
setup({timeout: 90000});
-var t = async_test("CallHistoryEntryArraySuccessCallback_onsuccess", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
onSuccess, onError;
t.step(function () {
tizen.callhistory.find(onSuccess, onError);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistoryEntry_direction_DIALED</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistoryEntry_direction_DIALED", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, expected = "DIALED",
filter = new tizen.AttributeFilter("direction", "EXACTLY", expected);
tizen.callhistory.find(findSuccess, findError, filter);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistoryEntry_direction_MISSED</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistoryEntry_direction_MISSED", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, expected = "MISSED",
filter = new tizen.AttributeFilter("direction", "EXACTLY", expected);
tizen.callhistory.find(findSuccess, findError, filter);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistoryEntry_direction_MISSEDNEW</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistoryEntry_direction_MISSEDNEW", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, expected = "MISSEDNEW",
filter = new tizen.AttributeFilter("direction", "EXACTLY", expected);
tizen.callhistory.find(findSuccess, findError, filter);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistoryEntry_direction_RECEIVED</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistoryEntry_direction_RECEIVED", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, expected = "RECEIVED",
filter = new tizen.AttributeFilter("direction", "EXACTLY", expected);
tizen.callhistory.find(findSuccess, findError, filter);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistoryEntry_direction_REJECTED</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistoryEntry_direction_REJECTED", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, expected = "REJECTED",
filter = new tizen.AttributeFilter("direction", "EXACTLY", expected);
tizen.callhistory.find(findSuccess, findError, filter);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistoryEntry_direction_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistoryEntry_direction_attribute
-//==== LABEL: Check if CallHistoryEntry have direction attribute with proper type, not null
+//==== LABEL Check if CallHistoryEntry have direction attribute with proper type, not null
//==== EXECUTION_TYPE: manual
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistoryEntry:direction A
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA AE AT AVL ASG AN
//==== PRE: Make an existence call history with one new missed call which was not seen
setup({timeout: 90000});
-var t = async_test("CallHistoryEntry_direction_attribute", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
onSuccess, onError, result, i, tmp;
t.step(function () {
tmp = result.direction;
result.direction = null;
- assert_equals(result.direction, tmp ,"possible assign null to direction");
+ assert_equals(result.direction, tmp , "possible assign null to direction");
if(result.direction === "MISSEDNEW") {
result.direction = "MISSED";
tizen.callhistory.find(onSuccess, onError);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistoryEntry_features_VOICECALL</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistoryEntry_features_VOICECALL", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, expected = "VOICECALL",
filter = new tizen.AttributeFilter("features", "EXACTLY", expected);
tizen.callhistory.find(findSuccess, findError, filter);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistoryEntry_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistoryEntry_notexist
-//==== LABEL: Check if CallHistoryEntry cannot be called in new expression and as a function or in new expression
+//==== LABEL Check if CallHistoryEntry cannot be called in new expression and as a function or in new expression
//==== PRIORITY: P3
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistoryEntry:CallHistoryEntry U
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("CallHistoryEntry");
-}, "CallHistoryEntry_notexist");
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
-<title>Callhistory Test: CallHistoryEntry_type_TEL</title>
+<title>CallHistoryEntry_type_TEL</title>
<link rel="author" title="Intel" href="http://www.intel.com" />
<link rel="help" href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html" />
<meta name="flags" content="" />
<meta name="assert" content="Check if attribute type value is TEL" />
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<body>
setup({timeout: 90000});
-var t = async_test("CallHistoryEntry_type_TEL", { timeout: 90000 });
+var t = async_test(document.title, {timeout: 90000}), onSuccess, onError, filter, expected = "TEL";
t.step(function () {
- var onSuccess, onError, filter, expected = "TEL";
filter = new tizen.AttributeFilter("type", "EXACTLY", expected);
tizen.callhistory.find(onSuccess, onError, filter);
});
+
</script>
</body>
</html>
-->
-<html lang="en">
+<html>
<head>
<title>CallHistoryObject_notexist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: CallHistoryObject_notexist
-//==== LABEL check if CallHistoryObject not exist
+//==== LABEL Check if CallHistoryObject not exist
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistoryObject:CallHistoryObject U
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== PRIORITY P3
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("CallHistoryObject");
-}, "CallHistoryObject_notexist");
+}, document.title);
</script>
</body>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
HaoYunfen <yunfenx.hao@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>CallHistory_addChangeListener</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
} finally {
tizen.callhistory.removeChangeListener(handle);
}
-}, "CallHistory_addChangeListener");
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<link rel="help" href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html" />
<meta name="flags" content="" />
<meta name="assert" content="Check if addChangeListener method is exist and can be overriden" />
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA ME
-test(function() {
+test(function () {
assert_true("addChangeListener" in tizen.callhistory, "CallHistory has addChangeListener method");
check_method_exists(tizen.callhistory, "addChangeListener");
-}, "CallHistory_addChangeListener_exist");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>CallHistory_addChangeListener_missarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MMA
-test(function() {
- assert_throws({ name: "TypeMismatchError" }, function () {
+test(function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.callhistory.addChangeListener();
}, "Method should throw an exception");
-}, "CallHistory_addChangeListener_missarg");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>CallHistory_addChangeListener_observer_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MC
-test(function() {
+test(function () {
var conversionTable, observer, exceptionName, i;
conversionTable = getTypeConversionExceptions("object", false);
tizen.callhistory.addChangeListener(observer);
}, exceptionName + " should be thrown - given incorrect listener.");
}
-});
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_addChangeListener_observer_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MTL
-test(function() {
+test(function () {
var exceptionName, incorrectListeners, i, callHistoryChangeCallback;
incorrectListeners = getListenerConversionExceptions(["onadded", "onchanged", "onremoved"]);
callHistoryChangeCallback = incorrectListeners[i][0];
exceptionName = incorrectListeners[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.callhistory.addChangeListener(callHistoryChangeCallback);
}, exceptionName + " should be thrown - given incorrect listener.");
}
-}, "CallHistory_addChangeListener_observer_invalid_cb");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_addChangeListener_observer_onadded_invalid</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_addChangeListener_observer_onadded_invalid
-//==== LABEL check whether invoking 'addChangeListener' method with incorect onadded argument throws exception properly
+//==== LABEL Check whether invoking 'addChangeListener' method with incorect onadded argument throws exception properly
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== TEST_CRITERIA MTL
setup({timeout: 90000});
-var t = async_test("CallHistory_addChangeListener_observer_onadded_invalid", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
listener;
t.step(function () {
})
};
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.callhistory.addChangeListener(listener);
});
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_addChangeListener_observer_onadded_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_addChangeListener_observer_onadded_null
-//==== LABEL check whether addChangeListener() registers listener with null onadded argument
+//==== LABEL Check whether addChangeListener() registers listener with null onadded argument
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== PRIORITY P2
setup({timeout: 90000});
-var t = async_test("CallHistory_addChangeListener_observer_onadded_null", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
listener, exceptionName = "TypeMismatchError";
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_addChangeListener_observer_onadded_undefined</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_addChangeListener_observer_onadded_undefined
-//==== LABEL check whether addChangeListener() registers listener with undefined onadded argument
+//==== LABEL Check whether addChangeListener() registers listener with undefined onadded argument
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== PRIORITY P2
setup({timeout: 90000});
-var t = async_test("CallHistory_addChangeListener_observer_onadded_undefined", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
listener, exceptionName = "TypeMismatchError";
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_addChangeListener_observer_onchanged_invalid</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_addChangeListener_observer_onchanged_invalid
-//==== LABEL check whether invoking 'addChangeListener' method with incorect onchanged argument throws exception properly
+//==== LABEL Check whether invoking 'addChangeListener' method with incorect onchanged argument throws exception properly
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#addChangeListenerid2509112
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MTL
setup({timeout: 90000});
-var t = async_test("CallHistory_addChangeListener_observer_onchanged_invalid", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
listener;
t.step(function () {
onchanged: 1234
};
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.callhistory.addChangeListener(listener);
});
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_addChangeListener_observer_onchanged_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_addChangeListener_observer_onchanged_null
-//==== LABEL check whether addChangeListener() registers listener with null onchanged argument
+//==== LABEL Check whether addChangeListener() registers listener with null onchanged argument
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== PRIORITY P2
setup({timeout: 90000});
-var t = async_test("CallHistory_addChangeListener_observer_onchanged_null", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
listener, exceptionName = "TypeMismatchError";
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_addChangeListener_observer_onchanged_undefined</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_addChangeListener_observer_onchanged_undefined
-//==== LABEL check whether addChangeListener() registers listener with undefined onchanged argument
+//==== LABEL Check whether addChangeListener() registers listener with undefined onchanged argument
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== PRIORITY P2
setup({timeout: 90000});
-var t = async_test("CallHistory_addChangeListener_observer_onchanged_undefined", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
listener, exceptionName = "TypeMismatchError";
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_addChangeListener_onadded</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_addChangeListener_onadded
-//==== LABEL check whether addChangeListener() registers listener with onadded argument
+//==== LABEL Check whether addChangeListener() registers listener with onadded argument
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MMINA MR
} finally {
tizen.callhistory.removeChangeListener(handle);
}
-}, "CallHistory_addChangeListener_onadded");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_addChangeListener_onchanged</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_addChangeListener_onchanged
-//==== LABEL check whether addChangeListener() registers listener with onchanged argument
+//==== LABEL Check whether addChangeListener() registers listener with onchanged argument
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:addChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MMINA MR
} finally {
tizen.callhistory.removeChangeListener(handle);
}
-}, "CallHistory_addChangeListener_onchanged");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>CallHistory_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_extend
-//==== LABEL: Check if callhistory object can have new properties added
+//==== LABEL Check if callhistory object can have new properties added
//==== PRIORITY P3
//==== SPEC: Tizen Web API:Social:Callhistory:CallHistory:CallHistory U
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA OBX
test(function () {
check_extensibility(tizen.callhistory);
-}, "CallHistory_extend");
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
Mariusz Polasinski <m.polasinski@samsung.com>
<html>
<head>
<title>CallHistory_find</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_find", { timeout: 90000 }), returnedValue = null,
+var t = async_test(document.title, {timeout: 90000}), returnedValue = null,
findSuccess, findError;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_errorCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("CallHistory_find_errorCallback_TypeMismatch", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
conversionTable, findSuccess, errorCallback, exceptionName, i;
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_errorCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MTCB
setup({timeout: 90000});
-var t = async_test("CallHistory_find_errorCallback_invalid_cb", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
exceptionName = "TypeMismatchError", findSuccess, incorrectCallback;
t.step(function () {
incorrectCallback = {
- onerror: t.step_func(function(error) {
+ onerror: t.step_func(function (error) {
assert_unreached("Invalid errorCallback invoked: " + error.name + ": " + error.message);
})
};
assert_unreached("find() success callback invoked.");
});
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.callhistory.find(findSuccess, incorrectCallback);
}, exceptionName + "should be thrown - given incorrect error callback.");
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_errorCallback_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_errorCallback_null
-//==== LABEL check whether find() method called with null errorCallback lists CallHistory items
+//==== LABEL Check whether find() method called with null errorCallback lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_errorCallback_null", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, null);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_errorCallback_null_filter</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_errorCallback_null_filter
-//==== LABEL check whether find() method called with null errorCallback and specified filter lists CallHistory items
+//==== LABEL Check whether find() method called with null errorCallback and specified filter lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_errorCallback_null_filter", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, returnedValue = null;
t.step(function () {
});
returnedValue = tizen.callhistory.find(findSuccess, null, FILTER_TYPE_1);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_errorCallback_undefined</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_errorCallback_undefined
-//==== LABEL check whether find() method called with undefined errorCallback lists CallHistory items
+//==== LABEL Check whether find() method called with undefined errorCallback lists CallHistory items
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("CallHistory_find_errorCallback_undefined", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, exceptionName = "TypeMismatchError";
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
-<title>Test: CallHistory_find_exist</title>
+<title>CallHistory_find_exist</title>
<link rel="author" title="Intel" href="http://www.intel.com" />
<meta name="flags" content="" />
<meta name="assert" content="Check if find method is exist and can be overriden" />
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA ME
-test(function() {
+test(function () {
assert_true("find" in tizen.callhistory, "CallHistory has find method");
check_method_exists(tizen.callhistory, "find");
-}, "CallHistory_find_exist");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_filter
-//==== LABEL check if CallHistory items matching the supplied filter are found properly
+//==== LABEL Check if CallHistory items matching the supplied filter are found properly
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, FILTER_TYPE_1);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_TypeMismatch", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
exceptionName = "TypeMismatchError", conversionTable, findSuccess, findError, i, filter;
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter_compositeFilters</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_filter_compositeFilters
-//==== LABEL check whether find() method lists CallHistory items for various composite filters
+//==== LABEL Check whether find() method lists CallHistory items for various composite filters
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_compositeFilters", { timeout: 90000 }),
- findError, findSuccess, i, count = 0, returnedValue;
+var t = async_test(document.title, {timeout: 90000}),
+ findError, findSuccess, i, count = 1, returnedValue;
t.step(function () {
findError = t.step_func(function (error) {
findSuccess = t.step_func(function (results) {
assert_type(results, "array", "Checking type of result");
- if (++count === ARRAY_FILTER_COMPOSITE.length) {
+ if (count === ARRAY_FILTER_COMPOSITE.length) {
t.done();
+ } else {
+ count++;
}
});
assert_equals(returnedValue, undefined, "Incorrect returned value.");
}
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter_invalid_obj</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MTO
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_invalid_obj", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
exceptionName = "TypeMismatchError", findSuccess, findError, filter;
t.step(function () {
t.done();
});
+
</script>
</body>
-
</html>
<html>
<head>
<title>CallHistory_find_filter_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_filter_null
-//==== LABEL check whether find() method called with null filter lists CallHistory items
+//==== LABEL Check whether find() method called with null filter lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_null", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, null);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter_null_sortMode</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_filter_null_sortMode
-//==== LABEL check whether find() method called with null filter and specified sortMode lists CallHistory items
+//==== LABEL Check whether find() method called with null filter and specified sortMode lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_null_sortMode", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, null, SORT_MODE);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter_rangeFilters</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_filter_rangeFilters
-//==== LABEL check whether find() method lists CallHistory items for various range filters
+//==== LABEL Check whether find() method lists CallHistory items for various range filters
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_rangeFilters", { timeout: 90000 }),
- findError, findSuccess, i, count = 0, returnedValue;
+var t = async_test(document.title, {timeout: 90000}),
+ findError, findSuccess, i, count = 1, returnedValue;
t.step(function () {
findError = t.step_func(function (error) {
findSuccess = t.step_func(function (results) {
assert_type(results, "array", "Checking type of result");
- if (++count === ARRAY_FILTER_RANGE.length) {
+ if (count === ARRAY_FILTER_RANGE.length) {
t.done();
+ } else {
+ count++;
}
});
assert_equals(returnedValue, undefined, "Incorrect returned value");
}
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter_sortMode_limit_null_offset</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_filter_sortMode_limit_null_offset
-//==== LABEL check whether find() method called with null filter, sortMode, limit and specified offset lists CallHistory items
+//==== LABEL Check whether find() method called with null filter, sortMode, limit and specified offset lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_sortMode_limit_null_offset", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, null, null, null, OFFSET);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter_sortMode_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_filter_sortMode_null
-//==== LABEL check whether find() method called with null filter, null sortMode and specified limit lists CallHistory items
+//==== LABEL Check whether find() method called with null filter, null sortMode and specified limit lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_sortMode_null", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, null, null, LIMIT);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter_undefined</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_filter_undefined
-//==== LABEL check whether find() method called with undefined filter lists CallHistory items
+//==== LABEL Check whether find() method called with undefined filter lists CallHistory items
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_undefined", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, exceptionName = "TypeMismatchError";
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_filter_various</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_filter_various
-//==== LABEL check whether find() method lists CallHistory items for various filters
+//==== LABEL Check whether find() method lists CallHistory items for various filters
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_filter_various", { timeout: 90000 }),
- findError, findSuccess, i, count = 0, returnedValue;
+var t = async_test(document.title, {timeout: 90000}),
+ findError, findSuccess, i, count = 1, returnedValue;
t.step(function () {
findError = t.step_func(function (error) {
findSuccess = t.step_func(function (results) {
assert_type(results, "array", "Checking type of result");
- if (++count === ARRAY_FILTER.length) {
+ if (count === ARRAY_FILTER.length) {
t.done();
+ } else {
+ count++;
}
});
assert_equals(returnedValue, undefined, "Incorrect returned value");
}
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_limit</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_limit
-//==== LABEL check whether find() method called with successCallback, errorCallback, filter, sortMode and limit lists CallHistory items
+//==== LABEL Check whether find() method called with successCallback, errorCallback, filter, sortMode and limit lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_limit", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, FILTER_TYPE_1, SORT_MODE, LIMIT);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistory_find_limit_0</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_find_limit_0", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, findAfterSuccess, findAfterError, len, returnedValue = null;
-t.step(function() {
+t.step(function () {
findAfterSuccess = t.step_func(function (results) {
assert_type(results, "array", "Checking type of result");
assert_equals(results.length, len, "expect no limit the query result");
tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_limit_1</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_limit_1
-//==== LABEL check whether find() method called with additional arguments lists CallHistory items
+//==== LABEL Check whether find() method called with additional arguments lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_limit_1", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, FILTER_TYPE_1, SORT_MODE, 1);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistory_find_limit_2</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_find_limit_2", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, findAfterSuccess, findAfterError, len = 2,
returnedValue = null;
tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_limit_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_limit_null
-//==== LABEL check whether find() method called with null filter, sortMode and limit lists CallHistory items
+//==== LABEL Check whether find() method called with null filter, sortMode and limit lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_limit_null", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, null, null, null);
});
+
</script>
</body>
</html>
<head>
<title>CallHistory_find_missarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MMA
-test(function() {
- assert_throws({ name: "TypeMismatchError" }, function () {
+test(function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.callhistory.find();
}, "Method should throw an exception");
-}, "CallHistory_find_missarg");
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
HaoYunfen <yunfenx.hao@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
<html>
<head>
<title>CallHistory_find_nullableArgs_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_find_nullableArgs_null", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, null, null, null, null, null);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_offset</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_offset
-//==== LABEL check whether find() method called with successCallback, errorCallback, filter, sortMode limit and offset lists CallHistory items
+//==== LABEL Check whether find() method called with successCallback, errorCallback, filter, sortMode limit and offset lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_offset", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, FILTER_TYPE_1, SORT_MODE, LIMIT, OFFSET);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_offset_0</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_offset_0
-//==== LABEL check if find() method calls successCallback function properly for offset equal 0
+//==== LABEL Check if find() method calls successCallback function properly for offset equal 0
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_offset_0", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, lowerOffset = 0, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, FILTER_TYPE_1, SORT_MODE, LIMIT, lowerOffset);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_offset_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_offset_null
-//==== LABEL check whether find() method called with null filter, sortMode, limit and offset lists CallHistory items
+//==== LABEL Check whether find() method called with null filter, sortMode, limit and offset lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_offset_null", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, null, null, null, null);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_sortMode</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_sortMode
-//==== LABEL check whether find() method called with successCallback, errorCallback, filter and sortMode lists CallHistory items
+//==== LABEL Check whether find() method called with successCallback, errorCallback, filter and sortMode lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_sortMode", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, FILTER_TYPE_1, SORT_MODE);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_sortMode_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("CallHistory_find_sortMode_TypeMismatch", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
exceptionName = "TypeMismatchError", conversionTable, findSuccess, findError, i, sortMode;
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_sortMode_invalid_obj</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MTO
setup({timeout: 90000});
-var t = async_test("CallHistory_find_sortMode_invalid_obj", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
exceptionName = "TypeMismatchError", findSuccess, findError, filter, sortMode;
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_sortMode_null</title>nulln
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_sortMode_null
-//==== LABEL check whether find() method called with null filter and sortMode lists CallHistory items
+//==== LABEL Check whether find() method called with null filter and sortMode lists CallHistory items
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_sortMode_null", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, returnedValue = null;
t.step(function () {
returnedValue = tizen.callhistory.find(findSuccess, findError, null, null);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_sortMode_undefined</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_sortMode_undefined
-//==== LABEL check whether find() method called with null filter and undefined sortMode lists CallHistory items
+//==== LABEL Check whether find() method called with null filter and undefined sortMode lists CallHistory items
//==== PRIORITY P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("CallHistory_find_sortMode_undefined", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, exceptionName = "TypeMismatchError";
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_successCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("CallHistory_find_successCallback_TypeMismatch", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
conversionTable, successCallback, exceptionName, i;
t.step(function () {
t.done();
});
+
</script>
</body>
</html>
<head>
<title>CallHistory_find_successCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
}
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.callhistory.find(incorrectCallback);
}, exceptionName + " should be thrown - given incorrect success callback.");
-}, "CallHistory_find_successCallback_invalid_cb");
+}, document.title);
</script>
</body>
<html>
<head>
<title>CallHistory_find_with_errorCallback</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MOA
setup({timeout: 90000});
-var t = async_test("CallHistory_find_with_errorCallback", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, returnedValue = null;
-t.step(function() {
+t.step(function () {
findError = t.step_func(function (error) {
assert_unreached("find() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
returnedValue = tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
<head>
<title>CallHistory_find_with_filter</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_with_filter", { timeout: 90000 }), returnedValue = null,
+var t = async_test(document.title, {timeout: 90000}), returnedValue = null,
findSuccess, findError, filter = new tizen.AttributeFilter("type", "EXACTLY", "TEL");
-t.step(function() {
+t.step(function () {
findError = t.step_func(function (error) {
assert_unreached("find() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
returnedValue = tizen.callhistory.find(findSuccess, findError, filter);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_with_limit</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_with_limit", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, returnedValue = null;
-t.step(function() {
+t.step(function () {
findError = t.step_func(function (error) {
assert_unreached("find() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
returnedValue = tizen.callhistory.find(findSuccess, findError, null, null, 1);
});
+
</script>
</body>
</html>
<head>
<title>CallHistory_find_with_offset</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_with_offset", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, returnedValue = null;
-t.step(function() {
+t.step(function () {
findError = t.step_func(function (error) {
assert_unreached("find() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
returnedValue = tizen.callhistory.find(findSuccess, findError, null, null, 1, 1);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_with_sortMode</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
//==== TEST_CRITERIA MOA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_with_sortMode", { timeout: 90000 }), returnedValue = null,
+var t = async_test(document.title, {timeout: 90000}), returnedValue = null,
findSuccess, findError, sortMode = new tizen.SortMode("startTime", "DESC");
-t.step(function() {
+t.step(function () {
findError = t.step_func(function (error) {
assert_unreached("find() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
returnedValue = tizen.callhistory.find(findSuccess, findError, null, sortMode);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_find_without_errorCallback</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_find_without_errorCallback
-//==== LABEL check if find() method calls successCallback function properly
+//==== LABEL Check if find() method calls successCallback function properly
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:find M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MMINA MR
setup({timeout: 90000});
-var t = async_test("CallHistory_find_without_errorCallback", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, returnedValue = null;
-t.step(function() {
+t.step(function () {
findSuccess = t.step_func(function (results) {
assert_type(results, "array", "Checking type of result");
assert_equals(returnedValue, undefined, "Incorrect returned value");
returnedValue = tizen.callhistory.find(findSuccess);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_in_tizen</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_in_tizen
-//==== LABEL check if CallHistory exists and implements methods
+//==== LABEL Check if CallHistory exists and implements methods
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:CallHistory U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA OBME
assert_type(tizen.callhistory.removeAll, "function", "Checking type of removeAll");
assert_type(tizen.callhistory.addChangeListener, "function", "Checking type of addChangeListener");
assert_type(tizen.callhistory.removeChangeListener, "function", "Checking type of removeChangeListener");
-}, "CallHistory_in_tizen");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("CallHistory");
-}, "CallHistory_notexist");
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
Mariusz Polasinski <m.polasinski@samsung.com>
<html>
<head>
<title>CallHistory_remove</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_remove", { timeout: 90000 }), retVal = null,
+var t = async_test(document.title, {timeout: 90000}), retVal = null,
removedUid, findSuccess, findError, findAfterSuccess, findAfterError, i =0;
t.step(function () {
tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
Mariusz Polasinski <m.polasinski@samsung.com>
<html>
<head>
<title>CallHistory_removeAll</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
tizen.callhistory.removeAll();
-}, "CallHistory_removeAll");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeAll_errorCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeAll M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MC
-test(function() {
+test(function () {
var conversionTable, successCallback, errorCallback, exceptionName, i;
conversionTable = getTypeConversionExceptions("functionObject", true);
tizen.callhistory.removeAll(successCallback, errorCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
-});
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeAll_errorCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeAll M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MTCB
-test(function() {
+test(function () {
var exceptionName = "TypeMismatchError", onSuccess, incorrectCallback;
onSuccess = function () {
}
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.callhistory.removeAll(onSuccess, incorrectCallback);
}, exceptionName + " should be thrown");
-}, "CallHistory_removeAll_errorCallback_invalid_cb");
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<link rel="author" title="Intel" href="http://www.intel.com" />
<meta name="flags" content="" />
<meta name="assert" content="Check if removeAll method is exist and can be overriden" />
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeAll M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA ME
-test(function() {
+test(function () {
assert_true("removeAll" in tizen.callhistory, "CallHistory has removeAll method");
check_method_exists(tizen.callhistory, "removeAll");
-}, "CallHistory_removeAll_exist");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeAll_successCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeAll M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MC
-test(function() {
+test(function () {
var conversionTable, successCallback, exceptionName, i;
conversionTable = getTypeConversionExceptions("functionObject", true);
tizen.callhistory.removeAll(successCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
-});
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeAll_successCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeAll M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MTCB
-test(function() {
+test(function () {
var exceptionName = "TypeMismatchError", incorrectCallback;
incorrectCallback = {
}
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.callhistory.removeAll(incorrectCallback);
}, exceptionName + " should be thrown");
-}, "CallHistory_removeAll_successCallback_invalid_cb");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeAll_with_errorCallback</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MOA
setup({timeout: 90000});
-var t = async_test("CallHistory_removeAll_with_errorCallback", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
removeAllSuccess, removeAllError;
-t.step(function() {
+t.step(function () {
removeAllSuccess = t.step_func(function () {
t.done();
});
tizen.callhistory.removeAll(removeAllSuccess, removeAllError);
});
+
</script>
</body>
</html>
-->
-<html lang="en">
+<html>
<head>
<meta charset="utf-8"/>
<title>CallHistory_removeAll_with_successCallback</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_removeAll", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, removeAllSuccess, removeAllError, findAfterSuccess,
findAfterError, retVal = null;
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistory_removeBatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_removeBatch", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
onListenerCB, findSuccess, findError, findAfterSuccess, findAfterError,
returnedValue = null, handle, i = 0;
handle = tizen.callhistory.addChangeListener(onListenerCB);
tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
<head>
<title>CallHistory_removeBatch_entries_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MC
-test(function() {
+test(function () {
var conversionTable, entries, exceptionName, i;
conversionTable = getTypeConversionExceptions("array", false);
tizen.callhistory.removeBatch(entries);
}, exceptionName + " should be thrown - given incorrect entries.");
}
-});
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>CallHistory_removeBatch_errorCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MC
-test(function() {
+test(function () {
var conversionTable, successCallback, errorCallback, exceptionName, i;
conversionTable = getTypeConversionExceptions("functionObject", true);
tizen.callhistory.removeBatch([], successCallback, errorCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
-});
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeBatch_errorCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MTCB
-test(function() {
+test(function () {
var exceptionName = "TypeMismatchError", onSuccess, incorrectCallback;
- onSuccess = function() {
+ onSuccess = function () {
assert_unreached("successCallback invoked");
};
}
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.callhistory.removeBatch([], onSuccess, incorrectCallback);
}, exceptionName + " should be thrown");
-}, "CallHistory_removeBatch_errorCallback_invalid_cb");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeBatch_errorCallback_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_removeBatch_errorCallback_null
-//==== LABEL check whether removeBatch() method called with null errorCallback deletes two entries from call history entries
+//==== LABEL Check whether removeBatch() method called with null errorCallback deletes two entries from call history entries
//==== EXECUTION_TYPE manual
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
setup({timeout: 90000});
-var t = async_test("CallHistory_removeBatch_errorCallback_null", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findError, findSuccess, removeBatchSuccess, secondFindError,
secondFindSuccess, list, filter;
tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
<head>
<title>CallHistory_removeBatch_errorCallback_undefined</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_removeBatch_errorCallback_undefined
-//==== LABEL check whether removeBatch() method called with undefined errorCallback throws exception
+//==== LABEL Check whether removeBatch() method called with undefined errorCallback throws exception
//==== EXECUTION_TYPE manual
//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== PRE Make at least 3 existence call history
setup({timeout: 90000});
-var this_test = async_test("CallHistory_removeBatch_errorCallback_undefined", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
onError, removeSuccessCB, successCB, list, exceptionName = "TypeMismatchError";
-this_test.step(function () {
- successCB = this_test.step_func(function () {
+t.step(function () {
+ successCB = t.step_func(function () {
assert_unreached("should not be here");
});
- onError = this_test.step_func(function (error) {
+ onError = t.step_func(function (error) {
assert_unreached("find has an error: " + error.message);
});
- removeSuccessCB = this_test.step_func(function (results) {
+ removeSuccessCB = t.step_func(function (results) {
assert_type(results, "array", "Results should be an array");
assert_true(results.length > 2, "Expected 3 calls in history at least, but found: " + results.length);
list = [results[0], results[1]];
tizen.callhistory.removeBatch(list, successCB, undefined);
}, exceptionName + " should be thrown");
- this_test.done();
+ t.done();
});
tizen.callhistory.find(removeSuccessCB, onError);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<link rel="author" title="Intel" href="http://www.intel.com" />
<meta name="flags" content="" />
<meta name="assert" content="Check if removeBatch method is exist and can be overriden" />
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA ME
-test(function() {
+test(function () {
assert_true("removeBatch" in tizen.callhistory, "CallHistory has removeBatch method");
check_method_exists(tizen.callhistory, "removeBatch");
-}, "CallHistory_removeBatch_exist");
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistory_removeBatch_findByDirection</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_removeBatch_findByDirection", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, removeBatchSuccess, removeBatchError, findAfterSuccess, findAfterError,
filter = new tizen.AttributeFilter("direction", "EXACTLY", "REJECTED");
tizen.callhistory.find(findSuccess, findError, filter);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistory_removeBatch_findByType</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_removeBatch_findByType", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, removeBatchSuccess, removeBatchError, findAfterSuccess, findAfterError,
filter = new tizen.AttributeFilter("type", "EXACTLY", "TEL");
tizen.callhistory.find(findSuccess, findError, filter);
});
+
</script>
</body>
</html>
<head>
<title>CallHistory_removeBatch_missarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MMA
-test(function() {
- assert_throws({ name: "TypeMismatchError" }, function () {
+test(function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.callhistory.removeBatch();
}, "Method should throw an exception");
-}, "CallHistory_removeBatch_missarg");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>CallHistory_removeBatch_successCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MC
-test(function() {
+test(function () {
var conversionTable, successCallback, exceptionName, i;
conversionTable = getTypeConversionExceptions("functionObject", true);
tizen.callhistory.removeBatch([], successCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
-});
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeBatch_successCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MTCB
-test(function() {
+test(function () {
var exceptionName = "TypeMismatchError", incorrectCallback;
incorrectCallback = {
}
};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.callhistory.removeBatch([], incorrectCallback);
}, exceptionName + " should be thrown");
-}, "CallHistory_removeBatch_successCallback_invalid_cb");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeBatch_successCallback_null</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_removeBatch_successCallback_null
-//==== LABEL check whether removeBatch() method called with null successCallback deletes two entries from call history
+//==== LABEL Check whether removeBatch() method called with null successCallback deletes two entries from call history
//==== EXECUTION_TYPE manual
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
setup({timeout: 90000});
-var t = async_test("CallHistory_removeBatch_successCallback_null", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
removeBatchError, findSuccess, findError, list;
t.step(function () {
tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeBatch_successCallback_undefined</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_removeBatch_successCallback_undefined
-//==== LABEL check whether removeBatch() method called with undefined successCallback throws exception
+//==== LABEL Check whether removeBatch() method called with undefined successCallback throws exception
//==== EXECUTION_TYPE manual
//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeBatch M
setup({timeout: 90000});
-var this_test = async_test("CallHistory_removeBatch_successCallback_undefined", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, removeBatchError, list, exceptionName = "TypeMismatchError";
-this_test.step(function () {
- removeBatchError = this_test.step_func(function (error) {
+t.step(function () {
+ removeBatchError = t.step_func(function (error) {
assert_unreached("removeBatch() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
- findError = this_test.step_func(function (error) {
+ findError = t.step_func(function (error) {
assert_unreached("find() error callback invoked: name: " + error.name + ", msg: " + error.message);
});
- findSuccess = this_test.step_func(function (results) {
+ findSuccess = t.step_func(function (results) {
assert_type(results, "array", "Results should be an array");
assert_true(results.length > 2, "Expected 3 calls in history at least, but found: " + results.length);
list = [results[0], results[1]];
tizen.callhistory.removeBatch(list, undefined, removeBatchError);
}, exceptionName + " should be thrown");
- return this_test.done();
+ t.done();
});
tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
<head>
<title>CallHistory_removeBatch_with_errorCallback</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_removeBatch_with_errorCallback", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, removeBatchSuccess, removeBatchError,
findAfterSuccess, findAfterError;
tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeBatch_with_successCallback</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_removeBatch_with_successCallback", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, removeBatchSuccess, retVal = null;
t.step(function () {
tizen.callhistory.find(findSuccess, findError);
});
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
HaoYunfen <yunfenx.hao@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
<html>
<head>
<title>CallHistory_removeChangeListener</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
var changeListener = {
- onadded: function(newItems) {},
- onchanged: function(changedItems) {},
- onremoved: function(removedItems) {}
+ onadded: function (newItems) {},
+ onchanged: function (changedItems) {},
+ onremoved: function (removedItems) {}
}, handle, retVal;
handle = tizen.callhistory.addChangeListener(changeListener);
retVal = tizen.callhistory.removeChangeListener(handle);
assert_equals(retVal, undefined, "removeChangeListener should return undefined");
-}, "CallHistory_removeChangeListener");
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<link rel="author" title="Intel" href="http://www.intel.com" />
<meta name="flags" content="" />
<meta name="assert" content="Check if removeChangeListener method is exist and can be overriden" />
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA ME
-test(function() {
+test(function () {
assert_true("removeChangeListener" in tizen.callhistory, "CallHistory has removeChangeListener method");
check_method_exists(tizen.callhistory, "removeChangeListener");
-}, "CallHistory_removeChangeListener_exist");
-// Check if removeChangeListener method is exist and can be overriden
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>CallHistory_removeChangeListener_handle_InvalidValue</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: CallHistory_removeChangeListener_handle_InvalidValue
-//==== LABEL check whether invoking 'removeChangeListener' method with improper argument throws exception properly
+//==== LABEL Check whether invoking 'removeChangeListener' method with improper argument throws exception properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:removeChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA
test(function () {
- assert_throws({
- name: INVALID_VALUES_ERR
- }, function () {
+ assert_throws(INVALID_VALUES_EXCEPTION, function () {
tizen.callhistory.removeChangeListener("string");
});
- assert_throws({
- name: INVALID_VALUES_ERR
- }, function () {
+ assert_throws(INVALID_VALUES_EXCEPTION, function () {
tizen.callhistory.removeChangeListener(null);
});
- assert_throws({
- name: INVALID_VALUES_ERR
- }, function () {
+ assert_throws(INVALID_VALUES_EXCEPTION, function () {
tizen.callhistory.removeChangeListener(undefined);
});
-}, "CallHistory_removeChangeListener_handle_InvalidValue");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>CallHistory_remove_entry_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
tizen.callhistory.remove(entry);
}, exceptionName + "should be thrown - given incorrect entry.");
}
-});
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Guan,JingX <jingx.guan@intel.com>
+ Guan, JingX <jingx.guan@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<link rel="author" title="Intel" href="http://www.intel.com" />
<meta name="flags" content="" />
<meta name="assert" content="Check if remove method is exist and can be overriden" />
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA ME
-test(function() {
+test(function () {
assert_true("remove" in tizen.callhistory, "CallHistory has remove method");
check_method_exists(tizen.callhistory, "remove");
-}, "CallHistory_remove_exist");
+}, document.title);
+
</script>
</body>
</html>
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Authors:
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>CallHistory_remove_findBySortMode</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/callcommon.js"></script>
</head>
setup({timeout: 90000});
-var t = async_test("CallHistory_remove_findBySortMode", { timeout: 90000 }),
+var t = async_test(document.title, {timeout: 90000}),
findSuccess, findError, findAfterSuccess, findAfterError, sortMode, i = 0,
removedUid, sortMode = new tizen.SortMode("startTime", "DESC");
tizen.callhistory.find(findSuccess, findError, null, sortMode);
});
+
</script>
</body>
</html>
<head>
<title>CallHistory_remove_missarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC Tizen Web API:Social:Callhistory:CallHistory:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA MMA
-test(function() {
- assert_throws({ name: "TypeMismatchError" }, function () {
+test(function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.callhistory.remove();
}, "Method should throw an exception");
-}, "CallHistory_remove_missarg");
+}, document.title);
+
</script>
</body>
</html>
<html>
<head>
<title>RemoteParty_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: RemoteParty_notexist
-//==== LABEL: Check if RemoteParty cannot be called in new expression and as a function or in new expression
+//==== LABEL Check if RemoteParty cannot be called in new expression and as a function or in new expression
//==== PRIORITY: P3
//==== SPEC: Tizen Web API:Social:Callhistory:RemoteParty:RemoteParty U
-//==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("RemoteParty");
-}, "RemoteParty_notexist");
+}, document.title);
+
</script>
</body>
</html>
--- /dev/null
+/*
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+
+ */
+
+
+MIN_BYTE = -128;
+MAX_BYTE = 127;
+MIN_OCTET = 0;
+MAX_OCTET = 255;
+MIN_SHORT = -32768;
+MAX_SHORT = 32767;
+MIN_UNSIGNED_SHORT = 0;
+MAX_UNSIGNED_SHORT = 65535;
+MIN_LONG = -2147483648;
+MAX_LONG = 2147483647;
+MIN_UNSIGNED_LONG = 0;
+MAX_UNSIGNED_LONG = 4294967295;
+MIN_LONG_LONG = -9223372036854775808;
+MAX_LONG_LONG = 9223372036854775807;
+MIN_UNSIGNED_LONG_LONG = 0;
+MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
+
+TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
+NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
+INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+IO_EXCEPTION = {name: 'IOError'};
+SECURITY_EXCEPTION = {name: 'SecurityError'};
+
+
+(function () {
+ var head_src = document.head.innerHTML;
+ if (head_src.search(/\/testharness.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
+ }
+ if (head_src.search(/\/testharnessreport.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
+ }
+})();
+
+var _registered_types = {};
+
+function _resolve_registered_type(type) {
+ while (type in _registered_types) {
+ type = _registered_types[type];
+ }
+ return type;
+}
+
+/**
+ * Method checks extra argument for none argument method.
+ * The only check is that method will not throw an exception.
+ * Example usage:
+ * checkExtraArgument(tizen.notification, "removeAll");
+ *
+ * @param object object
+ * @param methodName string - name of the method
+ */
+function checkExtraArgument(object, methodName) {
+ var extraArgument = [
+ null,
+ undefined,
+ "Tizen",
+ 1,
+ false,
+ ["one", "two"],
+ {argument: 1},
+ function () {}
+ ], i;
+
+ for (i = 0; i < extraArgument.length; i++) {
+ object[methodName](extraArgument[i]);
+ }
+}
+
+/**
+ * Method to validate conversion.
+ * Example usage:
+ * conversionTable = getTypeConversionExceptions("functionObject", true);
+ * for(i = 0; i < conversionTable.length; i++) {
+ * errorCallback = conversionTable[i][0];
+ * exceptionName = conversionTable[i][1];
+ *
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.systemsetting.setProperty("HOME_SCREEN",
+ * propertyValue, successCallback, errorCallback);
+ * }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ * }
+ *
+ * @param conversionType
+ * @param isOptional
+ * @returns table of tables which contain value (index 0) and exceptionName (index 1)
+ *
+ */
+function getTypeConversionExceptions(conversionType, isOptional) {
+ var exceptionName = "TypeMismatchError",
+ conversionTable;
+ switch (conversionType) {
+ case "enum":
+ conversionTable = [
+ [undefined, exceptionName],
+ [null, exceptionName],
+ [0, exceptionName],
+ [true, exceptionName],
+ ["dummyInvalidEnumValue", exceptionName],
+ [{ }, exceptionName]
+ ];
+ break;
+ case "double":
+ conversionTable = [
+ [undefined, exceptionName],
+ [NaN, exceptionName],
+ [Number.POSITIVE_INFINITY, exceptionName],
+ [Number.NEGATIVE_INFINITY, exceptionName],
+ ["TIZEN", exceptionName],
+ [{ name : "TIZEN" }, exceptionName],
+ [function () { }, exceptionName]
+ ];
+ break;
+ case "object":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "functionObject":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [[], exceptionName],
+ [{ }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "array":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [{ }, exceptionName],
+ [function () { }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "dictionary":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ default:
+ assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+ };
+
+ return conversionTable;
+}
+
+
+function assert_type(obj, type, description) {
+ var org_type = type, prop_name, prop_type, prop_value;
+
+ type = _resolve_registered_type(type);
+
+ if (typeof (type) === 'string') {
+ type = type.toLowerCase();
+ switch (type) {
+ case 'object':
+ case 'string':
+ case 'number':
+ case 'function':
+ case 'boolean':
+ case 'undefined':
+ case 'xml':
+ assert_equals(typeof (obj), type, description);
+ break;
+ case 'null':
+ assert_true(obj === null, description);
+ break;
+ case 'array':
+ assert_true(Array.isArray(obj), description);
+ break;
+ case 'date':
+ assert_true(obj instanceof Date, description);
+ break;
+ case 'byte':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'octet':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ default:
+ assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
+ }
+ } else if (typeof (type) === 'function') {
+ assert_true(obj instanceof type, description);
+ } else if (typeof (type) === 'object') {
+ for (prop_name in type) {
+ prop_type = type[prop_name];
+ if (prop_type === 'function') {
+ assert_inherits(obj, prop_name);
+ assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
+ } else {
+ assert_own_property(obj, prop_name);
+ }
+ }
+ } else {
+ assert_unreached('Fix your test. Wrong type ' + org_type);
+ }
+}
+
+function register_type(alias, type_spec) {
+ _registered_types[alias] = type_spec;
+}
+
+/**
+ * Method to check if attribute is const.
+ * Example usage:
+ * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
+ *
+ * @param obj object to test which has const attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ var tmp;
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ tmp = obj[attributeName];
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if attribute is readonly.
+ * Example usage:
+ * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
+ *
+ * @param obj object to test which has readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
+}
+
+/**
+ * Method to check if attribute can be set to null.
+ * Example usage:
+ * check_not_nullable(syncInfo, "mode");
+ *
+ * @param obj object to test which has not nullable attribute
+ * @param attributeName attribute name.
+ */
+function check_not_nullable(obj, attributeName)
+{ var old_value = obj[attributeName];
+ obj[attributeName] = null;
+ assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
+ obj[attributeName] = old_value;
+}
+
+/**
+ * Method to check NoInterfaceObject
+ * Example usage:
+ * check_no_interface_object("BluetoothAdapter")
+ *
+ * @param interfaceName interface name
+ */
+function check_no_interface_object(interfaceName) {
+ assert_throws({name: "TypeError"}, function () {
+ tizen[interfaceName]();
+ },"Wrong call as a function");
+ assert_throws({name: "TypeError"}, function () {
+ new tizen[interfaceName]();
+ },"Wrong call as a new function");
+ assert_throws({name: "TypeError"}, function () {
+ ({}) instanceof tizen[interfaceName];
+ },"instanceof exception");
+ assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
+}
+
+
+/**
+ * Method to check Constructors
+ * Example usage:
+ * check_constructor("BluetoothAdapter")
+ *
+ * @param constructorName constructor name
+ */
+
+function check_constructor(constructorName) {
+ assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
+ assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
+ assert_throws({
+ name: "TypeError"
+ }, function () {
+ tizen[constructorName]();
+ }, "Constructor called as function.");
+}
+
+/**
+ * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
+ * That method also checks if given method exists in a given object.
+ * Example usage:
+ * check_method_exists(tizen.notification, "get");
+ *
+ * @param obj object with method
+ * @param methodName name of the method to check.
+ */
+function check_method_exists(obj, methodName) {
+ assert_type(obj[methodName], 'function', "Method does not exist.");
+}
+
+/**
+ * Method to check extensibility of given object.
+ * Method checks if new attribute and method can be added.
+ * Example usage:
+ * check_extensibility(tizen.notification);
+ *
+ * @param obj object to check
+ */
+function check_extensibility(obj) {
+ var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
+ obj.newDummyMethod = function() {
+ return dummyMethodResult;
+ }
+ assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
+
+ obj.newDummyAttribute = dummyAttribute;
+ assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
+}
+
+/**
+ * Method to check if attribute can be modify.
+ * Example usage:
+ * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
+ *
+ * @param obj object to test which has not readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if whole array can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_array_assignments(message, "to", false);
+ *
+ * @param obj object which has the array as its property
+ * @param array name of the array to check
+ * @param isNullable indicates if the array can be null
+ */
+function check_invalid_array_assignments(obj, array, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
+ val = obj[array], i;
+
+ if (!isNullable) {
+ obj[array] = null;
+ assert_not_equals(obj[array], null, "Non-nullable array was set to null");
+ assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
+ assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ obj[array] = args[i];
+ assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
+ assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
+ }
+}
+
+/**
+ * Method to check if an object can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_object_assignments(message, "body", false);
+ *
+ * @param parentObj object which has the 'obj' object as its property
+ * @param obj name of the object to check
+ * @param isNullable indicates if the object can be null
+ */
+function check_invalid_obj_assignments(parentObj, obj, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
+ val = parentObj[obj], i;
+
+ if (!isNullable) {
+ parentObj[obj] = null;
+ assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ parentObj[obj] = args[i];
+ assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
+ }
+}
+
+/**
+ * Method to validate conversion for listeners.
+ * Example usage:
+ * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
+ * for(i = 0; i < incorrectListeners.length; i++) {
+ * packageInformationEventCallback = incorrectListeners[i][0];
+ * exceptionName = incorrectListeners[i][1];
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+ * }, exceptionName + " should be thrown - given incorrect successCallback.");
+ * }
+ *
+ *
+ * @param callbackNames Array with names
+ * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
+ *
+ */
+function getListenerConversionExceptions(callbackNames) {
+ var result = [], conversionTable, i, j, listenerName;
+ conversionTable = getTypeConversionExceptions("functionObject", false);
+
+ for (i = 0; i < callbackNames.length; i++) {
+ for (j = 0; j < conversionTable.length; j++) {
+ listenerName = {};
+ listenerName[callbackNames[i]] = conversionTable[j][0];
+ result.push([listenerName, conversionTable[j][1]]);
+ }
+ }
+
+ return result;
+}
+++ /dev/null
-/*
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-
- */
-
-
-MIN_BYTE = -128;
-MAX_BYTE = 127;
-MIN_OCTET = 0;
-MAX_OCTET = 255;
-MIN_SHORT = -32768;
-MAX_SHORT = 32767;
-MIN_UNSIGNED_SHORT = 0;
-MAX_UNSIGNED_SHORT = 65535;
-MIN_LONG = -2147483648;
-MAX_LONG = 2147483647;
-MIN_UNSIGNED_LONG = 0;
-MAX_UNSIGNED_LONG = 4294967295;
-MIN_LONG_LONG = -9223372036854775808;
-MAX_LONG_LONG = 9223372036854775807;
-MIN_UNSIGNED_LONG_LONG = 0;
-MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
-
-TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
-NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
-INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
-IO_EXCEPTION = {name: 'IOError'};
-SECURITY_EXCEPTION = {name: 'SecurityError'};
-
-
-(function () {
- var head_src = document.head.innerHTML;
- if (head_src.search(/\/testharness.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
- }
- if (head_src.search(/\/testharnessreport.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
- }
-})();
-
-var _registered_types = {};
-
-function _resolve_registered_type(type) {
- while (type in _registered_types) {
- type = _registered_types[type];
- }
- return type;
-}
-
-/**
- * Method checks extra argument for none argument method.
- * The only check is that method will not throw an exception.
- * Example usage:
- * checkExtraArgument(tizen.notification, "removeAll");
- *
- * @param object object
- * @param methodName string - name of the method
- */
-function checkExtraArgument(object, methodName) {
- var extraArgument = [
- null,
- undefined,
- "Tizen",
- 1,
- false,
- ["one", "two"],
- {argument: 1},
- function () {}
- ], i;
-
- for (i = 0; i < extraArgument.length; i++) {
- object[methodName](extraArgument[i]);
- }
-}
-
-/**
- * Method to validate conversion.
- * Example usage:
- * conversionTable = getTypeConversionExceptions("functionObject", true);
- * for(i = 0; i < conversionTable.length; i++) {
- * errorCallback = conversionTable[i][0];
- * exceptionName = conversionTable[i][1];
- *
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.systemsetting.setProperty("HOME_SCREEN",
- * propertyValue, successCallback, errorCallback);
- * }, exceptionName + " should be thrown - given incorrect errorCallback.");
- * }
- *
- * @param conversionType
- * @param isOptional
- * @returns table of tables which contain value (index 0) and exceptionName (index 1)
- *
- */
-function getTypeConversionExceptions(conversionType, isOptional) {
- var exceptionName = "TypeMismatchError",
- conversionTable;
- switch (conversionType) {
- case "enum":
- conversionTable = [
- [undefined, exceptionName],
- [null, exceptionName],
- [0, exceptionName],
- [true, exceptionName],
- ["dummyInvalidEnumValue", exceptionName],
- [{ }, exceptionName]
- ];
- break;
- case "double":
- conversionTable = [
- [undefined, exceptionName],
- [NaN, exceptionName],
- [Number.POSITIVE_INFINITY, exceptionName],
- [Number.NEGATIVE_INFINITY, exceptionName],
- ["TIZEN", exceptionName],
- [{ name : "TIZEN" }, exceptionName],
- [function () { }, exceptionName]
- ];
- break;
- case "object":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "functionObject":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [[], exceptionName],
- [{ }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "array":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [{ }, exceptionName],
- [function () { }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "dictionary":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- default:
- assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
- };
-
- return conversionTable;
-}
-
-
-function assert_type(obj, type, description) {
- var org_type = type, prop_name, prop_type, prop_value;
-
- type = _resolve_registered_type(type);
-
- if (typeof (type) === 'string') {
- type = type.toLowerCase();
- switch (type) {
- case 'object':
- case 'string':
- case 'number':
- case 'function':
- case 'boolean':
- case 'undefined':
- case 'xml':
- assert_equals(typeof (obj), type, description);
- break;
- case 'null':
- assert_true(obj === null, description);
- break;
- case 'array':
- assert_true(Array.isArray(obj), description);
- break;
- case 'date':
- assert_true(obj instanceof Date, description);
- break;
- case 'byte':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
- assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'octet':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
- assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- default:
- assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
- }
- } else if (typeof (type) === 'function') {
- assert_true(obj instanceof type, description);
- } else if (typeof (type) === 'object') {
- for (prop_name in type) {
- prop_type = type[prop_name];
- if (prop_type === 'function') {
- assert_inherits(obj, prop_name);
- assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
- } else {
- assert_own_property(obj, prop_name);
- }
- }
- } else {
- assert_unreached('Fix your test. Wrong type ' + org_type);
- }
-}
-
-function register_type(alias, type_spec) {
- _registered_types[alias] = type_spec;
-}
-
-/**
- * Method to check if attribute is const.
- * Example usage:
- * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
- *
- * @param obj object to test which has const attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- var tmp;
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- tmp = obj[attributeName];
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if attribute is readonly.
- * Example usage:
- * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
- *
- * @param obj object to test which has readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
-}
-
-/**
- * Method to check if attribute can be set to null.
- * Example usage:
- * check_not_nullable(syncInfo, "mode");
- *
- * @param obj object to test which has not nullable attribute
- * @param attributeName attribute name.
- */
-function check_not_nullable(obj, attributeName)
-{ var old_value = obj[attributeName];
- obj[attributeName] = null;
- assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
- obj[attributeName] = old_value;
-}
-
-/**
- * Method to check NoInterfaceObject
- * Example usage:
- * check_no_interface_object("BluetoothAdapter")
- *
- * @param interfaceName interface name
- */
-function check_no_interface_object(interfaceName) {
- assert_throws({name: "TypeError"}, function () {
- tizen[interfaceName]();
- },"Wrong call as a function");
- assert_throws({name: "TypeError"}, function () {
- new tizen[interfaceName]();
- },"Wrong call as a new function");
- assert_throws({name: "TypeError"}, function () {
- ({}) instanceof tizen[interfaceName];
- },"instanceof exception");
- assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
-}
-
-
-/**
- * Method to check Constructors
- * Example usage:
- * check_constructor("BluetoothAdapter")
- *
- * @param constructorName constructor name
- */
-
-function check_constructor(constructorName) {
- assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
- assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
- assert_throws({
- name: "TypeError"
- }, function () {
- tizen[constructorName]();
- }, "Constructor called as function.");
-}
-
-/**
- * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
- * That method also checks if given method exists in a given object.
- * Example usage:
- * check_method_exists(tizen.notification, "get");
- *
- * @param obj object with method
- * @param methodName name of the method to check.
- */
-function check_method_exists(obj, methodName) {
- assert_type(obj[methodName], 'function', "Method does not exist.");
-}
-
-/**
- * Method to check extensibility of given object.
- * Method checks if new attribute and method can be added.
- * Example usage:
- * check_extensibility(tizen.notification);
- *
- * @param obj object to check
- */
-function check_extensibility(obj) {
- var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
- obj.newDummyMethod = function() {
- return dummyMethodResult;
- }
- assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
-
- obj.newDummyAttribute = dummyAttribute;
- assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
-}
-
-/**
- * Method to check if attribute can be modify.
- * Example usage:
- * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
- *
- * @param obj object to test which has not readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if whole array can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_array_assignments(message, "to", false);
- *
- * @param obj object which has the array as its property
- * @param array name of the array to check
- * @param isNullable indicates if the array can be null
- */
-function check_invalid_array_assignments(obj, array, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
- val = obj[array], i;
-
- if (!isNullable) {
- obj[array] = null;
- assert_not_equals(obj[array], null, "Non-nullable array was set to null");
- assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
- assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- obj[array] = args[i];
- assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
- assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
- }
-}
-
-/**
- * Method to check if an object can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_object_assignments(message, "body", false);
- *
- * @param parentObj object which has the 'obj' object as its property
- * @param obj name of the object to check
- * @param isNullable indicates if the object can be null
- */
-function check_invalid_obj_assignments(parentObj, obj, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
- val = parentObj[obj], i;
-
- if (!isNullable) {
- parentObj[obj] = null;
- assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- parentObj[obj] = args[i];
- assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
- }
-}
-
-/**
- * Method to validate conversion for listeners.
- * Example usage:
- * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
- * for(i = 0; i < incorrectListeners.length; i++) {
- * packageInformationEventCallback = incorrectListeners[i][0];
- * exceptionName = incorrectListeners[i][1];
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
- * }, exceptionName + " should be thrown - given incorrect successCallback.");
- * }
- *
- *
- * @param callbackNames Array with names
- * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
- *
- */
-function getListenerConversionExceptions(callbackNames) {
- var result = [], conversionTable, i, j, listenerName;
- conversionTable = getTypeConversionExceptions("functionObject", false);
-
- for (i = 0; i < callbackNames.length; i++) {
- for (j = 0; j < conversionTable.length; j++) {
- listenerName = {};
- listenerName[callbackNames[i]] = conversionTable[j][0];
- result.push([listenerName, conversionTable[j][1]]);
- }
- }
-
- return result;
-}
</spec>
</specs>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with null onadded argument" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onadded_null">
+ <testcase purpose="Check whether addChangeListener() registers listener with null onadded argument" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onadded_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with undefined onadded argument" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onadded_undefined">
+ <testcase purpose="Check whether addChangeListener() registers listener with undefined onadded argument" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onadded_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_undefined.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with null onchanged argument" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onchanged_null">
+ <testcase purpose="Check whether addChangeListener() registers listener with null onchanged argument" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onchanged_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with undefined onchanged argument" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onchanged_undefined">
+ <testcase purpose="Check whether addChangeListener() registers listener with undefined onchanged argument" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onchanged_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_undefined.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null errorCallback lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_errorCallback_null">
+ <testcase purpose="Check whether find() method called with null errorCallback lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_errorCallback_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null filter lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_null">
+ <testcase purpose="Check whether find() method called with null filter lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null filter and sortMode lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_sortMode_null">
+ <testcase purpose="Check whether find() method called with null filter and sortMode lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_sortMode_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null filter, sortMode and limit lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_limit_null">
+ <testcase purpose="Check whether find() method called with null filter, sortMode and limit lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_limit_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null filter, sortMode, limit and offset lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_offset_null">
+ <testcase purpose="Check whether find() method called with null filter, sortMode, limit and offset lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_offset_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether removeBatch() method called with null successCallback deletes two entries from call history" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P1" id="CallHistory_removeBatch_successCallback_null">
+ <testcase purpose="Check whether removeBatch() method called with null successCallback deletes two entries from call history" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P1" id="CallHistory_removeBatch_successCallback_null">
<description>
<pre_condition>Make at least 3 existence call history</pre_condition>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_null.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether removeBatch() method called with null errorCallback deletes two entries from call history entries" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P1" id="CallHistory_removeBatch_errorCallback_null">
+ <testcase purpose="Check whether removeBatch() method called with null errorCallback deletes two entries from call history entries" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P1" id="CallHistory_removeBatch_errorCallback_null">
<description>
<pre_condition>Make at least 3 existence call history</pre_condition>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_null.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="check if CallHistory exists and implements methods" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P3" id="CallHistory_in_tizen">
+ <testcase purpose="Check if CallHistory exists and implements methods" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P3" id="CallHistory_in_tizen">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_in_tizen.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with undefined errorCallback lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_find_errorCallback_undefined">
+ <testcase purpose="Check whether find() method called with undefined errorCallback lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_find_errorCallback_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_undefined.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether removeBatch() method called with undefined successCallback throws exception" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P2" id="CallHistory_removeBatch_successCallback_undefined">
+ <testcase purpose="Check whether removeBatch() method called with undefined successCallback throws exception" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P2" id="CallHistory_removeBatch_successCallback_undefined">
<description>
<pre_condition>Make at least 3 existence call history</pre_condition>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_undefined.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether removeBatch() method called with undefined errorCallback throws exception" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P2" id="CallHistory_removeBatch_errorCallback_undefined">
+ <testcase purpose="Check whether removeBatch() method called with undefined errorCallback throws exception" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P2" id="CallHistory_removeBatch_errorCallback_undefined">
<description>
<pre_condition>Make at least 3 existence call history</pre_condition>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_undefined.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null filter and undefined sortMode lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_find_sortMode_undefined">
+ <testcase purpose="Check whether find() method called with null filter and undefined sortMode lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_find_sortMode_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_undefined.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with undefined filter lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_find_filter_undefined">
+ <testcase purpose="Check whether find() method called with undefined filter lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_find_filter_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_undefined.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if find() method calls successCallback function properly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_without_errorCallback">
+ <testcase purpose="Check if find() method calls successCallback function properly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_without_errorCallback">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_without_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if CallHistory items matching the supplied filter are found properly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter">
+ <testcase purpose="Check if CallHistory items matching the supplied filter are found properly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with successCallback, errorCallback, filter and sortMode lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_sortMode">
+ <testcase purpose="Check whether find() method called with successCallback, errorCallback, filter and sortMode lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_sortMode">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with successCallback, errorCallback, filter, sortMode and limit lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_limit">
+ <testcase purpose="Check whether find() method called with successCallback, errorCallback, filter, sortMode and limit lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_limit">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="CallHistory" element_type="method" element_name="find" specification="Callhistory" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with successCallback, errorCallback, filter, sortMode limit and offset lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_offset">
+ <testcase purpose="Check whether find() method called with successCallback, errorCallback, filter, sortMode limit and offset lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_offset">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if find() method calls successCallback function properly for offset equal 0" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_offset_0">
+ <testcase purpose="Check if find() method calls successCallback function properly for offset equal 0" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_offset_0">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_0.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null errorCallback and specified filter lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_errorCallback_null_filter">
+ <testcase purpose="Check whether find() method called with null errorCallback and specified filter lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_errorCallback_null_filter">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null_filter.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="CallHistory" element_type="method" element_name="find" specification="Callhistory" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null filter and specified sortMode lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_null_sortMode">
+ <testcase purpose="Check whether find() method called with null filter and specified sortMode lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_null_sortMode">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null_sortMode.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="CallHistory" element_type="method" element_name="find" specification="Callhistory" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null filter, null sortMode and specified limit lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_sortMode_null">
+ <testcase purpose="Check whether find() method called with null filter, null sortMode and specified limit lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_sortMode_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_null.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="CallHistory" element_type="method" element_name="find" specification="Callhistory" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method lists CallHistory items for various composite filters" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_compositeFilters">
+ <testcase purpose="Check whether find() method lists CallHistory items for various composite filters" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_compositeFilters">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_compositeFilters.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="CallHistory" element_type="method" element_name="find" specification="Callhistory" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method lists CallHistory items for various range filters" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_rangeFilters">
+ <testcase purpose="Check whether find() method lists CallHistory items for various range filters" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_rangeFilters">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_rangeFilters.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="CallHistory" element_type="method" element_name="find" specification="Callhistory" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with null filter, sortMode, limit and specified offset lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_sortMode_limit_null_offset">
+ <testcase purpose="Check whether find() method called with null filter, sortMode, limit and specified offset lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_sortMode_limit_null_offset">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_limit_null_offset.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method lists CallHistory items for various filters" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_various">
+ <testcase purpose="Check whether find() method lists CallHistory items for various filters" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_filter_various">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_various.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="CallHistory" element_type="method" element_name="find" specification="Callhistory" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether find() method called with additional arguments lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_limit_1">
+ <testcase purpose="Check whether find() method called with additional arguments lists CallHistory items" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_find_limit_1">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_1.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="CallHistory" element_type="method" element_name="find" specification="Callhistory" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with onadded argument" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_addChangeListener_onadded">
+ <testcase purpose="Check whether addChangeListener() registers listener with onadded argument" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_addChangeListener_onadded">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onadded.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with onchanged argument" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_addChangeListener_onchanged">
+ <testcase purpose="Check whether addChangeListener() registers listener with onchanged argument" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P1" id="CallHistory_addChangeListener_onchanged">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onchanged.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'addChangeListener' method with incorect onadded argument throws exception properly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onadded_invalid">
+ <testcase purpose="Check whether invoking 'addChangeListener' method with incorect onadded argument throws exception properly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onadded_invalid">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'addChangeListener' method with incorect onchanged argument throws exception properly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onchanged_invalid">
+ <testcase purpose="Check whether invoking 'addChangeListener' method with incorect onchanged argument throws exception properly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_addChangeListener_observer_onchanged_invalid">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_invalid.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="CallHistory" element_type="method" element_name="addChangeListener" specification="Callhistory" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#addChangeListenerid2509112</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether invoking 'removeChangeListener' method with improper argument throws exception properly" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_removeChangeListener_handle_InvalidValue">
+ <testcase purpose="Check whether invoking 'removeChangeListener' method with improper argument throws exception properly" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P2" id="CallHistory_removeChangeListener_handle_InvalidValue">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_handle_InvalidValue.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if CallHistoryObject not exist" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P3" id="CallHistoryObject_notexist">
+ <testcase purpose="Check if CallHistoryObject not exist" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="auto" priority="P3" id="CallHistoryObject_notexist">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistoryObject_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check CallHistoryEntry attributes and functions" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P3" id="CallHistoryEntry">
+ <testcase purpose="Check CallHistoryEntry attributes and functions" type="compliance" status="approved" component="TizenAPI/Social/Callhistory" execution_type="manual" priority="P3" id="CallHistoryEntry">
<description>
<pre_condition>Make an existence call history</pre_condition>
<steps>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_nullableArgs_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with null onadded argument" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onadded_null">
+ <testcase purpose="Check whether addChangeListener() registers listener with null onadded argument" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onadded_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with undefined onadded argument" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onadded_undefined">
+ <testcase purpose="Check whether addChangeListener() registers listener with undefined onadded argument" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onadded_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_undefined.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with null onchanged argument" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onchanged_null">
+ <testcase purpose="Check whether addChangeListener() registers listener with null onchanged argument" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onchanged_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with undefined onchanged argument" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onchanged_undefined">
+ <testcase purpose="Check whether addChangeListener() registers listener with undefined onchanged argument" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onchanged_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_undefined.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null errorCallback lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_errorCallback_null">
+ <testcase purpose="Check whether find() method called with null errorCallback lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_errorCallback_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null filter lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_null">
+ <testcase purpose="Check whether find() method called with null filter lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null filter and sortMode lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_sortMode_null">
+ <testcase purpose="Check whether find() method called with null filter and sortMode lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_sortMode_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null filter, sortMode and limit lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_limit_null">
+ <testcase purpose="Check whether find() method called with null filter, sortMode and limit lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_limit_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null filter, sortMode, limit and offset lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_offset_null">
+ <testcase purpose="Check whether find() method called with null filter, sortMode, limit and offset lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_offset_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether removeBatch() method called with null successCallback deletes two entries from call history" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistory_removeBatch_successCallback_null">
+ <testcase purpose="Check whether removeBatch() method called with null successCallback deletes two entries from call history" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistory_removeBatch_successCallback_null">
<description>
<pre_condition>Make at least 3 existence call history</pre_condition>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether removeBatch() method called with null errorCallback deletes two entries from call history entries" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistory_removeBatch_errorCallback_null">
+ <testcase purpose="Check whether removeBatch() method called with null errorCallback deletes two entries from call history entries" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistory_removeBatch_errorCallback_null">
<description>
<pre_condition>Make at least 3 existence call history</pre_condition>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_null.html</test_script_entry>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/RemoteParty_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if CallHistory exists and implements methods" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_in_tizen">
+ <testcase purpose="Check if CallHistory exists and implements methods" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_in_tizen">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_in_tizen.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with undefined errorCallback lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_errorCallback_undefined">
+ <testcase purpose="Check whether find() method called with undefined errorCallback lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_errorCallback_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_undefined.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether removeBatch() method called with undefined successCallback throws exception" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistory_removeBatch_successCallback_undefined">
+ <testcase purpose="Check whether removeBatch() method called with undefined successCallback throws exception" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistory_removeBatch_successCallback_undefined">
<description>
<pre_condition>Make at least 3 existence call history</pre_condition>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_undefined.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether removeBatch() method called with undefined errorCallback throws exception" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistory_removeBatch_errorCallback_undefined">
+ <testcase purpose="Check whether removeBatch() method called with undefined errorCallback throws exception" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistory_removeBatch_errorCallback_undefined">
<description>
<pre_condition>Make at least 3 existence call history</pre_condition>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_undefined.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null filter and undefined sortMode lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_sortMode_undefined">
+ <testcase purpose="Check whether find() method called with null filter and undefined sortMode lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_sortMode_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_undefined.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with undefined filter lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_undefined">
+ <testcase purpose="Check whether find() method called with undefined filter lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_undefined">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_undefined.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onremoved.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if find() method calls successCallback function properly" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_without_errorCallback">
+ <testcase purpose="Check if find() method calls successCallback function properly" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_without_errorCallback">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if CallHistory items matching the supplied filter are found properly" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter">
+ <testcase purpose="Check if CallHistory items matching the supplied filter are found properly" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with successCallback, errorCallback, filter and sortMode lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_sortMode">
+ <testcase purpose="Check whether find() method called with successCallback, errorCallback, filter and sortMode lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_sortMode">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with successCallback, errorCallback, filter, sortMode and limit lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_limit">
+ <testcase purpose="Check whether find() method called with successCallback, errorCallback, filter, sortMode and limit lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_limit">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with successCallback, errorCallback, filter, sortMode limit and offset lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_offset">
+ <testcase purpose="Check whether find() method called with successCallback, errorCallback, filter, sortMode limit and offset lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_offset">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if find() method calls successCallback function properly for offset equal 0" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_offset_0">
+ <testcase purpose="Check if find() method calls successCallback function properly for offset equal 0" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_offset_0">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_0.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null errorCallback and specified filter lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_errorCallback_null_filter">
+ <testcase purpose="Check whether find() method called with null errorCallback and specified filter lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_errorCallback_null_filter">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null_filter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null filter and specified sortMode lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_null_sortMode">
+ <testcase purpose="Check whether find() method called with null filter and specified sortMode lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_null_sortMode">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null_sortMode.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null filter, null sortMode and specified limit lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_sortMode_null">
+ <testcase purpose="Check whether find() method called with null filter, null sortMode and specified limit lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_sortMode_null">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method lists CallHistory items for various composite filters" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_compositeFilters">
+ <testcase purpose="Check whether find() method lists CallHistory items for various composite filters" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_compositeFilters">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_compositeFilters.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method lists CallHistory items for various range filters" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_rangeFilters">
+ <testcase purpose="Check whether find() method lists CallHistory items for various range filters" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_rangeFilters">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_rangeFilters.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with null filter, sortMode, limit and specified offset lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_sortMode_limit_null_offset">
+ <testcase purpose="Check whether find() method called with null filter, sortMode, limit and specified offset lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_sortMode_limit_null_offset">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_limit_null_offset.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method lists CallHistory items for various filters" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_various">
+ <testcase purpose="Check whether find() method lists CallHistory items for various filters" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_filter_various">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_various.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether find() method called with additional arguments lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_limit_1">
+ <testcase purpose="Check whether find() method called with additional arguments lists CallHistory items" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_find_limit_1">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_1.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with onadded argument" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_onadded">
+ <testcase purpose="Check whether addChangeListener() registers listener with onadded argument" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_onadded">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onadded.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether addChangeListener() registers listener with onchanged argument" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_onchanged">
+ <testcase purpose="Check whether addChangeListener() registers listener with onchanged argument" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_onchanged">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onchanged.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'addChangeListener' method with incorect onadded argument throws exception properly" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onadded_invalid">
+ <testcase purpose="Check whether invoking 'addChangeListener' method with incorect onadded argument throws exception properly" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onadded_invalid">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'addChangeListener' method with incorect onchanged argument throws exception properly" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onchanged_invalid">
+ <testcase purpose="Check whether invoking 'addChangeListener' method with incorect onchanged argument throws exception properly" onload_delay="90" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_addChangeListener_observer_onchanged_invalid">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether invoking 'removeChangeListener' method with improper argument throws exception properly" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_removeChangeListener_handle_InvalidValue">
+ <testcase purpose="Check whether invoking 'removeChangeListener' method with improper argument throws exception properly" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistory_removeChangeListener_handle_InvalidValue">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_handle_InvalidValue.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if CallHistoryObject not exist" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistoryObject_notexist">
+ <testcase purpose="Check if CallHistoryObject not exist" component="TizenAPI/Social/Callhistory" execution_type="auto" id="CallHistoryObject_notexist">
<description>
<test_script_entry>/opt/tct-callhistory-tizen-tests/callhistory/CallHistoryObject_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check CallHistoryEntry attributes and functions" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistoryEntry">
+ <testcase purpose="Check CallHistoryEntry attributes and functions" component="TizenAPI/Social/Callhistory" execution_type="manual" id="CallHistoryEntry">
<description>
<pre_condition>Make an existence call history</pre_condition>
<steps>