[Messageport] clean up
authorAndrzej Krolikowski <a.krolikowsk@samsung.com>
Thu, 19 Sep 2013 08:22:06 +0000 (10:22 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 24 Sep 2013 14:42:53 +0000 (14:42 +0000)
Change-Id: I2cfd767a540ffff8983f9964ba875189b246984f

39 files changed:
tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_exist.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_TypeMismatch.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_listener_invalid_cb.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_addMessagePortListener_missarg.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_extend.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_isTrusted_attribute.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_messagePortName_attribute.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_notexist.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener.html
tct-messageport-tizen-tests/messageport/LocalMessagePort_removeMessagePortListener_exist.html
tct-messageport-tizen-tests/messageport/MessagePortCallback_notexist.html
tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived.html
tct-messageport-tizen-tests/messageport/MessagePortCallback_onreceived_all.html
tct-messageport-tizen-tests/messageport/MessagePortManagerObject_notexist.html
tct-messageport-tizen-tests/messageport/MessagePortManager_extend.html
tct-messageport-tizen-tests/messageport/MessagePortManager_in_tizen.html
tct-messageport-tizen-tests/messageport/MessagePortManager_notexist.html
tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort.html
tct-messageport-tizen-tests/messageport/MessagePortManager_requestLocalMessagePort_exist.html
tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort.html
tct-messageport-tizen-tests/messageport/MessagePortManager_requestRemoteMessagePort_exist.html
tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort.html
tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedLocalMessagePort_exist.html
tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort.html
tct-messageport-tizen-tests/messageport/MessagePortManager_requestTrustedRemoteMessagePort_exist.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_appId_attribute.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_extend.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_isTrusted_attribute.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_messagePortName_attribute.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_notexist.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_data_TypeMismatch.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_exist.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_localMessagePort_TypeMismatch.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_missarg.html
tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_with_localMessagePort.html
tct-messageport-tizen-tests/tests.full.xml
tct-messageport-tizen-tests/tests.xml

index 4b536a8f03e71282d8932548878551a8d7dc5d66..4bb647e02b20bd3d187db293ac292be846b20345 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_addMessagePortListener</title>
 <meta charset="utf-8"/>
@@ -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);
 });
+
 </script>
 </body>
 </html>
index 662ac3baf891453bea50eb54661c7c2b45e340ff..740993772c2150bcf9f8d8f9c05a085da94039ec 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_addMessagePortListener_exist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index ccb4e4751dc62ffcea7e3bb69c8e92ad2ee49c5a..ed90910b0b978282f5e77d7c9fec66fe38945539 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_addMessagePortListener_listener_TypeMismatch</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 5f54cfba3b125af8df44fa72306c8ac5840457ca..fc6b5fee3ddfa360c3cfa4096ec478c705f40303 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_addMessagePortListener_listener_invalid_cb</title>
 <meta charset="utf-8"/>
@@ -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();
 });
+
 </script>
 </body>
 </html>
index b53e51ca682edb9446a5a1c09c7be4caaceba583..b72cb03799cd774499afbb1b2136557f6575ec53 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_addMessagePortListener_missarg</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 57eaa23cf8678309550876c856c2bf5aeffab12d..82d54a9073d2e1242fa93cc0aa32722a56416753 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_extend</title>
 <meta charset="utf-8"/>
@@ -31,17 +31,16 @@ Authors:
 <script>
 //==== TEST: LocalMessagePort_extend
 //==== PRIORITY P3
-//==== LABEL Check if instance of interface LocalMessagePort_extend can be extended with new property
+//==== LABEL Check if instance of interface LocalMessagePort can be extended with new property
 //==== 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 OBX
 test(function () {
-    var localMsgPort;
-
-    localMsgPort = tizen.messageport.requestLocalMessagePort("localMsgPort");
+    var localMsgPort = tizen.messageport.requestLocalMessagePort("localMsgPort");
 
     check_extensibility(localMsgPort);
 }, "LocalMessagePort_extend");
+
 </script>
 </body>
 </html>
index 3e41b3881e768a9fea6f0b0a8be2de061a869ceb..a25c8b78ef575612604cdf4758d7638bf559b396 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_isTrusted_attribute</title>
 <meta charset="utf-8"/>
@@ -30,17 +30,16 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: LocalMessagePort_isTrusted_attribute
-//==== LABEL Check if attribute isTrusted of LocalMessagePort exists, has type Boolean and is readonly
+//==== LABEL Check if attribute isTrusted of LocalMessagePort exists, has type boolean and is readonly
 //==== SPEC Tizen Web API:IO:Messageport:LocalMessagePort: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 localMsgPort;
-
-    localMsgPort = tizen.messageport.requestLocalMessagePort("localMsgPort");
-    assert_own_property(localMsgPort, "isTrusted", "LocalMessagePort does not own isTrusted property.");
+    var localMsgPort = tizen.messageport.requestLocalMessagePort("localMsgPort");
+    assert_own_property(localMsgPort, "isTrusted", "LocalMessagePort does not own isTrusted property");
     check_readonly(localMsgPort, "isTrusted", false, "boolean", true);
 }, "LocalMessagePort_isTrusted_attribute");
+
 </script>
 </body>
 </html>
index 6376b1db198bdb5d35d62eb129c4c4a556666a4f..e8ed70ab6781aa851034ff865bbbd62975aafc63 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_messagePortName_attribute</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 7fb2d90d32ef01f2f4dd28c45e0751286940b93b..4682093e322460412fb13fefe2c22d66aa7ab643 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Andrzej Krolikowski <a.krolikowsk@samsung.com>
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_notexist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 061f21bd879a03bb5b6e8993c50c5825acb5ebe9..e2388be82f4bde6ba0ab983fe703960b829c0406 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_removeMessagePortListener</title>
 <meta charset="utf-8"/>
@@ -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);
 });
+
 </script>
 </body>
 </html>
index 354cedf6e902d5463de139d2baf4688918067d0e..9f580a83b90bcd5badd839f78d10cc9c17bdf95c 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>LocalMessagePort_removeMessagePortListener_exist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index d7fd9754de282bfb1b9152ce6aeb675e63f4e82d..75d02e4c1c04664d8b7e423a8f25ff502d129fa8 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Andrzej Krolikowski <a.krolikowsk@samsung.com>
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortCallback_notexist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 04aa90ced0d3df5fd9ea0748f593dc2090ded066..513bc1860750588990c5ad58ab1a4e52e1bdec0a 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortCallback_onreceived</title>
 <meta charset="utf-8"/>
@@ -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);
 });
+
 </script>
 </body>
 </html>
index 108d722e40ccd3e61d63b15468fed4fdbe1b3878..bdb4a7606b582da8b6923fc5fffe88ee00db1918 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortCallback_onreceived_all</title>
 <meta charset="utf-8"/>
@@ -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);
 });
+
 </script>
 </body>
 </html>
index 76afd770a7490e955d2dd1b6df2e6dd8deb47b92..cd66bd0616257ff91c54745248b27e1d10d83e76 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Andrzej Krolikowski <a.krolikowsk@samsung.com>
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManagerObject_notexist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 6f65e7bc1ea857db50312db9bc776cb64017c8d9..9e52e8b073cd2f92e93c1a9501b767b773211282 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Grzegorz Sala <g.sala2@samsung.com>
+        Grzegorz Sala <g.sala2@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_extend</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 357933c62683818b741f78540c9fe1779d3e63e0..ec17e69fc1cac15e4bd790506985255ba36befda 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Grzegorz Sala <g.sala2@samsung.com>
+        Grzegorz Sala <g.sala2@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_in_tizen</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index c7eaba70792f98fa4f52f027b75c427fbe037710..6bc00ba6c344f74eba7813339b4770ef82f5e0c4 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Andrzej Krolikowski <a.krolikowsk@samsung.com>
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_notexist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index b49234ed65e7644bf6481a86fda88cafdd4f6db1..068bf889ea1e2de8084db95b5d71733ab7fe175f 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_requestLocalMessagePort</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index d2f5c17f2a3a426f276a25886d3e6fb5530ee94a..eda86b13e67f85b0d5a8ebb9c7fbf700b920e788 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Grzegorz Sala <g.sala2@samsung.com>
+        Grzegorz Sala <g.sala2@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_requestLocalMessagePort_exist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 18edcc4bb5c9b601fbd519599c47d3f91d9e933d..f436ab47ff2bc56db89459d7abd024bde2c32bc7 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_requestRemoteMessagePort</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index fb0c44a157061c48dc2a92e77ae5f7bca1a1c3b5..a126037537433c55ae7278719632c46300025bdc 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Grzegorz Sala <g.sala2@samsung.com>
+        Grzegorz Sala <g.sala2@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_requestRemoteMessagePort_exist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 554db13642ec7b9e2713c43065972b93650a08a7..5389705c03b9e67f33dc232a964c49145d5f697e 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_requestTrustedLocalMessagePort</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index a84958cb0e68ffa7a02f646d7e91795548d54f6d..809de6ef7e7daebe93851f0d6afdce65c0acd802 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Grzegorz Sala <g.sala2@samsung.com>
+        Grzegorz Sala <g.sala2@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_requestTrustedLocalMessagePort_exist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index c1b69b85e3ca7d0dc2cb7ef2d2aeb540600fb902..38eac63203e25925995fed5c0379c0b0094d0a2e 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_requestTrustedRemoteMessagePort</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 93aeab52922e3a276d292ae00e1f1e573c00ab54..5dfd1df698013aafbdbd63bae7d74c36944b036d 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Grzegorz Sala <g.sala2@samsung.com>
+        Grzegorz Sala <g.sala2@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>MessagePortManager_requestTrustedRemoteMessagePort_exist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index ed586c5a28b8e3fd3dcac1ffe3e6fd267ee8f421..86448e618a6041bfeae43ece7e9fa963f2444be9 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_appId_attribute</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 2313eca1284f17d5cc56f02427fe98c00839e0fb..426177354af0e8db838e773fe3fd833b1648d1c2 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_extend</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index f986511cbc7a864f52f5e59b1c18975aa06efb5b..e43b228f46bc1b49554599434d3e6b1bd9fe1fbd 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_isTrusted_attribute</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 7d3e8fc11b6e8fd83ee23a30398ea47f62e9cb1a..23d98dab5050b9fd1a75798c412bf91ee329618e 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_messagePortName_attribute</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 774624a82ffc4eeb95602156ded47de0e299b814..e9b4edb1f0874013b64bd566ccbec03483d40a9a 100644 (file)
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 Authors:
-    Andrzej Krolikowski <a.krolikowsk@samsung.com>
+        Andrzej Krolikowski <a.krolikowsk@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_notexist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 2e936a548b37f0f759cb414e3987ac49cfa3a380..81f5ee4fd9a7307027f14cd7e417e08d4e942781 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_sendMessage</title>
 <meta charset="utf-8"/>
@@ -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");
 });
+
 </script>
 </body>
 </html>
index e3feff9c2e14f9f7b7b126f4e95ecb227bad3beb..91164c2408dd9ef5b659f9ceee184575a63fbd5c 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_sendMessage_data_TypeMismatch</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index 8f1f177fb4a9c7c80bfcfbe186e35e440bf0f05d..9015d8d1ff8782631faca2e66904201c1e70df2e 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_sendMessage_exist</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index ff92e9ca92adc62b5bc6ad920c6a035638730dc1..8b53e8ecaaf1cedc72ec0ab3f040d578ac914689 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_sendMessage_localMessagePort_TypeMismatch</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index b19a2bb7cdfc903845d17e0dc202c63b908b807d..1d7f1cd8599c0866852a1692f00e83674112eb0f 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_sendMessage_missarg</title>
 <meta charset="utf-8"/>
@@ -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");
+
 </script>
 </body>
 </html>
index ca894d018b87045d9bebe30b8c50aeb7ec63979f..002d284e71f4441d0bd4567f560259e82f0cddd1 100644 (file)
@@ -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 <k.surma@samsung.com>
 
 -->
 
-<html lang="en">
+<html>
 <head>
 <title>RemoteMessagePort_sendMessage_with_localMessagePort</title>
 <meta charset="utf-8"/>
@@ -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);
 });
+
 </script>
 </body>
 </html>
index f6dd5010581bbd80ece0684d956106dea67168cb..2f2d491924d2617ba4cf1617b567be921677046b 100644 (file)
@@ -10,7 +10,7 @@
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" usage="true" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
@@ -22,7 +22,7 @@
         <specs>
           <spec>
             <spec_assertion interface="MessagePortCallback" usage="true" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
@@ -34,7 +34,7 @@
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManagerObject" usage="true" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
@@ -46,7 +46,7 @@
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" usage="true" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
@@ -58,7 +58,7 @@
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" usage="true" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
@@ -70,7 +70,7 @@
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" usage="true" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
@@ -82,7 +82,7 @@
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" element_type="method" element_name="requestLocalMessagePort" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
@@ -94,7 +94,7 @@
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" element_type="method" element_name="requestRemoteMessagePort" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" element_type="method" element_name="requestTrustedRemoteMessagePort" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" element_type="method" element_name="requestTrustedLocalMessagePort" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" usage="true" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" element_type="method" element_name="requestLocalMessagePort" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" element_type="method" element_name="requestTrustedLocalMessagePort" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" element_type="method" element_name="requestRemoteMessagePort" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="MessagePortManager" element_type="method" element_name="requestTrustedRemoteMessagePort" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" usage="true" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" element_type="method" element_name="sendMessage" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if instance of interface LocalMessagePort_extend can be extended with new property" type="compliance" status="approved" component="TizenAPI/IO/Messageport" execution_type="auto" priority="P3" id="LocalMessagePort_extend">
+      <testcase purpose="Check if instance of interface LocalMessagePort can be extended with new property" type="compliance" status="approved" component="TizenAPI/IO/Messageport" execution_type="auto" priority="P3" id="LocalMessagePort_extend">
         <description>
           <test_script_entry>/opt/tct-messageport-tizen-tests/messageport/LocalMessagePort_extend.html</test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" usage="true" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" element_type="method" element_name="addMessagePortListener" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" element_type="method" element_name="removeMessagePortListener" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" element_type="attribute" element_name="appId" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" element_type="attribute" element_name="isTrusted" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" element_type="attribute" element_name="messagePortName" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if attribute isTrusted of LocalMessagePort exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Messageport" execution_type="auto" priority="P1" id="LocalMessagePort_isTrusted_attribute">
+      <testcase purpose="Check if attribute isTrusted of LocalMessagePort exists, has type boolean and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Messageport" execution_type="auto" priority="P1" id="LocalMessagePort_isTrusted_attribute">
         <description>
           <test_script_entry>/opt/tct-messageport-tizen-tests/messageport/LocalMessagePort_isTrusted_attribute.html</test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" element_type="attribute" element_name="isTrusted" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" element_type="attribute" element_name="messagePortName" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" element_type="method" element_name="sendMessage" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" element_type="method" element_name="addMessagePortListener" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" element_type="method" element_name="removeMessagePortListener" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="MessagePortCallback" element_type="method" element_name="onreceived" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="MessagePortCallback" element_type="method" element_name="onreceived" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" element_type="method" element_name="sendMessage" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" element_type="method" element_name="sendMessage" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" element_type="method" element_name="sendMessage" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="RemoteMessagePort" element_type="method" element_name="sendMessage" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" element_type="method" element_name="addMessagePortListener" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" element_type="method" element_name="addMessagePortListener" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion interface="LocalMessagePort" element_type="method" element_name="addMessagePortListener" specification="Messageport" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messageport.html</spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
index 0374009042d347ee9e8c576b28d4cbc7bf8ee812..088d7289675a4981271146258997a331cec1e596 100644 (file)
@@ -88,7 +88,7 @@
           <test_script_entry>/opt/tct-messageport-tizen-tests/messageport/RemoteMessagePort_sendMessage_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if instance of interface LocalMessagePort_extend can be extended with new property" component="TizenAPI/IO/Messageport" execution_type="auto" id="LocalMessagePort_extend">
+      <testcase purpose="Check if instance of interface LocalMessagePort can be extended with new property" component="TizenAPI/IO/Messageport" execution_type="auto" id="LocalMessagePort_extend">
         <description>
           <test_script_entry>/opt/tct-messageport-tizen-tests/messageport/LocalMessagePort_extend.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-messageport-tizen-tests/messageport/RemoteMessagePort_messagePortName_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if attribute isTrusted of LocalMessagePort exists, has type Boolean and is readonly" component="TizenAPI/IO/Messageport" execution_type="auto" id="LocalMessagePort_isTrusted_attribute">
+      <testcase purpose="Check if attribute isTrusted of LocalMessagePort exists, has type boolean and is readonly" component="TizenAPI/IO/Messageport" execution_type="auto" id="LocalMessagePort_isTrusted_attribute">
         <description>
           <test_script_entry>/opt/tct-messageport-tizen-tests/messageport/LocalMessagePort_isTrusted_attribute.html</test_script_entry>
         </description>