From: Andrzej Krolikowski Date: Thu, 19 Sep 2013 08:22:06 +0000 (+0200) Subject: [Messageport] clean up X-Git-Tag: 2.2.1_release~114^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37e9cd47b16fa30033d25e6011050b90ff8f8e38;p=test%2Ftct%2Fweb%2Fapi.git [Messageport] clean up Change-Id: I2cfd767a540ffff8983f9964ba875189b246984f --- diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener.html index 4b536a8f0..4bb647e02 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + LocalMessagePort_addMessagePortListener @@ -32,22 +32,22 @@ Authors: //==== TEST: LocalMessagePort_addMessagePortListener //==== LABEL Check if method addMessagePortListener works properly //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort:addMessagePortListener M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MMINA MAST MR var t = async_test("LocalMessagePort_addMessagePortListener"); t.step(function () { var remoteMsgPort, localMsgPort, onReceived, listenerId, - messagePortData = [{key:"RESULT", value:"OK"}], + messagePortData = [{key: "RESULT", value: "OK"}], app = tizen.application.getCurrentApplication(); onReceived = t.step_func(function (data) { - assert_type(data, "array", "MessagePortDataItem should be an array."); + assert_type(data, "array", "MessagePortDataItem should be an array"); assert_equals(data.length, 1, "There should be MessagePortDataItem"); assert_array_equals(data[0], messagePortData[0], - "Received data should be equal to init data."); + "Received data should be equal to init data"); assert_not_equals(listenerId, null, "id should be not null"); - assert_type(listenerId, "long", "id of MessagePortListener should be type of number."); + assert_type(listenerId, "long", "id of MessagePortListener should be type of number"); localMsgPort.removeMessagePortListener(listenerId); t.done(); }); @@ -58,6 +58,7 @@ t.step(function () { remoteMsgPort.sendMessage(messagePortData); }); + diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_exist.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_exist.html index 662ac3baf..740993772 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_exist.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_exist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + LocalMessagePort_addMessagePortListener_exist @@ -32,16 +32,15 @@ Authors: //==== TEST: LocalMessagePort_addMessagePortListener_exist //==== LABEL Check if method addMessagePortListener of LocalMessagePort exists //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort:addMessagePortListener M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA ME test(function () { - var localMsgPort; - - localMsgPort = tizen.messageport.requestLocalMessagePort("localMsgPort"); + var localMsgPort = tizen.messageport.requestLocalMessagePort("localMsgPort"); assert_true("addMessagePortListener" in localMsgPort, "No addMessagePortListener method in localMsgPort"); check_method_exists(localMsgPort, "addMessagePortListener"); }, "LocalMessagePort_addMessagePortListener_exist"); + diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_TypeMismatch.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_TypeMismatch.html index ccb4e4751..ed90910b0 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_TypeMismatch.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_TypeMismatch.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + LocalMessagePort_addMessagePortListener_listener_TypeMismatch @@ -33,7 +33,7 @@ Authors: //==== LABEL Check argument listener conversions exception //==== PRIORITY P2 //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort:addMessagePortListener M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MC test(function () { var localMsgPort, conversionTable, param, exceptionName, i; @@ -48,9 +48,10 @@ test(function () { assert_throws({name : exceptionName}, function () { localMsgPort.addMessagePortListener(param); - }, exceptionName + " should be thrown - given incorrect."); + }, exceptionName + " should be thrown - given incorrect"); } }, "LocalMessagePort_addMessagePortListener_listener_TypeMismatch"); + diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_invalid_cb.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_invalid_cb.html index 5f54cfba3..fc6b5fee3 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_invalid_cb.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_invalid_cb.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + LocalMessagePort_addMessagePortListener_listener_invalid_cb @@ -33,7 +33,7 @@ Authors: //==== LABEL Check if addMessagePortListener throws exception with invalid callback //==== PRIORITY P2 //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort:addMessagePortListener M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MTCB var t = async_test("LocalMessagePort_addMessagePortListener_listener_invalid_cb"); @@ -44,7 +44,7 @@ t.step(function () { incorrectCallback = { onreceived: t.step_func(function () { - assert_unreached("Invalid errorCallback invoked"); + assert_unreached("Invalid callback invoked"); }) }; @@ -55,6 +55,7 @@ t.step(function () { t.done(); }); + diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_missarg.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_missarg.html index b53e51ca6..b72cb0379 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_missarg.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_missarg.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + LocalMessagePort_addMessagePortListener_missarg @@ -32,7 +32,7 @@ Authors: //==== TEST: LocalMessagePort_addMessagePortListener_missarg //==== LABEL Check if addMessagePortListener method called with no arguments throws exception //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort:addMessagePortListener M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MMA test(function () { var localMsgPort; @@ -45,6 +45,7 @@ test(function () { }, "TypeMismatchError should be thrown"); }, "LocalMessagePort_addMessagePortListener_missarg"); + diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_extend.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_extend.html index 57eaa23cf..82d54a907 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_extend.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_extend.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + LocalMessagePort_extend @@ -31,17 +31,16 @@ Authors: diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_isTrusted_attribute.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_isTrusted_attribute.html index 3e41b3881..a25c8b78e 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_isTrusted_attribute.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_isTrusted_attribute.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma k.surma@samsung.com> + Karol Surma --> - + LocalMessagePort_isTrusted_attribute @@ -30,17 +30,16 @@ Authors:
diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_messagePortName_attribute.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_messagePortName_attribute.html index 6376b1db1..e8ed70ab6 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_messagePortName_attribute.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_messagePortName_attribute.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma k.surma@samsung.com> + Karol Surma --> - + LocalMessagePort_messagePortName_attribute @@ -32,15 +32,16 @@ Authors: //==== TEST: LocalMessagePort_messagePortName_attribute //==== LABEL Check if attribute messagePortName of LocalMessagePort exists, has type DOMString and is readonly //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort:messagePortName A -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA AE AT ARO test(function () { var localMsgPort; localMsgPort = tizen.messageport.requestLocalMessagePort("localMsgPort"); - assert_own_property(localMsgPort, "messagePortName", "LocalMessagePort does not own messagePortName property."); + assert_own_property(localMsgPort, "messagePortName", "LocalMessagePort does not own messagePortName property"); check_readonly(localMsgPort, "messagePortName", "localMsgPort", "string", "invalid"); }, "LocalMessagePort_messagePortName_attribute"); + diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_notexist.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_notexist.html index 7fb2d90d3..4682093e3 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_notexist.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_notexist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Andrzej Krolikowski + Andrzej Krolikowski --> - + LocalMessagePort_notexist @@ -33,11 +33,12 @@ Authors: //==== PRIORITY P3 //==== LABEL Check if interface LocalMessagePort exists, it should not. //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort:LocalMessagePort U -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA NIO test(function () { check_no_interface_object("LocalMessagePort"); }, "LocalMessagePort_notexist"); + diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener.html index 061f21bd8..e2388be82 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + LocalMessagePort_removeMessagePortListener @@ -32,16 +32,17 @@ Authors: //==== TEST: LocalMessagePort_removeMessagePortListener //==== LABEL Check if method removeMessagePortListener works properly //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort:removeMessagePortListener M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MMINA MAST MR var t = async_test("LocalMessagePort_removeMessagePortListener"), localMsgPort, remoteMsgPort, listenerId, onReceived, - app = tizen.application.getCurrentApplication(), messagePortData = [{key:"RESULT", value:"OK"}], retValue = null; + app = tizen.application.getCurrentApplication(), messagePortData = [{key: "RESULT", value: "OK"}], + retValue = null; t.step(function () { localMsgPort = tizen.messageport.requestLocalMessagePort("remoteMsgPort"); onReceived = t.step_func(function (data) { - assert_unreached("Callback should be unregistered."); + assert_unreached("Callback should be unregistered"); }); listenerId = localMsgPort.addMessagePortListener(onReceived); retValue = localMsgPort.removeMessagePortListener(listenerId); @@ -55,6 +56,7 @@ t.step(function () { t.done(); }), 500); }); + diff --git a/tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener_exist.html b/tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener_exist.html index 354cedf6e..9f580a83b 100644 --- a/tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener_exist.html +++ b/tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener_exist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + LocalMessagePort_removeMessagePortListener_exist @@ -32,7 +32,7 @@ Authors: //==== TEST: LocalMessagePort_removeMessagePortListener_exist //==== LABEL Check if method removeMessagePortListener of LocalMessagePort exists //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort:removeMessagePortListener M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA ME test(function () { var localMsgPort; @@ -42,6 +42,7 @@ test(function () { assert_true("removeMessagePortListener" in localMsgPort, "No removeMessagePortListener method in localMsgPort"); check_method_exists(localMsgPort, "removeMessagePortListener"); }, "LocalMessagePort_removeMessagePortListener_exist"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortCallback_notexist.html b/tct-messageport-tizen-tests/messageport/MessagePortCallback_notexist.html index d7fd9754d..75d02e4c1 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortCallback_notexist.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortCallback_notexist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Andrzej Krolikowski + Andrzej Krolikowski --> - + MessagePortCallback_notexist @@ -33,11 +33,12 @@ Authors: //==== PRIORITY P3 //==== LABEL Check if interface MessagePortCallback exists, it should not. //==== SPEC Tizen Web API:IO:Messageport:MessagePortCallback:MessagePortCallback U -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA CBNIO test(function () { check_no_interface_object("MessagePortCallback"); }, "MessagePortCallback_notexist"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived.html b/tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived.html index 04aa90ced..513bc1860 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + MessagePortCallback_onreceived @@ -32,22 +32,22 @@ Authors: //==== TEST: MessagePortCallback_onreceived //==== LABEL Check if MessagePortCallback works correctly with mandatory arguments //==== SPEC Tizen Web API:IO:Messageport:MessagePortCallback:onreceived M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA CBT CBOA var t = async_test("MessagePortCallback_onreceived"); t.step(function () { var remoteMsgPort, localMsgPort, onReceived, listenerId, - messagePortData = [{key:"RESULT",value:"OK"}], + messagePortData = [{key: "RESULT", value: "OK"}], app = tizen.application.getCurrentApplication(); onReceived = t.step_func(function (data) { - assert_type(data, "array", "Argument data has an invalid type."); - assert_true(data.length > 0, "Callback onReceived called with an empty array."); - assert_type(data[0], "object", "MessagePortDataItem has an invalid type."); + assert_type(data, "array", "Argument data has an invalid type"); + assert_greater_than(data.length, 0, "Callback onReceived called with an empty array"); + assert_type(data[0], "object", "MessagePortDataItem has an invalid type"); - assert_equals(data[0].key, messagePortData[0].key, "received data should be the same"); - assert_equals(data[0].value, messagePortData[0].value, "received data should be the same"); + assert_equals(data[0].key, messagePortData[0].key, "Received data should be the same"); + assert_equals(data[0].value, messagePortData[0].value, "Received data should be the same"); localMsgPort.removeMessagePortListener(listenerId); t.done(); @@ -59,6 +59,7 @@ t.step(function () { remoteMsgPort.sendMessage(messagePortData); }); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived_all.html b/tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived_all.html index 108d722e4..bdb4a7606 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived_all.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived_all.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + MessagePortCallback_onreceived_all @@ -32,18 +32,18 @@ Authors: //==== TEST: MessagePortCallback_onreceived_all //==== LABEL Check if MessagePortCallback works correctly with all arguments //==== SPEC Tizen Web API:IO:Messageport:MessagePortCallback:onreceived M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA CBOA var t = async_test("MessagePortCallback_onreceived_all"); t.step(function () { var remoteMsgPort, localMsgPort, onReceived, listenerId, - messagePortData = [{key:"RESULT",value:"OK"}], + messagePortData = [{key: "RESULT", value: "OK"}], app = tizen.application.getCurrentApplication(); onReceived = t.step_func(function (data, remoteMessagePort) { - assert_equals(data.key, messagePortData.key, "received data should be the same"); - assert_equals(data.value, messagePortData.value, "received data should be the same"); + assert_equals(data.key, messagePortData.key, "Received data should be the same"); + assert_equals(data.value, messagePortData.value, "Received data should be the same"); assert_not_equals(remoteMessagePort, null, "remoteMessagePort should be not null}"); localMsgPort.removeMessagePortListener(listenerId); t.done(); @@ -55,6 +55,7 @@ t.step(function () { remoteMsgPort.sendMessage(messagePortData, localMsgPort); }); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManagerObject_notexist.html b/tct-messageport-tizen-tests/messageport/MessagePortManagerObject_notexist.html index 76afd770a..cd66bd061 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManagerObject_notexist.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManagerObject_notexist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Andrzej Krolikowski + Andrzej Krolikowski --> - + MessagePortManagerObject_notexist @@ -33,11 +33,12 @@ Authors: //==== PRIORITY P3 //==== LABEL Check if interface MessagePortManagerObject exists, it should not. //==== SPEC Tizen Web API:IO:Messageport:MessagePortManagerObject:MessagePortManagerObject U -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA NIO test(function () { check_no_interface_object("MessagePortManagerObject"); }, "MessagePortManagerObject_notexist"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_extend.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_extend.html index 6f65e7bc1..9e52e8b07 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_extend.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_extend.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Grzegorz Sala + Grzegorz Sala --> - + MessagePortManager_extend @@ -33,11 +33,12 @@ Authors: //==== PRIORITY P3 //==== LABEL Check if instance of interface MessagePortManager can be extended with new property //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:MessagePortManager U -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA OBX test(function () { check_extensibility(tizen.messageport); }, "MessagePortManager_extend"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_in_tizen.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_in_tizen.html index 357933c62..ec17e69fc 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_in_tizen.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_in_tizen.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Grzegorz Sala + Grzegorz Sala --> - + MessagePortManager_in_tizen @@ -32,13 +32,14 @@ Authors: //==== TEST: MessagePortManager_in_tizen //==== LABEL Check if messageport exists in tizen. //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:MessagePortManager U -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA OBME //==== PRIORITY P3 -test(function() { - assert_true("messageport" in tizen, "No messageport in tizen."); +test(function () { + assert_true("messageport" in tizen, "No messageport in tizen"); check_readonly(tizen, "messageport", tizen.messageport, "object", "dummyValue"); }, "MessagePortManager_in_tizen"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_notexist.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_notexist.html index c7eaba707..6bc00ba6c 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_notexist.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_notexist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Andrzej Krolikowski + Andrzej Krolikowski --> - + MessagePortManager_notexist @@ -33,11 +33,12 @@ Authors: //==== PRIORITY P3 //==== LABEL Check if interface MessagePortManager exists, it should not. //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:MessagePortManager U -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA NIO test(function () { check_no_interface_object("MessagePortManager"); }, "MessagePortManager_notexist"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort.html index b49234ed6..068bf889e 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + MessagePortManager_requestLocalMessagePort @@ -32,7 +32,7 @@ Authors: //==== TEST: MessagePortManager_requestLocalMessagePort //==== LABEL Check if method requestLocalMessagePort works properly //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:requestLocalMessagePort M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MMINA MR test(function () { var localMsgPort; @@ -42,6 +42,7 @@ test(function () { assert_equals(localMsgPort.messagePortName, "localMsgPort", "localMsgPort should have proper name"); assert_equals(localMsgPort.isTrusted, false, "isTrusted property should be false"); }, "MessagePortManager_requestLocalMessagePort"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort_exist.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort_exist.html index d2f5c17f2..eda86b13e 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort_exist.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort_exist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Grzegorz Sala + Grzegorz Sala --> - + MessagePortManager_requestLocalMessagePort_exist @@ -32,12 +32,13 @@ Authors: //==== TEST: MessagePortManager_requestLocalMessagePort_exist //==== LABEL Check if method requestLocalMessagePort of MessagePortManager exists //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:requestLocalMessagePort M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA ME test(function () { assert_true("requestLocalMessagePort" in tizen.messageport, "No requestLocalMessagePort method in tizen.messageport"); check_method_exists(tizen.messageport, "requestLocalMessagePort"); }, "MessagePortManager_requestLocalMessagePort_exist"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort.html index 18edcc4bb..f436ab47f 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + MessagePortManager_requestRemoteMessagePort @@ -32,7 +32,7 @@ Authors: //==== TEST: MessagePortManager_requestRemoteMessagePort //==== LABEL Check if method requestRemoteMessagePort works properly //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:requestRemoteMessagePort M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MMINA MR test(function () { var remoteMsgPort, localMsgPort, @@ -45,6 +45,7 @@ test(function () { assert_equals(remoteMsgPort.appId, app.appInfo.id, "ids should be equal"); assert_equals(remoteMsgPort.isTrusted, false, "isTrusted property should be false"); }, "MessagePortManager_requestRemoteMessagePort"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort_exist.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort_exist.html index fb0c44a15..a12603753 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort_exist.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort_exist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Grzegorz Sala + Grzegorz Sala --> - + MessagePortManager_requestRemoteMessagePort_exist @@ -32,12 +32,13 @@ Authors: //==== TEST: MessagePortManager_requestRemoteMessagePort_exist //==== LABEL Check if method requestRemoteMessagePort of MessagePortManager exists //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:requestRemoteMessagePort M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA ME test(function () { assert_true("requestRemoteMessagePort" in tizen.messageport, "No requestRemoteMessagePort method in tizen.messageport"); check_method_exists(tizen.messageport, "requestRemoteMessagePort"); }, "MessagePortManager_requestRemoteMessagePort_exist"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort.html index 554db1364..5389705c0 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + MessagePortManager_requestTrustedLocalMessagePort @@ -32,7 +32,7 @@ Authors: //==== TEST: MessagePortManager_requestTrustedLocalMessagePort //==== LABEL Check if method requestTrustedLocalMessagePort works properly //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:requestTrustedLocalMessagePort M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MMINA MR test(function () { var trustedLocalMsgPort; @@ -42,6 +42,7 @@ test(function () { assert_equals(trustedLocalMsgPort.messagePortName, "trustedLocalMsgPort", "trustedLocalMsgPort should have proper name"); assert_equals(trustedLocalMsgPort.isTrusted, true, "trustedLocalMsgPort should be trusted"); }, "MessagePortManager_requestTrustedLocalMessagePort"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort_exist.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort_exist.html index a84958cb0..809de6ef7 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort_exist.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort_exist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Grzegorz Sala + Grzegorz Sala --> - + MessagePortManager_requestTrustedLocalMessagePort_exist @@ -32,12 +32,13 @@ Authors: //==== TEST: MessagePortManager_requestTrustedLocalMessagePort_exist //==== LABEL Check if method requestTrustedLocalMessagePort of MessagePortManager exists //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:requestTrustedLocalMessagePort M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA ME test(function () { assert_true("requestTrustedLocalMessagePort" in tizen.messageport, "No requestTrustedLocalMessagePort method in tizen.messageport"); check_method_exists(tizen.messageport, "requestTrustedLocalMessagePort"); }, "MessagePortManager_requestTrustedLocalMessagePort_exist"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort.html index c1b69b85e..38eac6320 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + MessagePortManager_requestTrustedRemoteMessagePort @@ -32,7 +32,7 @@ Authors: //==== TEST: MessagePortManager_requestTrustedRemoteMessagePort //==== LABEL Check if method requestTrustedRemoteMessagePort works properly //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:requestTrustedRemoteMessagePort M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MMINA MR test(function () { var trustedRemoteMsgPort, localMsgPort, @@ -45,6 +45,7 @@ test(function () { assert_equals(trustedRemoteMsgPort.appId, app.appInfo.id, "ids should be equal"); assert_equals(trustedRemoteMsgPort.isTrusted, true, "trustedRemoteMsgPort should be trusted"); }, "MessagePortManager_requestTrustedRemoteMessagePort"); + diff --git a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort_exist.html b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort_exist.html index 93aeab529..5dfd1df69 100644 --- a/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort_exist.html +++ b/tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort_exist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Grzegorz Sala + Grzegorz Sala --> - + MessagePortManager_requestTrustedRemoteMessagePort_exist @@ -32,12 +32,13 @@ Authors: //==== TEST: MessagePortManager_requestTrustedRemoteMessagePort_exist //==== LABEL Check if method requestTrustedRemoteMessagePort of MessagePortManager exists //==== SPEC Tizen Web API:IO:Messageport:MessagePortManager:requestTrustedRemoteMessagePort M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA ME test(function () { assert_true("requestTrustedRemoteMessagePort" in tizen.messageport, "No requestTrustedRemoteMessagePort method in tizen.messageport"); check_method_exists(tizen.messageport, "requestTrustedRemoteMessagePort"); }, "MessagePortManager_requestTrustedRemoteMessagePort_exist"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_appId_attribute.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_appId_attribute.html index ed586c5a2..86448e618 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_appId_attribute.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_appId_attribute.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma k.surma@samsung.com> + Karol Surma --> - + RemoteMessagePort_appId_attribute @@ -32,7 +32,7 @@ Authors: //==== TEST: RemoteMessagePort_appId_attribute //==== LABEL Check if attribute appId of RemoteMessagePort exists, has type ApplicationId and is readonly //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:appId A -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA AE AT ARO test(function () { var remoteMsgPort, localMsgPort, @@ -40,9 +40,10 @@ test(function () { localMsgPort = tizen.messageport.requestLocalMessagePort("remoteMsgPort"); remoteMsgPort = tizen.messageport.requestRemoteMessagePort(app.appInfo.id, "remoteMsgPort"); - assert_own_property(remoteMsgPort, "appId", "RemoteMessagePort does not own appId property."); + assert_own_property(remoteMsgPort, "appId", "RemoteMessagePort does not own appId property"); check_readonly(remoteMsgPort, "appId", app.appInfo.id, "string", "invalid"); }, "RemoteMessagePort_appId_attribute"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_extend.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_extend.html index 2313eca12..426177354 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_extend.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_extend.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + RemoteMessagePort_extend @@ -33,7 +33,7 @@ Authors: //==== LABEL Check if instance of interface RemoteMessagePort can be extended with new property //==== PRIORITY P3 //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:RemoteMessagePort U -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA OBX test(function () { var remoteMsgPort, localMsgPort, @@ -44,6 +44,7 @@ test(function () { check_extensibility(remoteMsgPort); }, "RemoteMessagePort_extend"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_isTrusted_attribute.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_isTrusted_attribute.html index f986511cb..e43b228f4 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_isTrusted_attribute.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_isTrusted_attribute.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma k.surma@samsung.com> + Karol Surma --> - + RemoteMessagePort_isTrusted_attribute @@ -32,7 +32,7 @@ Authors: //==== TEST: RemoteMessagePort_isTrusted_attribute //==== LABEL Check if attribute isTrusted of RemoteMessagePort exists, has type Boolean and is readonly //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:isTrusted A -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA AE AT ARO test(function () { var remoteMsgPort, localMsgPort, @@ -40,9 +40,10 @@ test(function () { localMsgPort = tizen.messageport.requestLocalMessagePort("remoteMsgPort"); remoteMsgPort = tizen.messageport.requestRemoteMessagePort(app.appInfo.id, "remoteMsgPort"); - assert_own_property(remoteMsgPort, "isTrusted", "RemoteMessagePort does not own isTrusted property."); + assert_own_property(remoteMsgPort, "isTrusted", "RemoteMessagePort does not own isTrusted property"); check_readonly(remoteMsgPort, "isTrusted", false, "boolean", true); }, "RemoteMessagePort_isTrusted_attribute"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_messagePortName_attribute.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_messagePortName_attribute.html index 7d3e8fc11..23d98dab5 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_messagePortName_attribute.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_messagePortName_attribute.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma k.surma@samsung.com> + Karol Surma --> - + RemoteMessagePort_messagePortName_attribute @@ -32,7 +32,7 @@ Authors: //==== TEST: RemoteMessagePort_messagePortName_attribute //==== LABEL Check if attribute messagePortName of RemoteMessagePort exists, has type DOMString and is readonly //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:messagePortName A -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA AE AT ARO test(function () { var remoteMsgPort, localMsgPort, @@ -40,9 +40,10 @@ test(function () { localMsgPort = tizen.messageport.requestLocalMessagePort("remoteMsgPort"); remoteMsgPort = tizen.messageport.requestRemoteMessagePort(app.appInfo.id, "remoteMsgPort"); - assert_own_property(remoteMsgPort, "messagePortName", "RemoteMessagePort does not own messagePortName property."); + assert_own_property(remoteMsgPort, "messagePortName", "RemoteMessagePort does not own messagePortName property"); check_readonly(remoteMsgPort, "messagePortName", "remoteMsgPort", "string", "invalid"); }, "RemoteMessagePort_messagePortName_attribute"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_notexist.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_notexist.html index 774624a82..e9b4edb1f 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_notexist.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_notexist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Andrzej Krolikowski + Andrzej Krolikowski --> - + RemoteMessagePort_notexist @@ -33,11 +33,12 @@ Authors: //==== PRIORITY P3 //==== LABEL Check if interface RemoteMessagePort exists, it should not. //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:RemoteMessagePort U -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA NIO test(function () { check_no_interface_object("RemoteMessagePort"); }, "RemoteMessagePort_notexist"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage.html index 2e936a548..81f5ee4fd 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + RemoteMessagePort_sendMessage @@ -32,13 +32,13 @@ Authors: //==== TEST: RemoteMessagePort_sendMessage //==== LABEL Check if method sendMessage works properly //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:sendMessage M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MMINA MR var t = async_test("RemoteMessagePort_sendMessage"), retValue = null; t.step(function () { var remoteMsgPort, localMsgPort, onReceived, listenerId, - messagePortData = [{key:"RESULT",value:"OK"}], + messagePortData = [{key: "RESULT", value: "OK"}], app = tizen.application.getCurrentApplication(); onReceived = t.step_func(function (data) { @@ -55,6 +55,7 @@ t.step(function () { retValue = remoteMsgPort.sendMessage(messagePortData); assert_equals(retValue, undefined, "sendMessage returns wrong value"); }); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_data_TypeMismatch.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_data_TypeMismatch.html index e3feff9c2..91164c240 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_data_TypeMismatch.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_data_TypeMismatch.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma k.surma@samsung.com> + Karol Surma --> - + RemoteMessagePort_sendMessage_data_TypeMismatch @@ -33,7 +33,7 @@ Authors: //==== LABEL Check argument data conversions exception //==== PRIORITY P2 //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:sendMessage M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MC test(function () { var remoteMsgPort, localMsgPort, conversionTable, param, exceptionName, i, @@ -50,9 +50,10 @@ test(function () { assert_throws({name : exceptionName}, function () { remoteMsgPort.sendMessage(param); - }, exceptionName + " should be thrown - given incorrect."); + }, exceptionName + " should be thrown - given incorrect"); } }, "RemoteMessagePort_sendMessage_data_TypeMismatch"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_exist.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_exist.html index 8f1f177fb..9015d8d1f 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_exist.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_exist.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + RemoteMessagePort_sendMessage_exist @@ -32,7 +32,7 @@ Authors: //==== TEST: RemoteMessagePort_sendMessage_exist //==== LABEL Check if method sendMessage of RemoteMessagePort exists //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:sendMessage M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA ME test(function () { var remoteMsgPort, localMsgPort, @@ -44,6 +44,7 @@ test(function () { assert_true("sendMessage" in remoteMsgPort, "No sendMessage method in RemoteMessagePort"); check_method_exists(remoteMsgPort, "sendMessage"); }, "RemoteMessagePort_sendMessage_exist"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_localMessagePort_TypeMismatch.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_localMessagePort_TypeMismatch.html index ff92e9ca9..8b53e8eca 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_localMessagePort_TypeMismatch.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_localMessagePort_TypeMismatch.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma k.surma@samsung.com> + Karol Surma --> - + RemoteMessagePort_sendMessage_localMessagePort_TypeMismatch @@ -33,7 +33,7 @@ Authors: //==== LABEL Check argument localMessagePort conversions exception //==== PRIORITY P2 //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:sendMessage M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MC test(function () { var remoteMsgPort, localMsgPort, conversionTable, param, exceptionName, i, @@ -51,9 +51,10 @@ test(function () { assert_throws({name : exceptionName}, function () { remoteMsgPort.sendMessage(messagePortData, param); - }, exceptionName + " should be thrown - given incorrect."); + }, exceptionName + " should be thrown - given incorrect"); } }, "RemoteMessagePort_sendMessage_localMessagePort_TypeMismatch"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_missarg.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_missarg.html index b19a2bb7c..1d7f1cd85 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_missarg.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_missarg.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma k.surma@samsung.com> + Karol Surma --> - + RemoteMessagePort_sendMessage_missarg @@ -32,7 +32,7 @@ Authors: //==== TEST: RemoteMessagePort_sendMessage_missarg //==== LABEL Check if sendMessage method called with no arguments throws exception //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:sendMessage M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MMA test(function () { var remoteMsgPort, localMsgPort, @@ -47,6 +47,7 @@ test(function () { }, "TypeMismatchError should be thrown"); }, "RemoteMessagePort_sendMessage_missarg"); + diff --git a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_with_localMessagePort.html b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_with_localMessagePort.html index ca894d018..002d284e7 100644 --- a/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_with_localMessagePort.html +++ b/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_with_localMessagePort.html @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. Authors: - Karol Surma + Karol Surma --> - + RemoteMessagePort_sendMessage_with_localMessagePort @@ -32,26 +32,26 @@ Authors: //==== TEST: RemoteMessagePort_sendMessage_with_localMessagePort //==== LABEL Check if method sendMessage works properly with all arguments //==== SPEC Tizen Web API:IO:Messageport:RemoteMessagePort:sendMessage M -//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html +//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html //==== TEST_CRITERIA MOA MAST var t = async_test("RemoteMessagePort_sendMessage_with_localMessagePort"); t.step(function () { var remoteMsgPort, localMsgPort, onReceived, listenerId, - messagePortData = [{key:"RESULT", value:"OK"}], + messagePortData = [{key: "RESULT", value: "OK"}], app = tizen.application.getCurrentApplication(); onReceived = t.step_func(function (data, remoteMessagePort) { - assert_type(data, "array", "MessagePortDataItem should be an array."); + assert_type(data, "array", "MessagePortDataItem should be an array"); assert_equals(data.length, 1, "There should be MessagePortDataItem"); assert_array_equals(data[0], messagePortData[0], - "Received data should be equal to init data."); + "Received data should be equal to init data"); - if (remoteMessagePort !== null) { - remoteMessagePort.sendMessage(messagePortData); - } else { + if (remoteMessagePort === null) { localMsgPort.removeMessagePortListener(listenerId); t.done(); + } else { + remoteMessagePort.sendMessage(messagePortData); } }); @@ -61,6 +61,7 @@ t.step(function () { remoteMsgPort.sendMessage(messagePortData, localMsgPort); }); + diff --git a/tct-messageport-tizen-tests/tests.full.xml b/tct-messageport-tizen-tests/tests.full.xml index f6dd50105..2f2d49192 100644 --- a/tct-messageport-tizen-tests/tests.full.xml +++ b/tct-messageport-tizen-tests/tests.full.xml @@ -10,7 +10,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -22,7 +22,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -34,7 +34,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -46,7 +46,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -58,7 +58,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -70,7 +70,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -82,7 +82,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -94,7 +94,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -106,7 +106,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -118,7 +118,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -130,7 +130,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -142,7 +142,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -154,7 +154,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -166,7 +166,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -178,7 +178,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -190,7 +190,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -202,19 +202,19 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD - + /opt/tct-messageport-tizen-tests/messageport/LocalMessagePort_extend.html - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -226,7 +226,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -238,7 +238,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -250,7 +250,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -262,7 +262,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -274,19 +274,19 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD - + /opt/tct-messageport-tizen-tests/messageport/LocalMessagePort_isTrusted_attribute.html - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -298,7 +298,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -310,7 +310,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -322,7 +322,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -334,7 +334,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -346,7 +346,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -358,7 +358,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -370,7 +370,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -382,7 +382,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -394,7 +394,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -406,7 +406,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -418,7 +418,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -430,7 +430,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD @@ -442,7 +442,7 @@ - https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html TBD diff --git a/tct-messageport-tizen-tests/tests.xml b/tct-messageport-tizen-tests/tests.xml index 037400904..088d72896 100644 --- a/tct-messageport-tizen-tests/tests.xml +++ b/tct-messageport-tizen-tests/tests.xml @@ -88,7 +88,7 @@ /opt/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_exist.html - + /opt/tct-messageport-tizen-tests/messageport/LocalMessagePort_extend.html @@ -118,7 +118,7 @@ /opt/tct-messageport-tizen-tests/messageport/RemoteMessagePort_messagePortName_attribute.html - + /opt/tct-messageport-tizen-tests/messageport/LocalMessagePort_isTrusted_attribute.html