From: Witold Choinkowski Date: Fri, 4 Oct 2013 14:16:53 +0000 (+0200) Subject: [CallHistory] review X-Git-Tag: 2.2.1_release~105^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ba38b7a1fa7fea3aa2aadf1b60bb0fcd99e26e3;p=test%2Ftct%2Fweb%2Fapi.git [CallHistory] review Change-Id: Ia1da083d9184b242c12e3f1e04aab9afd0d6774f --- diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_notexist.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_notexist.html index bc1cdfb55..02fe35087 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_notexist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_notexist.html @@ -22,21 +22,22 @@ Authors: CallHistoryChangeCallback_notexist - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onadded.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onadded.html index 9766eb809..bf78f0d54 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onadded.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onadded.html @@ -22,21 +22,21 @@ Authors: CallHistoryChangeCallback_onadded - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onchanged.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onchanged.html index 74b87ca8d..69d2283f8 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onchanged.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onchanged.html @@ -23,23 +23,23 @@ Authors: CallHistoryChangeCallback_onchanged - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onremoved.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onremoved.html index 4d07da697..2ad60a7da 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onremoved.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onremoved.html @@ -23,22 +23,22 @@ Authors: CallHistoryChangeCallback_onremoved - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry.html index e560bd4de..a398daad2 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry.html @@ -23,7 +23,7 @@ Authors: CallHistoryEntry - + @@ -31,7 +31,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntryArraySuccessCallback_notexist.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntryArraySuccessCallback_notexist.html index 411ceeb39..aa4617b6d 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntryArraySuccessCallback_notexist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntryArraySuccessCallback_notexist.html @@ -22,21 +22,22 @@ Authors: CallHistoryEntryArraySuccessCallback_notexist - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntryArraySuccessCallback_onsuccess.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntryArraySuccessCallback_onsuccess.html index 5c3b9b541..1818e9470 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntryArraySuccessCallback_onsuccess.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntryArraySuccessCallback_onsuccess.html @@ -22,8 +22,8 @@ Authors: -CallHistoryChangeCallback_onsuccess - +CallHistoryEntryArraySuccessCallback_onsuccess + @@ -31,16 +31,16 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_DIALED.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_DIALED.html index 8574752d6..880fb8974 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_DIALED.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_DIALED.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistoryEntry_direction_DIALED - + @@ -51,7 +51,7 @@ Authors: 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); @@ -69,6 +69,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_MISSED.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_MISSED.html index 6e07f1375..321a0f544 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_MISSED.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_MISSED.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistoryEntry_direction_MISSED - + @@ -51,7 +51,7 @@ Authors: 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); @@ -69,6 +69,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_MISSEDNEW.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_MISSEDNEW.html index 3f081235b..d66cbb4f1 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_MISSEDNEW.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_MISSEDNEW.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistoryEntry_direction_MISSEDNEW - + @@ -51,7 +51,7 @@ Authors: 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); @@ -69,6 +69,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_RECEIVED.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_RECEIVED.html index e8646cf99..96100bbdc 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_RECEIVED.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_RECEIVED.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistoryEntry_direction_RECEIVED - + @@ -51,7 +51,7 @@ Authors: 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); @@ -69,6 +69,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_REJECTED.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_REJECTED.html index 3a0c992c5..1ac0bb43f 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_REJECTED.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_REJECTED.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistoryEntry_direction_REJECTED - + @@ -51,7 +51,7 @@ Authors: 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); @@ -69,6 +69,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_attribute.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_attribute.html index 35c231095..33f76484f 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_attribute.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_direction_attribute.html @@ -23,7 +23,7 @@ Authors: CallHistoryEntry_direction_attribute - + @@ -31,16 +31,16 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_features_VOICECALL.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_features_VOICECALL.html index f51d21ca0..c0562560d 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_features_VOICECALL.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_features_VOICECALL.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistoryEntry_features_VOICECALL - + @@ -51,7 +51,7 @@ Authors: 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); @@ -70,6 +70,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_notexist.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_notexist.html index eda5ddf73..aeca4aea4 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_notexist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_notexist.html @@ -22,21 +22,22 @@ Authors: CallHistoryEntry_notexist - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_type_TEL.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_type_TEL.html index 76a014148..32aa1846d 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_type_TEL.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryEntry_type_TEL.html @@ -26,18 +26,18 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX --> -Callhistory Test: CallHistoryEntry_type_TEL +CallHistoryEntry_type_TEL - + @@ -53,10 +53,9 @@ Authors: 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); @@ -73,6 +72,7 @@ t.step(function () { tizen.callhistory.find(onSuccess, onError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistoryObject_notexist.html b/tct-callhistory-tizen-tests/callhistory/CallHistoryObject_notexist.html index c4f3d1596..54dc42dcd 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistoryObject_notexist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistoryObject_notexist.html @@ -24,12 +24,12 @@ Authors: --> - + CallHistoryObject_notexist - + @@ -37,15 +37,15 @@ Authors: diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener.html index b4f961327..a0f6216a7 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener.html @@ -26,17 +26,17 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX + Guan, JingX HaoYunfen Krzysztof Lachacz --> - + CallHistory_addChangeListener - + @@ -61,7 +61,8 @@ test(function () { } finally { tizen.callhistory.removeChangeListener(handle); } -}, "CallHistory_addChangeListener"); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_exist.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_exist.html index 5ba296f41..f2c05d3a3 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_exist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_exist.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX + Guan, JingX Krzysztof Lachacz --> @@ -38,7 +38,7 @@ Authors: - + @@ -49,10 +49,11 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_missarg.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_missarg.html index 84b5466ff..b290de179 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_missarg.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_missarg.html @@ -23,7 +23,7 @@ Authors: CallHistory_addChangeListener_missarg - + @@ -34,11 +34,12 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_TypeMismatch.html index ac3c4cf44..acee71603 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_TypeMismatch.html @@ -23,7 +23,7 @@ Authors: CallHistory_addChangeListener_observer_TypeMismatch - + @@ -35,7 +35,7 @@ Authors: //==== 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); @@ -49,7 +49,8 @@ test(function() { tizen.callhistory.addChangeListener(observer); }, exceptionName + " should be thrown - given incorrect listener."); } -}); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_invalid_cb.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_invalid_cb.html index 83f92fb49..ed9e00e4e 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_invalid_cb.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_invalid_cb.html @@ -22,7 +22,7 @@ Authors: CallHistory_addChangeListener_observer_invalid_cb - + @@ -34,7 +34,7 @@ Authors: //==== 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"]); @@ -42,13 +42,14 @@ test(function() { 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_invalid.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_invalid.html index feda5d3ea..23266743b 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_invalid.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_invalid.html @@ -22,7 +22,7 @@ Authors: CallHistory_addChangeListener_observer_onadded_invalid - + @@ -30,7 +30,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_null.html index b398c7cbb..41fcd7da1 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_null.html @@ -22,14 +22,14 @@ Authors: CallHistory_addChangeListener_observer_onadded_null - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_undefined.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_undefined.html index cd456ec6e..1f90e09b5 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_undefined.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_undefined.html @@ -22,14 +22,14 @@ Authors: CallHistory_addChangeListener_observer_onadded_undefined - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_invalid.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_invalid.html index cb54abdfc..ad72a1a55 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_invalid.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_invalid.html @@ -22,7 +22,7 @@ Authors: CallHistory_addChangeListener_observer_onchanged_invalid - + @@ -30,15 +30,15 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_null.html index ac845ff64..31a3ce36c 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_null.html @@ -22,14 +22,14 @@ Authors: CallHistory_addChangeListener_observer_onchanged_null - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_undefined.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_undefined.html index 36faa6ff6..920e53d85 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_undefined.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_undefined.html @@ -22,14 +22,14 @@ Authors: CallHistory_addChangeListener_observer_onchanged_undefined - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onadded.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onadded.html index 89f6b9383..b2988d2a9 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onadded.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onadded.html @@ -22,7 +22,7 @@ Authors: CallHistory_addChangeListener_onadded - + @@ -30,7 +30,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onchanged.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onchanged.html index 5607a40b4..5724f314e 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onchanged.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onchanged.html @@ -22,7 +22,7 @@ Authors: CallHistory_addChangeListener_onchanged - + @@ -30,7 +30,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_extend.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_extend.html index 5be8ded29..fcbccde29 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_extend.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_extend.html @@ -23,21 +23,22 @@ Authors: CallHistory_extend - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find.html index 94273174a..c0ba9ced8 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find.html @@ -26,8 +26,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX - Ma,YueX + Guan, JingX + Ma, YueX Krzysztof Lachacz Mariusz Polasinski @@ -36,7 +36,7 @@ Authors: CallHistory_find - + @@ -53,7 +53,7 @@ Authors: 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 () { @@ -83,6 +83,7 @@ t.step(function () { returnedValue = tizen.callhistory.find(findSuccess, findError); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_TypeMismatch.html index 9037d4d13..d00a8485c 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_TypeMismatch.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_errorCallback_TypeMismatch - + @@ -38,7 +38,7 @@ Authors: //==== 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 () { @@ -60,6 +60,7 @@ t.step(function () { t.done(); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_invalid_cb.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_invalid_cb.html index ead7e4d0e..729c856da 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_invalid_cb.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_invalid_cb.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_errorCallback_invalid_cb - + @@ -38,13 +38,13 @@ Authors: //==== 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); }) }; @@ -53,13 +53,14 @@ t.step(function () { 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(); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null.html index b449f866d..15cb4b594 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null.html @@ -23,7 +23,7 @@ Authors: CallHistory_find_errorCallback_null - + @@ -31,14 +31,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null_filter.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null_filter.html index 8075e4881..f9f7641b9 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null_filter.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null_filter.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_errorCallback_null_filter - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_undefined.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_undefined.html index 23e17a0f7..6f2b07072 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_undefined.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_undefined.html @@ -24,7 +24,7 @@ Authors: CallHistory_find_errorCallback_undefined - + @@ -32,15 +32,15 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_exist.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_exist.html index 7ef0f0c26..286b4d2ac 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_exist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_exist.html @@ -26,18 +26,18 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX + Guan, JingX Krzysztof Lachacz --> -Test: CallHistory_find_exist +CallHistory_find_exist - + @@ -49,10 +49,11 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter.html index 829d7a150..9e82b054f 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_TypeMismatch.html index 90a4be783..bd053585d 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_TypeMismatch.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_TypeMismatch - + @@ -38,7 +38,7 @@ Authors: //==== 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 () { @@ -64,6 +64,7 @@ t.step(function () { t.done(); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_compositeFilters.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_compositeFilters.html index 7e59a0534..595ea5abe 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_compositeFilters.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_compositeFilters.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_compositeFilters - + @@ -30,15 +30,15 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_invalid_obj.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_invalid_obj.html index 4e6d36a29..5c586780d 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_invalid_obj.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_invalid_obj.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_invalid_obj - + @@ -38,7 +38,7 @@ Authors: //==== 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 () { @@ -63,7 +63,7 @@ t.step(function () { t.done(); }); + - diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null.html index 7e95518e2..774ec8f55 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_null - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null_sortMode.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null_sortMode.html index f83902b2c..053f18be2 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null_sortMode.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null_sortMode.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_null_sortMode - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_rangeFilters.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_rangeFilters.html index 2e8cb6f1b..ca74883a6 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_rangeFilters.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_rangeFilters.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_rangeFilters - + @@ -30,15 +30,15 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_limit_null_offset.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_limit_null_offset.html index 3eb31703a..40b7e4534 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_limit_null_offset.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_limit_null_offset.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_sortMode_limit_null_offset - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_null.html index f9cb8e043..fcfdc7b6b 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_null.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_sortMode_null - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_undefined.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_undefined.html index fa216d3d4..516fef8d9 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_undefined.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_undefined.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_undefined - + @@ -30,7 +30,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_various.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_various.html index e450a787d..cd9315433 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_various.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_various.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_filter_various - + @@ -30,15 +30,15 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit.html index 85dd9a51f..049c89b9c 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_limit - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_0.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_0.html index 7bb02711f..144693b05 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_0.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_0.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistory_find_limit_0 - + @@ -50,10 +50,10 @@ Authors: 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"); @@ -76,6 +76,7 @@ t.step(function() { tizen.callhistory.find(findSuccess, findError); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_1.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_1.html index 0e513f3a3..dca907aa2 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_1.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_1.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_limit_1 - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_2.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_2.html index b7647d500..220883c66 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_2.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_2.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistory_find_limit_2 - + @@ -51,7 +51,7 @@ Authors: 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; @@ -79,6 +79,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_null.html index 66a984ac6..2fc07030f 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_null.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_limit_null - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_missarg.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_missarg.html index 63c2c0588..9289d1ec9 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_missarg.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_missarg.html @@ -23,7 +23,7 @@ Authors: CallHistory_find_missarg - + @@ -36,11 +36,12 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_nullableArgs_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_nullableArgs_null.html index 1d07dcfdf..dc25598b5 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_nullableArgs_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_nullableArgs_null.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX HaoYunfen Krzysztof Lachacz @@ -35,7 +35,7 @@ Authors: CallHistory_find_nullableArgs_null - + @@ -52,7 +52,7 @@ Authors: 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 () { @@ -64,6 +64,7 @@ t.step(function () { returnedValue = tizen.callhistory.find(findSuccess, null, null, null, null, null); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset.html index e47950449..754448284 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_offset - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_0.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_0.html index 3554c91f0..1dc3f20e6 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_0.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_0.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_offset_0 - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_null.html index 34f560e00..78a7e998d 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_null.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_offset_null - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode.html index a52e160d3..c48247e73 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_sortMode - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_TypeMismatch.html index 00dc46a93..0b4a6dd98 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_TypeMismatch.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_sortMode_TypeMismatch - + @@ -38,7 +38,7 @@ Authors: //==== 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 () { @@ -64,6 +64,7 @@ t.step(function () { t.done(); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_invalid_obj.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_invalid_obj.html index d465c4d10..7b93a4929 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_invalid_obj.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_invalid_obj.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_sortMode_invalid_obj - + @@ -38,7 +38,7 @@ Authors: //==== 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 () { @@ -64,6 +64,7 @@ t.step(function () { t.done(); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_null.html index 398372a34..ad3b0743b 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_null.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_sortMode_nullnulln - + @@ -30,14 +30,14 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_undefined.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_undefined.html index daabecd46..50b69c094 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_undefined.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_undefined.html @@ -24,7 +24,7 @@ Authors: CallHistory_find_sortMode_undefined - + @@ -32,7 +32,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_successCallback_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_successCallback_TypeMismatch.html index e5b56f0db..416c3a2a2 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_successCallback_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_successCallback_TypeMismatch.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_successCallback_TypeMismatch - + @@ -38,7 +38,7 @@ Authors: //==== 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 () { @@ -56,6 +56,7 @@ t.step(function () { t.done(); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_successCallback_invalid_cb.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_successCallback_invalid_cb.html index d18a77211..a244431a2 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_successCallback_invalid_cb.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_successCallback_invalid_cb.html @@ -23,7 +23,7 @@ Authors: CallHistory_find_successCallback_invalid_cb - + @@ -45,12 +45,12 @@ test(function () { } }; - 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); diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_errorCallback.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_errorCallback.html index 4397cd04b..da5ee6ea0 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_errorCallback.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_errorCallback.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_with_errorCallback - + @@ -37,10 +37,10 @@ Authors: //==== 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); }); @@ -53,6 +53,7 @@ t.step(function() { returnedValue = tizen.callhistory.find(findSuccess, findError); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_filter.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_filter.html index a3ccd0173..9a197d50d 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_filter.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_filter.html @@ -23,7 +23,7 @@ Authors: CallHistory_find_with_filter - + @@ -38,10 +38,10 @@ Authors: //==== 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); }); @@ -54,6 +54,7 @@ t.step(function() { returnedValue = tizen.callhistory.find(findSuccess, findError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_limit.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_limit.html index c532da67f..b558ccbb2 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_limit.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_limit.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_with_limit - + @@ -37,10 +37,10 @@ Authors: //==== 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); }); @@ -53,6 +53,7 @@ t.step(function() { returnedValue = tizen.callhistory.find(findSuccess, findError, null, null, 1); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_offset.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_offset.html index 370533b5c..3201e39bb 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_offset.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_offset.html @@ -23,7 +23,7 @@ Authors: CallHistory_find_with_offset - + @@ -38,10 +38,10 @@ Authors: //==== 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); }); @@ -54,6 +54,7 @@ t.step(function() { returnedValue = tizen.callhistory.find(findSuccess, findError, null, null, 1, 1); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_sortMode.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_sortMode.html index a161b169b..7dd336450 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_sortMode.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_with_sortMode.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_with_sortMode - + @@ -37,10 +37,10 @@ Authors: //==== 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); }); @@ -53,6 +53,7 @@ t.step(function() { returnedValue = tizen.callhistory.find(findSuccess, findError, null, sortMode); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_without_errorCallback.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_without_errorCallback.html index a922ead85..5b456c40b 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_find_without_errorCallback.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_find_without_errorCallback.html @@ -22,7 +22,7 @@ Authors: CallHistory_find_without_errorCallback - + @@ -30,17 +30,17 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_in_tizen.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_in_tizen.html index 8f734b3c5..706c4fc08 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_in_tizen.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_in_tizen.html @@ -22,14 +22,14 @@ Authors: CallHistory_in_tizen - +
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_notexist.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_notexist.html index 9c86fdb88..0cf76f065 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_notexist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_notexist.html @@ -22,7 +22,7 @@ Authors: CallHistory_notexist - + @@ -36,7 +36,8 @@ Authors: //==== TEST_CRITERIA NIO test(function () { check_no_interface_object("CallHistory"); -}, "CallHistory_notexist"); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove.html index 9bf11d074..5bff9bd89 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove.html @@ -26,8 +26,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX - Ma,YueX + Guan, JingX + Ma, YueX Krzysztof Lachacz Mariusz Polasinski @@ -36,7 +36,7 @@ Authors: CallHistory_remove - + @@ -53,7 +53,7 @@ Authors: 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 () { @@ -84,6 +84,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll.html index 5a9f4eb11..63cf19a0c 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll.html @@ -26,8 +26,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX - Ma,YueX + Guan, JingX + Ma, YueX Krzysztof Lachacz Mariusz Polasinski @@ -36,7 +36,7 @@ Authors: CallHistory_removeAll - + @@ -51,7 +51,8 @@ Authors: test(function () { tizen.callhistory.removeAll(); -}, "CallHistory_removeAll"); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_errorCallback_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_errorCallback_TypeMismatch.html index 7f662ba24..38392de6a 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_errorCallback_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_errorCallback_TypeMismatch.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeAll_errorCallback_TypeMismatch - + @@ -34,7 +34,7 @@ Authors: //==== 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); @@ -52,7 +52,8 @@ test(function() { tizen.callhistory.removeAll(successCallback, errorCallback); }, exceptionName + " should be thrown - given incorrect successCallback."); } -}); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_errorCallback_invalid_cb.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_errorCallback_invalid_cb.html index 4cfa54768..dfe8f2851 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_errorCallback_invalid_cb.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_errorCallback_invalid_cb.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeAll_errorCallback_invalid_cb - + @@ -34,7 +34,7 @@ Authors: //==== 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 () { @@ -47,12 +47,13 @@ test(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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_exist.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_exist.html index 38f8ae1c6..0eea1b092 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_exist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_exist.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX + Guan, JingX Krzysztof Lachacz --> @@ -37,7 +37,7 @@ Authors: - + @@ -48,10 +48,11 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_successCallback_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_successCallback_TypeMismatch.html index 9994d3e4c..d5fb2f4fb 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_successCallback_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_successCallback_TypeMismatch.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeAll_successCallback_TypeMismatch - + @@ -34,7 +34,7 @@ Authors: //==== 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); @@ -48,7 +48,8 @@ test(function() { tizen.callhistory.removeAll(successCallback); }, exceptionName + " should be thrown - given incorrect successCallback."); } -}); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_successCallback_invalid_cb.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_successCallback_invalid_cb.html index a8f07f28f..8b4358c61 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_successCallback_invalid_cb.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_successCallback_invalid_cb.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeAll_successCallback_invalid_cb - + @@ -34,7 +34,7 @@ Authors: //==== 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 = { @@ -43,12 +43,13 @@ test(function() { } }; - assert_throws({name : exceptionName}, + assert_throws({name: exceptionName}, function () { tizen.callhistory.removeAll(incorrectCallback); }, exceptionName + " should be thrown"); -}, "CallHistory_removeAll_successCallback_invalid_cb"); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_with_errorCallback.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_with_errorCallback.html index d506af44f..2b1cf6a08 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_with_errorCallback.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_with_errorCallback.html @@ -23,7 +23,7 @@ Authors: CallHistory_removeAll_with_errorCallback - + @@ -37,10 +37,10 @@ Authors: //==== 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(); }); @@ -51,6 +51,7 @@ t.step(function() { tizen.callhistory.removeAll(removeAllSuccess, removeAllError); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_with_successCallback.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_with_successCallback.html index c33cba91c..8dc6cfa87 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_with_successCallback.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeAll_with_successCallback.html @@ -20,11 +20,11 @@ Authors: --> - + CallHistory_removeAll_with_successCallback - + @@ -42,7 +42,7 @@ Authors: 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; diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch.html index 3885dcedc..9795b032b 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch.html @@ -26,8 +26,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX - Ma,YueX + Guan, JingX + Ma, YueX Krzysztof Lachacz --> @@ -35,7 +35,7 @@ Authors: CallHistory_removeBatch - + @@ -52,7 +52,7 @@ Authors: 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; @@ -93,6 +93,7 @@ t.step(function () { handle = tizen.callhistory.addChangeListener(onListenerCB); tizen.callhistory.find(findSuccess, findError); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_entries_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_entries_TypeMismatch.html index 9edeff469..c5eabfaef 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_entries_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_entries_TypeMismatch.html @@ -23,7 +23,7 @@ Authors: CallHistory_removeBatch_entries_TypeMismatch - + @@ -35,7 +35,7 @@ Authors: //==== 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); @@ -49,7 +49,8 @@ test(function() { tizen.callhistory.removeBatch(entries); }, exceptionName + " should be thrown - given incorrect entries."); } -}); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_TypeMismatch.html index c3b034629..080e1260e 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_TypeMismatch.html @@ -23,7 +23,7 @@ Authors: CallHistory_removeBatch_errorCallback_TypeMismatch - + @@ -35,7 +35,7 @@ Authors: //==== 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); @@ -53,7 +53,8 @@ test(function() { tizen.callhistory.removeBatch([], successCallback, errorCallback); }, exceptionName + " should be thrown - given incorrect successCallback."); } -}); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_invalid_cb.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_invalid_cb.html index e96e462c4..bf7fc714a 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_invalid_cb.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_invalid_cb.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeBatch_errorCallback_invalid_cb - + @@ -34,10 +34,10 @@ Authors: //==== 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"); }; @@ -47,12 +47,13 @@ test(function() { } }; - 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_null.html index fedb90582..2376c36c7 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_null.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeBatch_errorCallback_null - + @@ -30,7 +30,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_undefined.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_undefined.html index 64d30536f..0feb58af5 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_undefined.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_undefined.html @@ -23,7 +23,7 @@ Authors: CallHistory_removeBatch_errorCallback_undefined - + @@ -31,7 +31,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_exist.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_exist.html index 75c4c85cd..22df17219 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_exist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_exist.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX + Guan, JingX Krzysztof Lachacz --> @@ -37,7 +37,7 @@ Authors: - + @@ -48,10 +48,11 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_findByDirection.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_findByDirection.html index ceed45faa..ae4de6864 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_findByDirection.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_findByDirection.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistory_removeBatch_findByDirection - + @@ -51,7 +51,7 @@ Authors: 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"); @@ -86,6 +86,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_findByType.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_findByType.html index fdbfdf917..05302574e 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_findByType.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_findByType.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistory_removeBatch_findByType - + @@ -51,7 +51,7 @@ Authors: 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"); @@ -86,6 +86,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError, filter); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_missarg.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_missarg.html index ff0ebab6e..b33e4cc41 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_missarg.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_missarg.html @@ -23,7 +23,7 @@ Authors: CallHistory_removeBatch_missarg - + @@ -34,11 +34,12 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_TypeMismatch.html index 199c1a8d9..64d6e5321 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_TypeMismatch.html @@ -23,7 +23,7 @@ Authors: CallHistory_removeBatch_successCallback_TypeMismatch - + @@ -35,7 +35,7 @@ Authors: //==== 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); @@ -49,7 +49,8 @@ test(function() { tizen.callhistory.removeBatch([], successCallback); }, exceptionName + " should be thrown - given incorrect successCallback."); } -}); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_invalid_cb.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_invalid_cb.html index e553f607d..53ef08757 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_invalid_cb.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_invalid_cb.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeBatch_successCallback_invalid_cb - + @@ -34,7 +34,7 @@ Authors: //==== 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 = { @@ -43,12 +43,13 @@ test(function() { } }; - assert_throws({name : exceptionName}, + assert_throws({name: exceptionName}, function () { tizen.callhistory.removeBatch([], incorrectCallback); }, exceptionName + " should be thrown"); -}, "CallHistory_removeBatch_successCallback_invalid_cb"); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_null.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_null.html index 61610e700..8fd4d4242 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_null.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_null.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeBatch_successCallback_null - + @@ -30,7 +30,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_undefined.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_undefined.html index f99945ef6..30e4881df 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_undefined.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_undefined.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeBatch_successCallback_undefined - + @@ -30,7 +30,7 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_with_errorCallback.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_with_errorCallback.html index c34f26ce9..2602cbe8d 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_with_errorCallback.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_with_errorCallback.html @@ -23,7 +23,7 @@ Authors: CallHistory_removeBatch_with_errorCallback - + @@ -40,7 +40,7 @@ Authors: 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; @@ -75,6 +75,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_with_successCallback.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_with_successCallback.html index 2400604f2..3dae995f6 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_with_successCallback.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_with_successCallback.html @@ -23,7 +23,7 @@ Authors: CallHistory_removeBatch_with_successCallback - + @@ -40,7 +40,7 @@ Authors: 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 () { @@ -61,6 +61,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener.html index 8f142b19c..4d07414ef 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX + Guan, JingX HaoYunfen Krzysztof Lachacz @@ -35,7 +35,7 @@ Authors: CallHistory_removeChangeListener - + @@ -49,9 +49,9 @@ Authors: 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); @@ -59,7 +59,8 @@ test(function () { retVal = tizen.callhistory.removeChangeListener(handle); assert_equals(retVal, undefined, "removeChangeListener should return undefined"); -}, "CallHistory_removeChangeListener"); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_exist.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_exist.html index 4494d74ec..ad5f1dd46 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_exist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_exist.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX + Guan, JingX Krzysztof Lachacz --> @@ -37,7 +37,7 @@ Authors: - + @@ -48,11 +48,11 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_handle_InvalidValue.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_handle_InvalidValue.html index c213cef9f..cb3a2782f 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_handle_InvalidValue.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_handle_InvalidValue.html @@ -22,7 +22,7 @@ Authors: CallHistory_removeChangeListener_handle_InvalidValue - + @@ -30,30 +30,25 @@ Authors:
diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_entry_TypeMismatch.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_entry_TypeMismatch.html index 597e22093..89261efb9 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_entry_TypeMismatch.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_entry_TypeMismatch.html @@ -23,7 +23,7 @@ Authors: CallHistory_remove_entry_TypeMismatch - + @@ -49,7 +49,8 @@ test(function () { tizen.callhistory.remove(entry); }, exceptionName + "should be thrown - given incorrect entry."); } -}); +}, document.title); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_exist.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_exist.html index bb218c6ef..19f69fc5e 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_exist.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_exist.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Guan,JingX + Guan, JingX Krzysztof Lachacz --> @@ -37,7 +37,7 @@ Authors: - + @@ -48,10 +48,11 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_findBySortMode.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_findBySortMode.html index b32e47092..6f1a2e6b2 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_findBySortMode.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_findBySortMode.html @@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - Ma,YueX + Ma, YueX Krzysztof Lachacz --> @@ -34,7 +34,7 @@ Authors: CallHistory_remove_findBySortMode - + @@ -51,7 +51,7 @@ Authors: 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"); @@ -82,6 +82,7 @@ t.step(function () { tizen.callhistory.find(findSuccess, findError, null, sortMode); }); + diff --git a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_missarg.html b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_missarg.html index a249c18e6..9cda9ee9e 100644 --- a/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_missarg.html +++ b/tct-callhistory-tizen-tests/callhistory/CallHistory_remove_missarg.html @@ -23,7 +23,7 @@ Authors: CallHistory_remove_missarg - + @@ -34,11 +34,12 @@ Authors: //==== 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); + diff --git a/tct-callhistory-tizen-tests/callhistory/RemoteParty_notexist.html b/tct-callhistory-tizen-tests/callhistory/RemoteParty_notexist.html index 8df90383f..bbc987659 100644 --- a/tct-callhistory-tizen-tests/callhistory/RemoteParty_notexist.html +++ b/tct-callhistory-tizen-tests/callhistory/RemoteParty_notexist.html @@ -22,21 +22,22 @@ Authors: RemoteParty_notexist - +
diff --git a/tct-callhistory-tizen-tests/callhistory/support/unitcommon.js b/tct-callhistory-tizen-tests/callhistory/support/unitcommon.js new file mode 100644 index 000000000..9f972c1eb --- /dev/null +++ b/tct-callhistory-tizen-tests/callhistory/support/unitcommon.js @@ -0,0 +1,559 @@ +/* + +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('\n'); + } + if (head_src.search(/\/testharnessreport.js\W/) === -1) { + document.write('\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; +} diff --git a/tct-callhistory-tizen-tests/resources/unitcommon.js b/tct-callhistory-tizen-tests/resources/unitcommon.js deleted file mode 100644 index 9f972c1eb..000000000 --- a/tct-callhistory-tizen-tests/resources/unitcommon.js +++ /dev/null @@ -1,559 +0,0 @@ -/* - -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('\n'); - } - if (head_src.search(/\/testharnessreport.js\W/) === -1) { - document.write('\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; -} diff --git a/tct-callhistory-tizen-tests/tests.full.xml b/tct-callhistory-tizen-tests/tests.full.xml index 2017f2c41..5a1c3d595 100644 --- a/tct-callhistory-tizen-tests/tests.full.xml +++ b/tct-callhistory-tizen-tests/tests.full.xml @@ -340,7 +340,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_null.html @@ -352,7 +352,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_undefined.html @@ -364,7 +364,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_null.html @@ -376,7 +376,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_undefined.html @@ -388,7 +388,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null.html @@ -400,7 +400,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null.html @@ -412,7 +412,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_null.html @@ -424,7 +424,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_null.html @@ -436,7 +436,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_null.html @@ -448,7 +448,7 @@ - + Make at least 3 existence call history /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_null.html @@ -461,7 +461,7 @@ - + Make at least 3 existence call history /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_null.html @@ -948,7 +948,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_in_tizen.html @@ -1008,7 +1008,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_undefined.html @@ -1020,7 +1020,7 @@ - + Make at least 3 existence call history /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_undefined.html @@ -1033,7 +1033,7 @@ - + Make at least 3 existence call history /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_undefined.html @@ -1046,7 +1046,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_undefined.html @@ -1058,7 +1058,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_undefined.html @@ -1083,7 +1083,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_without_errorCallback.html @@ -1095,7 +1095,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter.html @@ -1107,7 +1107,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode.html @@ -1119,19 +1119,19 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html TBD - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset.html @@ -1143,7 +1143,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_0.html @@ -1155,67 +1155,67 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null_filter.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html TBD - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null_sortMode.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html TBD - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_null.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html TBD - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_compositeFilters.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html TBD - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_rangeFilters.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html TBD - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_limit_null_offset.html @@ -1227,31 +1227,31 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_various.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html TBD - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_1.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#findid2508192 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html TBD - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onadded.html @@ -1263,7 +1263,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onchanged.html @@ -1275,7 +1275,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_invalid.html @@ -1287,19 +1287,19 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_invalid.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html#addChangeListenerid2509112 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/callhistory.html TBD - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_handle_InvalidValue.html @@ -1311,7 +1311,7 @@ - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistoryObject_notexist.html @@ -1323,7 +1323,7 @@ - + Make an existence call history diff --git a/tct-callhistory-tizen-tests/tests.xml b/tct-callhistory-tizen-tests/tests.xml index c5eefb1ca..fcfbdf567 100644 --- a/tct-callhistory-tizen-tests/tests.xml +++ b/tct-callhistory-tizen-tests/tests.xml @@ -150,58 +150,58 @@ /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_nullableArgs_null.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_null.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_undefined.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_null.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_undefined.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_null.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_null.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_null.html - + Make at least 3 existence call history /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_null.html - + Make at least 3 existence call history /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_null.html @@ -408,7 +408,7 @@ /opt/tct-callhistory-tizen-tests/callhistory/RemoteParty_notexist.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_in_tizen.html @@ -433,29 +433,29 @@ /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_invalid_cb.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_undefined.html - + Make at least 3 existence call history /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_successCallback_undefined.html - + Make at least 3 existence call history /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeBatch_errorCallback_undefined.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode_undefined.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_undefined.html @@ -466,107 +466,107 @@ /opt/tct-callhistory-tizen-tests/callhistory/CallHistoryChangeCallback_onremoved.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_without_errorCallback.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_sortMode.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_offset_0.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_errorCallback_null_filter.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_null_sortMode.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_null.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_compositeFilters.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_rangeFilters.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_sortMode_limit_null_offset.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_filter_various.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_find_limit_1.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onadded.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_onchanged.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onadded_invalid.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_addChangeListener_observer_onchanged_invalid.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistory_removeChangeListener_handle_InvalidValue.html - + /opt/tct-callhistory-tizen-tests/callhistory/CallHistoryObject_notexist.html - + Make an existence call history