code review:Fix TTS-1798 to update code format of tct-pm-wrt-tests
authoryuex.ma <yuex.ma@intel.com>
Thu, 25 Jul 2013 01:53:22 +0000 (18:53 -0700)
committeryuex.ma <yuex.ma@intel.com>
Thu, 25 Jul 2013 01:53:22 +0000 (18:53 -0700)
Change-Id: Id87329b83a867a4bce7b842c52be35a5aaec9f96
Signed-off-by: yuex.ma <yuex.ma@intel.com>
55 files changed:
tct-pm-wrt-tests/Sample-widget/config.xml
tct-pm-wrt-tests/Sample-widget/index.html
tct-pm-wrt-tests/WIdgetIDAppID-different/config.xml
tct-pm-wrt-tests/WIdgetIDAppID-different/index.html
tct-pm-wrt-tests/WIdgetIDAppID-same1/config.xml
tct-pm-wrt-tests/WIdgetIDAppID-same1/index.html
tct-pm-wrt-tests/WIdgetIDAppID-same2/config.xml
tct-pm-wrt-tests/WIdgetIDAppID-same2/index.html
tct-pm-wrt-tests/feature-element-be-ignored/config.xml
tct-pm-wrt-tests/feature-element-be-ignored/index.html
tct-pm-wrt-tests/npruntime-all-on-arm/AUTHORS [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-all-on-arm/LICENSE.Flora [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-all-on-arm/NOTICE
tct-pm-wrt-tests/npruntime-all-on-arm/config.xml [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-all-on-arm/css/style.css [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-all-on-arm/icon.png [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-all-on-arm/index.html
tct-pm-wrt-tests/npruntime-all-on-arm/js/main.js [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-all-on-arm/plugins/arm/libNPPlugin.so [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-all-on-arm/plugins/x86/libNPPlugin.so [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-arm-on-x86/AUTHORS [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-arm-on-x86/LICENSE.Flora [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-arm-on-x86/NOTICE
tct-pm-wrt-tests/npruntime-arm-on-x86/config.xml [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-arm-on-x86/css/style.css [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-arm-on-x86/icon.png [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-arm-on-x86/index.html
tct-pm-wrt-tests/npruntime-arm-on-x86/js/main.js [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-arm-on-x86/plugins/arm/libNPPlugin.so [changed mode: 0755->0644]
tct-pm-wrt-tests/npruntime-arm-on-x86/plugins/x86/libNPPlugin.so [changed mode: 0755->0644]
tct-pm-wrt-tests/scripts/Common
tct-pm-wrt-tests/scripts/wrt_pm_WidgetID_Update.sh [new file with mode: 0644]
tct-pm-wrt-tests/test-broken-widget/index.html
tct-pm-wrt-tests/test-hosted-widget/config.xml
tct-pm-wrt-tests/test-hosted-widget/index.html
tct-pm-wrt-tests/test-widget/config.xml
tct-pm-wrt-tests/test-widget/index.html
tct-pm-wrt-tests/tests.xml
tct-pm-wrt-tests/uninstallation-application-erased/config.xml
tct-pm-wrt-tests/uninstallation-application-erased/index.html
tct-pm-wrt-tests/web-api-version/index.html
tct-pm-wrt-tests/widget-version-1-1/config.xml
tct-pm-wrt-tests/widget-version-1-1/index.html
tct-pm-wrt-tests/widget-version-1-2/config.xml
tct-pm-wrt-tests/widget-version-1-2/index.html
tct-pm-wrt-tests/widget-version-1/config.xml
tct-pm-wrt-tests/widget-version-1/index.html
tct-pm-wrt-tests/widget-version-2-1/config.xml
tct-pm-wrt-tests/widget-version-2-1/index.html
tct-pm-wrt-tests/widget-version-2/config.xml
tct-pm-wrt-tests/widget-version-2/index.html
tct-pm-wrt-tests/widget-version-3-1/config.xml
tct-pm-wrt-tests/widget-version-3-1/index.html
tct-pm-wrt-tests/widget-version-3/config.xml
tct-pm-wrt-tests/widget-version-3/index.html

index 18e75575cb634f0ec9ccfaa4517c8f4c1fa7908c..67361c39602e7dda8c91a5df7ea68884a5ed0d30 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/Sample-widget" version="1.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1smt007.Samplewidget" package="wrt1smt007" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>Sample-widget</name>
-</widget>
+  <tizen:application id="wrt1smt007.Samplewidget" package="wrt1smt007" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>Sample-widget</name>
+</widget>
\ No newline at end of file
index 327b47db163d6d1a67d25fb16443c4181733e40b..d142afe597c53f94ff12acce6d24ea57e6325293 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: Sample-widget</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index 26f1f0137ca3556bd33503a72ded518b1e432c82..2b917f718e9b14afd94dae3d37796fc63b771bb9 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/WIdgetIDAppID" version="2.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1wai008.WIdgetIDAppID" package="wrt1wai008" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>WIdgetIDAppID</name>
-</widget>
+  <tizen:application id="wrt1wai008.WIdgetIDAppID" package="wrt1wai008" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>WIdgetIDAppID</name>
+</widget>
\ No newline at end of file
index f8e792dbb2c6774f880c1c0ed503dfa193384077..03b7ae36bde4ef68f29e2cadc7aa1593b019b9cd 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: WIdgetIDAppID</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index 45f0372ab59e4579cfef7b5b10ce1ed8661b480f..ab28727c62dbe6bd18a178dffe5dc5fbf4ca7b7a 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/WIdgetIDAppID" version="1.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1wai008.WIdgetIDAppID" package="wrt1wai008" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>WIdgetIDAppID</name>
-</widget>
+  <tizen:application id="wrt1wai008.WIdgetIDAppID" package="wrt1wai008" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>WIdgetIDAppID</name>
+</widget>
\ No newline at end of file
index f8e792dbb2c6774f880c1c0ed503dfa193384077..03b7ae36bde4ef68f29e2cadc7aa1593b019b9cd 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: WIdgetIDAppID</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index 26f1f0137ca3556bd33503a72ded518b1e432c82..2b917f718e9b14afd94dae3d37796fc63b771bb9 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/WIdgetIDAppID" version="2.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1wai008.WIdgetIDAppID" package="wrt1wai008" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>WIdgetIDAppID</name>
-</widget>
+  <tizen:application id="wrt1wai008.WIdgetIDAppID" package="wrt1wai008" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>WIdgetIDAppID</name>
+</widget>
\ No newline at end of file
index f8e792dbb2c6774f880c1c0ed503dfa193384077..03b7ae36bde4ef68f29e2cadc7aa1593b019b9cd 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: WIdgetIDAppID</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index e4551570f7d2cb55e01c40f10052e4156128590f..d6e69ede8c1f8159662e5afc2b07a0ef16b9dea0 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/feature-element-be-ignored" version="1.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1apm018.featureelementbeignored" package="wrt1apm018" required_version="2.1"/>
-    <feature name="http://example.org/api.geolocation" required="false"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>feature-element-be-ignored</name>
-</widget>
+  <tizen:application id="wrt1apm018.featureelementbeignored" package="wrt1apm018" required_version="2.1"/>
+  <feature name="http://example.org/api.geolocation" required="false"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>feature-element-be-ignored</name>
+</widget>
\ No newline at end of file
index 0cb0bed9ac3fdcf84be9ad038ea3cbc8c1c5e8b5..3e188d1fff14024a8354451c5733224ca41ef565 100644 (file)
@@ -30,17 +30,14 @@ Authors:
 -->
 <html>
   <head>
-    <meta charset="utf-8" />
+    <meta charset="utf-8"/>
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
     <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
-
     <title>feature-element-be-ignored</title>
-
     <link rel="stylesheet" type="text/css" href="css/style.css"/>
     <script src="js/main.js"></script>
   </head>
-
   <body>
     <p>Pass: if you see me</p>
   </body>
-</html>
+</html>
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index acc31b1..9ab3ed5
@@ -1 +1 @@
-Hoseon Lee <hoseon46.lee at samsung dot com>
+Hoseon Lee <hoseon46.lee at samsung dot com>
\ No newline at end of file
index e5d95dbece8d86398dee6458d316da380e872d87..15279e07ea0844efaa2e15a375ea2fdc5f216fb3 100644 (file)
@@ -1,3 +1,3 @@
 Copyright (c) 2013 Samsung Electronics Co., Ltd. All rights reserved.
 Except as noted, this software is licensed under Flora License, Version 1.1
-Please, see the LICENSE.Flora file for Flora License, Version 1.1 terms and conditions.
+Please, see the LICENSE.Flora file for Flora License, Version 1.1 terms and conditions.
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 42e472c..0a125c7
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/npruntime-all-on-arm" version="1.0.0" viewmodes="maximized">
-    <tizen:application id="ZkMSjQuYt8.npruntimeAllOnArm" package="ZkMSjQuYt8" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>npruntime-all-on-arm</name>
-</widget>
+  <tizen:application id="ZkMSjQuYt8.npruntimeAllOnArm" package="ZkMSjQuYt8" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>npruntime-all-on-arm</name>
+</widget>
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 9765b1b..6bdebd1
Binary files a/tct-pm-wrt-tests/npruntime-all-on-arm/icon.png and b/tct-pm-wrt-tests/npruntime-all-on-arm/icon.png differ
index 712c413a2da9659255f458fdf4f4da10be600dc0..89e6bafd65f86fd70ff920e51c7c6be3167cebc3 100644 (file)
@@ -1,39 +1,38 @@
 <!DOCTYPE html>
 <html>
- <head>
-  <meta charset="utf-8" />
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
-  <meta name="description" content="Tizen NPRuntime Sample Web Application" />
-  <script type="text/javascript" src="./js/main.js"></script>
-  <title>Tizen Web IDE - Tizen - NPRuntime Sample Web Application</title>
- </head>
- <body>
-  <object id="NPRuntimeMatrix" type="application/test" width="0" height="0"></object>
-  <header>
-   <hgroup>
-    <h1>NPRUNTIME Sample</h1>
-    <hr />
-    <h3>Description</h3>
-    <h4>This sample application compares Javascript and NPRuntime about matrix multiplication time.
-     <hr /></h4>
-    <h3>Running steps</h3>
-    <h4>1. Get the matrix length <br />2. Create two square matrixes with random generated number <br />3. Measure the multiplication time </h4>
-    <hr />
-   </hgroup>
-  </header>
-  <p>Enter the matrix length : <input type="number" min="100" max="300" value="100" id="length_btn" onkeydown="check_input_onkeydown()" style="height: 30px; width: 70px" /> (100~300)<br /></p>
-  <hr />
-  <div id="resultByJS_div">
-    Javascript :
-  </div>
-  <br />
-  <div id="resultByPlugin_div">
-    NPRuntime :
-  </div>
-  <p><input type="button" value="Get the multiplication time" id="result_btn" onclick="resultFunction()" /><br /></p>
-  <div id="array1"></div>
-  <div id="array2"></div>
-  <div id="array3"></div>
-  <div id="array4"></div>
- </body>
-</html>
 <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
+    <meta name="description" content="Tizen NPRuntime Sample Web Application"/>
+    <script src="./js/main.js"></script>
+    <title>Tizen Web IDE - Tizen - NPRuntime Sample Web Application</title>
 </head>
 <body>
+    <object id="NPRuntimeMatrix" type="application/test" width="0" height="0"></object>
+    <header>
+      <hgroup>
+        <h1>NPRUNTIME Sample</h1>
+        <hr/>
+        <h3>Description</h3>
+        <h4>This sample application compares Javascript and NPRuntime about matrix multiplication time.<hr/></h4>
+        <h3>Running steps</h3>
+        <h4>1. Get the matrix length <br/>2. Create two square matrixes with random generated number <br/>3. Measure the multiplication time </h4>
+        <hr/>
+      </hgroup>
+    </header>
+    <p>Enter the matrix length : <input type="number" min="100" max="300" value="100" id="length_btn" onkeydown="check_input_onkeydown()" style="height: 30px; width: 70px"/> (100~300)<br/></p>
+    <hr/>
+    <div id="resultByJS_div">
+      Javascript :
+    </div>
+    <br/>
+    <div id="resultByPlugin_div">
+      NPRuntime :
+    </div>
+    <p><input type="button" value="Get the multiplication time" id="result_btn" onclick="resultFunction()"/><br/></p>
+    <div id="array1"></div>
+    <div id="array2"></div>
+    <div id="array3"></div>
+    <div id="array4"></div>
+  </body>
+</html>
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index f1d0774..b185802
@@ -19,27 +19,24 @@ var matB = new Array();
 var matResult = new Array();
 
 function createArray() {
-    var matLength = parseInt(document.getElementById('length_btn').value);;
-
-    for (var i=0; i<matLength; i++) {
+    var matLength = parseInt(document.getElementById('length_btn').value);
+    for(var i = 0; i < matLength; i++) {
         matA[i] = new Array();
         matB[i] = new Array();
         matResult[i] = new Array();
     }
-
-    for (var i=0; i<matLength; i++) {
-        for (var j=0; j<matLength; j++) {
+    for(var i = 0; i < matLength; i++) {
+        for(var j = 0; j < matLength; j++) {
             matA[i][j] = Math.ceil(Math.random()*100-1);
             matB[i][j] = Math.ceil(Math.random()*100-1);
         }
     }
-        try {
+    try {
         NPRuntimeMatrix.setMatrixA(matA);
         NPRuntimeMatrix.setMatrixB(matB);
-        }catch(e){
-            alert("If this is a x86 device,then PASS. Otherwise, FAIL.");
-        }
-
+    }catch(e){
+        alert("If this is a x86 device,then PASS. Otherwise, FAIL.");
+    }
     document.getElementById('resultByJS_div').innerHTML = "Javascript : Calculating...";
     document.getElementById('resultByPlugin_div').innerHTML = "NPRuntime : Calculating...";
     setTimeout("getResult()", 10);
@@ -47,28 +44,25 @@ function createArray() {
 
 function getResult() {
     var before = new Date();
-    for (var i=0; i<matA.length; i++) {
-        for (var j=0; j<matA[i].length; j++) {
+    for(var i = 0; i < matA.length; i++) {
+        for(var j = 0; j < matA[i].length; j++) {
             var sum = 0;
-            for (var k=0; k<matA[i].length; k++) {
-                sum = sum + (matA[i][k] *matB[k][j]);
+            for(var k = 0; k < matA[i].length; k++) {
+                sum = sum + (matA[i][k] * matB[k][j]);
             }
             matResult[i][j] = sum;
         }
     }
     var after = new Date();
     document.getElementById('resultByJS_div').innerHTML = "Javascript : " + (after.getTime() - before.getTime()) + "ms";
-
     var beforeP = new Date();
     NPRuntimeMatrix.multiplication();
     var afterP = new Date();
     document.getElementById('resultByPlugin_div').innerHTML = "NPRuntime : " + (afterP.getTime() - beforeP.getTime()) + "ms";
-
     //document.getElementById('array1').innerHTML = "matA :<br>" + matA + "<br>";
     //document.getElementById('array2').innerHTML = "matB :<br>" + matB + "<br>";
     //document.getElementById('array3').innerHTML = "matResult JS :<br>" + matResult + "<br>";
     //document.getElementById('array4').innerHTML = "matResult Plugin :<br>" + NPRuntimeMatrix.getMatrixResult() + "<br>";
-
     document.getElementById('result_btn').style.display = "";
 }
 
@@ -76,7 +70,7 @@ function resultFunction() {
     document.getElementById('resultByJS_div').innerHTML = "Javascript :";
     document.getElementById('resultByPlugin_div').innerHTML = "NPRuntime :";
     var inputValue =  parseFloat(document.getElementById('length_btn').value);
-    if( inputValue > 300 || inputValue < 100 || isNaN(inputValue)) {
+    if(inputValue > 300 || inputValue < 100 || isNaN(inputValue)) {
         alert("input value 100 ~ 300");
         document.getElementById('length_btn').value = 100;
         return;
@@ -92,9 +86,9 @@ function resultFunction() {
     setTimeout("createArray()", 10);
 }
 
-function check_input_onkeydown(){
+function check_input_onkeydown() {
     var theForm=document.frm1;
-    if( !( (event.keyCode >= 48 && event.keyCode<=57) || (event.keyCode >= 96 && event.keyCode <= 105) || event.keyCode==8 )  ){
-        event.returnValue=false;
+    if(!( (event.keyCode >= 48 && event.keyCode <= 57) || (event.keyCode >= 96 && event.keyCode <= 105) || event.keyCode == 8 )){
+        event.returnValue = false;
     }
-}
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index acc31b1..9ab3ed5
@@ -1 +1 @@
-Hoseon Lee <hoseon46.lee at samsung dot com>
+Hoseon Lee <hoseon46.lee at samsung dot com>
\ No newline at end of file
index e5d95dbece8d86398dee6458d316da380e872d87..15279e07ea0844efaa2e15a375ea2fdc5f216fb3 100644 (file)
@@ -1,3 +1,3 @@
 Copyright (c) 2013 Samsung Electronics Co., Ltd. All rights reserved.
 Except as noted, this software is licensed under Flora License, Version 1.1
-Please, see the LICENSE.Flora file for Flora License, Version 1.1 terms and conditions.
+Please, see the LICENSE.Flora file for Flora License, Version 1.1 terms and conditions.
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index a8a246e..adbac40
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/npruntime-arm-on-x86" version="1.0.0" viewmodes="maximized">
-    <tizen:application id="UZmPMhuMeO.npruntimeArmOnX86" package="UZmPMhuMeO" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>npruntime-arm-on-x86</name>
-</widget>
+  <tizen:application id="UZmPMhuMeO.npruntimeArmOnX86" package="UZmPMhuMeO" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>npruntime-arm-on-x86</name>
+</widget>
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 9765b1b..6bdebd1
Binary files a/tct-pm-wrt-tests/npruntime-arm-on-x86/icon.png and b/tct-pm-wrt-tests/npruntime-arm-on-x86/icon.png differ
index 712c413a2da9659255f458fdf4f4da10be600dc0..89e6bafd65f86fd70ff920e51c7c6be3167cebc3 100644 (file)
@@ -1,39 +1,38 @@
 <!DOCTYPE html>
 <html>
- <head>
-  <meta charset="utf-8" />
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
-  <meta name="description" content="Tizen NPRuntime Sample Web Application" />
-  <script type="text/javascript" src="./js/main.js"></script>
-  <title>Tizen Web IDE - Tizen - NPRuntime Sample Web Application</title>
- </head>
- <body>
-  <object id="NPRuntimeMatrix" type="application/test" width="0" height="0"></object>
-  <header>
-   <hgroup>
-    <h1>NPRUNTIME Sample</h1>
-    <hr />
-    <h3>Description</h3>
-    <h4>This sample application compares Javascript and NPRuntime about matrix multiplication time.
-     <hr /></h4>
-    <h3>Running steps</h3>
-    <h4>1. Get the matrix length <br />2. Create two square matrixes with random generated number <br />3. Measure the multiplication time </h4>
-    <hr />
-   </hgroup>
-  </header>
-  <p>Enter the matrix length : <input type="number" min="100" max="300" value="100" id="length_btn" onkeydown="check_input_onkeydown()" style="height: 30px; width: 70px" /> (100~300)<br /></p>
-  <hr />
-  <div id="resultByJS_div">
-    Javascript :
-  </div>
-  <br />
-  <div id="resultByPlugin_div">
-    NPRuntime :
-  </div>
-  <p><input type="button" value="Get the multiplication time" id="result_btn" onclick="resultFunction()" /><br /></p>
-  <div id="array1"></div>
-  <div id="array2"></div>
-  <div id="array3"></div>
-  <div id="array4"></div>
- </body>
-</html>
 <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
+    <meta name="description" content="Tizen NPRuntime Sample Web Application"/>
+    <script src="./js/main.js"></script>
+    <title>Tizen Web IDE - Tizen - NPRuntime Sample Web Application</title>
 </head>
 <body>
+    <object id="NPRuntimeMatrix" type="application/test" width="0" height="0"></object>
+    <header>
+      <hgroup>
+        <h1>NPRUNTIME Sample</h1>
+        <hr/>
+        <h3>Description</h3>
+        <h4>This sample application compares Javascript and NPRuntime about matrix multiplication time.<hr/></h4>
+        <h3>Running steps</h3>
+        <h4>1. Get the matrix length <br/>2. Create two square matrixes with random generated number <br/>3. Measure the multiplication time </h4>
+        <hr/>
+      </hgroup>
+    </header>
+    <p>Enter the matrix length : <input type="number" min="100" max="300" value="100" id="length_btn" onkeydown="check_input_onkeydown()" style="height: 30px; width: 70px"/> (100~300)<br/></p>
+    <hr/>
+    <div id="resultByJS_div">
+      Javascript :
+    </div>
+    <br/>
+    <div id="resultByPlugin_div">
+      NPRuntime :
+    </div>
+    <p><input type="button" value="Get the multiplication time" id="result_btn" onclick="resultFunction()"/><br/></p>
+    <div id="array1"></div>
+    <div id="array2"></div>
+    <div id="array3"></div>
+    <div id="array4"></div>
+  </body>
+</html>
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 6dfdce2..b285243
@@ -19,27 +19,24 @@ var matB = new Array();
 var matResult = new Array();
 
 function createArray() {
-    var matLength = parseInt(document.getElementById('length_btn').value);;
-
-    for (var i=0; i<matLength; i++) {
+    var matLength = parseInt(document.getElementById('length_btn').value);
+    for(var i = 0; i < matLength; i++) {
         matA[i] = new Array();
         matB[i] = new Array();
         matResult[i] = new Array();
     }
-
-    for (var i=0; i<matLength; i++) {
-        for (var j=0; j<matLength; j++) {
+    for(var i = 0; i < matLength; i++) {
+        for(var j = 0; j < matLength; j++) {
             matA[i][j] = Math.ceil(Math.random()*100-1);
             matB[i][j] = Math.ceil(Math.random()*100-1);
         }
     }
-        try {
+    try {
         NPRuntimeMatrix.setMatrixA(matA);
         NPRuntimeMatrix.setMatrixB(matB);
-        }catch(e){
-            alert("If this is a arm device,then PASS. Otherwise, FAIL.");
-        }
-
+    }catch(e){
+        alert("If this is a arm device,then PASS. Otherwise, FAIL.");
+    }
     document.getElementById('resultByJS_div').innerHTML = "Javascript : Calculating...";
     document.getElementById('resultByPlugin_div').innerHTML = "NPRuntime : Calculating...";
     setTimeout("getResult()", 10);
@@ -47,28 +44,25 @@ function createArray() {
 
 function getResult() {
     var before = new Date();
-    for (var i=0; i<matA.length; i++) {
-        for (var j=0; j<matA[i].length; j++) {
+    for(var i = 0; i < matA.length; i++) {
+        for(var j = 0; j < matA[i].length; j++) {
             var sum = 0;
-            for (var k=0; k<matA[i].length; k++) {
-                sum = sum + (matA[i][k] *matB[k][j]);
+            for(var k = 0; k < matA[i].length; k++) {
+                sum = sum + (matA[i][k] * matB[k][j]);
             }
             matResult[i][j] = sum;
         }
     }
     var after = new Date();
     document.getElementById('resultByJS_div').innerHTML = "Javascript : " + (after.getTime() - before.getTime()) + "ms";
-
     var beforeP = new Date();
     NPRuntimeMatrix.multiplication();
     var afterP = new Date();
     document.getElementById('resultByPlugin_div').innerHTML = "NPRuntime : " + (afterP.getTime() - beforeP.getTime()) + "ms";
-
     //document.getElementById('array1').innerHTML = "matA :<br>" + matA + "<br>";
     //document.getElementById('array2').innerHTML = "matB :<br>" + matB + "<br>";
     //document.getElementById('array3').innerHTML = "matResult JS :<br>" + matResult + "<br>";
     //document.getElementById('array4').innerHTML = "matResult Plugin :<br>" + NPRuntimeMatrix.getMatrixResult() + "<br>";
-
     document.getElementById('result_btn').style.display = "";
 }
 
@@ -76,7 +70,7 @@ function resultFunction() {
     document.getElementById('resultByJS_div').innerHTML = "Javascript :";
     document.getElementById('resultByPlugin_div').innerHTML = "NPRuntime :";
     var inputValue =  parseFloat(document.getElementById('length_btn').value);
-    if( inputValue > 300 || inputValue < 100 || isNaN(inputValue)) {
+    if(inputValue > 300 || inputValue < 100 || isNaN(inputValue)) {
         alert("input value 100 ~ 300");
         document.getElementById('length_btn').value = 100;
         return;
@@ -92,9 +86,9 @@ function resultFunction() {
     setTimeout("createArray()", 10);
 }
 
-function check_input_onkeydown(){
+function check_input_onkeydown() {
     var theForm=document.frm1;
-    if( !( (event.keyCode >= 48 && event.keyCode<=57) || (event.keyCode >= 96 && event.keyCode <= 105) || event.keyCode==8 )  ){
+    if(!( (event.keyCode >= 48 && event.keyCode <= 57) || (event.keyCode >= 96 && event.keyCode <= 105) || event.keyCode == 8 )){
         event.returnValue=false;
     }
-}
+}
\ No newline at end of file
index 89ee2b4424ba9bf800b52a6fb5769cb203394750..10e3b77769613dc52b13402dfd774d36e7216f04 100644 (file)
@@ -113,7 +113,7 @@ function func_install_changename()
         APP_NAME="widget-version2"
     elif [ "$APP_NAME" = "widget-version-3" -o "$APP_NAME" = "widget-version-3-1" ];then
         APP_NAME="widget-version3"
-    elif [ "$APP_NAME" = "WIdgetIDAppID-same1" -o "$APP_NAME" = "WIdgetIDAppID-same2" ];then
+    elif [ "$APP_NAME" = "WIdgetIDAppID-same1" -o "$APP_NAME" = "WIdgetIDAppID-same2" -o "$APP_NAME" = "WIdgetIDAppID-different" ];then
         APP_NAME="WIdgetIDAppID"
     fi
     wrt-installer -i $PACKAGENAME
@@ -145,7 +145,7 @@ function func_uninstall_changename()
         APP_NAME="widget-version2"
     elif [ "$APP_NAME" = "widget-version-3" -o "$APP_NAME" = "widget-version-3-1" ];then
         APP_NAME="widget-version3"
-    elif [ "$APP_NAME" = "WIdgetIDAppID-same1" -o "$APP_NAME" = "WIdgetIDAppID-same2" ];then
+    elif [ "$APP_NAME" = "WIdgetIDAppID-same1" -o "$APP_NAME" = "WIdgetIDAppID-same2" -o "$APP_NAME" = "WIdgetIDAppID-different" ];then
         APP_NAME="WIdgetIDAppID"
     fi
     App_ID=`wrt-launcher -l|grep $APP_NAME|awk '{print $NF}'`
diff --git a/tct-pm-wrt-tests/scripts/wrt_pm_WidgetID_Update.sh b/tct-pm-wrt-tests/scripts/wrt_pm_WidgetID_Update.sh
new file mode 100644 (file)
index 0000000..2fb25b6
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/bash
+#
+# Copyright (C) 2010 Intel Corporation
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+#
+# Author:
+#        Yue, jianhui <jianhuix.a.yue@intel.com>
+
+source $(dirname $0)/Common
+
+func_install_changename WIdgetIDAppID-same1.wgt
+if [ $? -eq 1 ];then
+  echo "The installation is failed"
+  exit 1
+fi
+
+func_install_changename WIdgetIDAppID-different.wgt
+if [ $? -eq 1 ];then
+  echo "The installation is failed"
+  exit 1
+fi
+echo "The widget is able to be updated."
+
+func_uninstall_changename WIdgetIDAppID-different.wgt
+
+exit 0
\ No newline at end of file
index 8a506fc75468b696a10f3c9bc0f8d285503938ba..43f7a3643174b1404b2038706618d10df686e00d 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: test-broken-widget</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check web application package management Install,Update,Uninstall." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="Check web application package management Install,Update,Uninstall."/>
     <meta charset="utf-8">
   </head>
   <body>
     <div style="font-size:20px">test-broken-widget</div>
   </body>
-</html>
+</html>
\ No newline at end of file
index 729e1554ff0b62f2ae2e3a4477e5989b2057fe8d..b4409183305a7aef0c4a545baa199e6fc973c498 100644 (file)
@@ -4,4 +4,4 @@
   <icon src="custom.png" height="123" width="123"/>
   <name>test-hosted-widget</name>
   <tizen:application id="wrt1pkm005.testhostedwidget" package="wrt1pkm005" required_version="2.1"/>
-</widget>
+</widget>
\ No newline at end of file
index 3f426ef33d044f07ee9f6bcae5de0712561ad5e6..bb7248fe9926c258123e859d87c3eefb6747d4ee 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: test-hosted-widget</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check web application package management Install,Update,Uninstall." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="Check web application package management Install,Update,Uninstall."/>
     <meta charset="utf-8">
   </head>
   <body>
     <div style="font-size:20px">test-hosted-widget</div>
   </body>
-</html>
+</html>
\ No newline at end of file
index 957c5b17c4cb20ecf758d4d4b2cea28249c81b43..32fe93edb9051e22c2fb1e5d68e2a44b179c7662 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/test-widget" version="1.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1tes005.testwidget" package="wrt1tes005" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>test-widget</name>
-</widget>
+  <tizen:application id="wrt1tes005.testwidget" package="wrt1tes005" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>test-widget</name>
+</widget>
\ No newline at end of file
index b68410f3830356bcef48deb0f6152cd6aec115b4..67cda8d72b099ed60f7c4afac0790e9e7f722b17 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: test-widget</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index 098ff74d0fa7c481efe8fa1ab8dfca94b87b436b..269822de679444a7d00997e620d30e6a728b5bd7 100644 (file)
@@ -9,7 +9,7 @@
           <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt.</step_desc>
+              <step_desc>Check if Packaged Web Application can be installed successfully.</step_desc>
               <expected>Pass if the Sample-widget Application is installed successfully.</expected>
             </step>
           </steps>
@@ -18,7 +18,7 @@
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0010" specification="Web Application Types" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
@@ -29,7 +29,7 @@
           <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/test-hosted-widget.wgt.</step_desc>
+              <step_desc>Check if local hosted Web Application can be installed successfully.</step_desc>
               <expected>Pass if the test-hosted-widget Application is installed successfully.</expected>
             </step>
           </steps>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0020" specification="Web Application Types" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if Web Application can be installed successfully by using command." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="PKManagement_LocalAPP_Install">
+      <testcase purpose="Check if Web Application can be installed successfully by using command." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="auto" priority="P1" id="PKManagement_LocalAPP_Install">
         <description>
           <pre_condition></pre_condition>
           <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt.</step_desc>
+              <step_desc>Check if Web Application can be installed successfully by using command.</step_desc>
               <expected>Pass if Sample-widget.wgt webapp is installed successfully.</expected>
             </step>
           </steps>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0040" specification="Web Application Installation point" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if WRT can register the Web Application on device's idle screen." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="PKManagement_APP_Installed_">
+      <testcase purpose="Check if WRT can register the Web Application on device's idle screen." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="PKManagement_APP_Installed">
         <description>
           <pre_condition>Make sure the Sample-widget.wgt is not installed.</pre_condition>
           <post_condition>Get the 'application id' of Sample-widget.wgt with the command :"wrt-launcher -l" and uninstall the Sample-widget.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt".</step_desc>
-              <expected>Pass if Sample-widget icon and package name are displayed on screen.</expected>
+              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt</step_desc>
+              <expected>Pass if Sample-widget icon and widget name are displayed on screen.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0"/>
+          <test_script_entry test_script_expected_result="0"></test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0090" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
@@ -98,7 +98,7 @@
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0060" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0060" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0060" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <description>
           <pre_condition></pre_condition>
           <post_condition></post_condition>
-          <step order="1">
-            <step_desc>Check if user is informed when the Web Application cannot be installed.</step_desc>
-            <expected>There is a message informing user that the Web Application can't be installed and WebApp icon is not displayed on the device screen.</expected>
-          </step>
+          <steps>
+            <step order="1">
+              <step_desc>Check if user is informed when the Web Application cannot be installed.</step_desc>
+              <expected>There is a message informing user that the Web Application can't be installed and WebApp icon is not displayed on the device screen.</expected>
+            </step>
+          </steps>
           <test_script_entry test_script_expected_result="0">/opt/tct-pm-wrt-tests/scripts/wrt_pm_InstallerFail.sh test-broken-widget.wgt</test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0070" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0080" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
           <post_condition>Get the 'application id' of Sample-widget.wgt with the command :"wrt-launcher -l" and uninstall the Sample-widget.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt.</step_desc>
+              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt</step_desc>
               <expected>Pass if packaged webapp is being installed.</expected>
             </step>
             <step order="2">
               <step_desc>Long press the power key to shutdown the mobile device.</step_desc>
-              <expected>Pass if Device can be shutdown successfully.</expected>
+              <expected>Pass if device can be shutdown successfully.</expected>
             </step>
             <step order="3">
               <step_desc>Power on the device and install Sample-widget.wgt again.</step_desc>
-              <expected>Pass if The installation of Sample-widget app can be ran.</expected>
+              <expected>Pass if the installation of Sample-widget app can run.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0"/>
+          <test_script_entry test_script_expected_result="0"></test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0100" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0130" specification="Web Application Update" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if Web Applications with same Tizen AppID and different Widget IDs can be updated successfully." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="PKManagement_DifferentWidgetID_Update">
+      <testcase purpose="Check if Web Applications with same Tizen AppID and different Widget IDs can be updated successfully." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="auto" priority="P1" id="PKManagement_DifferentWidgetID_Update">
         <description>
-          <pre_condition>Make sure the WIdgetIDAppID-same1.wgt and WIdgetIDAppID-different.wgt are not installed.</pre_condition>
-          <post_condition>Get the 'application id' of WIdgetIDAppID-same1.wgt and WIdgetIDAppID-different.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'".</post_condition>
+          <pre_condition></pre_condition>
+          <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/WIdgetIDAppID-same1.wgt.</step_desc>
-              <expected>Pass if WIdgetIDAppID-same1.wgt is installed successfully.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Update the packaged webapp through installing WIdgetIDAppID-different.wgt with the command : wrt-installer -i /opt/tct-pm-wrt-tests/WIdgetIDAppID-different.wgt.</step_desc>
-              <expected>Pass if WIdgetIDAppID-same1.wgt is updated successfully.</expected>
+              <step_desc>Check if Web Applications with same Tizen AppID and different Widget IDs can be updated successfully</step_desc>
+              <expected>WIdgetIDAppID-same1.wgt is updated successfully.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0"/>
+          <test_script_entry test_script_expected_result="0">/opt/tct-pm-wrt-tests/scripts/wrt_pm_WidgetID_Update.sh</test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0130" specification="Web Application Update" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0130" specification="Web Application Update" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0150" specification="Web Application Uninstallation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if all Web Application resources and data (Tizen settings, widget preferences, cookies, local storage) should be erased after un-installation." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="auto" priority="P0" id="uninstallation-application-erased">
+      <testcase purpose="Check if all Web Application resources and data (Tizen settings, widget preferences, cookies, local storage) should be erased after uninstalled." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="auto" priority="P0" id="uninstallation-application-erased">
         <description>
           <pre_condition></pre_condition>
-          <post_condition/>
+          <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Check if all Web Application resources and data (Tizen settings, widget preferences, cookies, local storage) should be erased after un-installation.</step_desc>
-              <expected>data folder does not exist.</expected>
+              <step_desc>Check if all Web Application resources and data (Tizen settings, widget preferences, cookies, local storage) should be erased after uninstalled.</step_desc>
+              <expected>Data folder does not exist.</expected>
             </step>
           </steps>
           <test_script_entry test_script_expected_result="0">/opt/tct-pm-wrt-tests/scripts/wrt_pm_uninstallation_application_erased.sh</test_script_entry>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0160" specification="Web Application Uninstallation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if package management can install applications through file browser." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="WebApp_onlineInstall_TwoApp">
+      <testcase purpose="Check if package management can install applications through file browser." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="WebApp_fileBrowser_install">
         <description>
           <pre_condition>Make sure the Sample-widget.wgt is not installed.</pre_condition>
           <post_condition>Get the 'application id' of Sample-widget.wgt with the command :"wrt-launcher -l" and uninstall the Sample-widget.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
               <expected>Pass if the webapp is being installed.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0"/>
+          <test_script_entry test_script_expected_result="0"></test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0120" specification="Web Application Update" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0050" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0050" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0150" specification="Web Application Uninstallation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0150" specification="Web Application Uninstallation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
           <post_condition>Get the 'application id' of widget-version-1.wgt and widget-version-1-1.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/widget-version-1.wgt.</step_desc>
+              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/widget-version-1.wgt</step_desc>
               <expected>Pass if the widget-version-1 webapp is installed successfully.</expected>
             </step>
             <step order="2">
               <expected>Pass if there aren't any error messages and system crash</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0"/>
+          <test_script_entry test_script_expected_result="0"></test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0110" specification="Web Application Update" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0050" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0110" specification="Web Application Update" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0110" specification="Web Application Update" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
       </testcase>
       <testcase purpose="Check if package management can return Web Application information." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P2" id="WebApp_Get_Information">
         <description>
-          <pre_condition>Make sure the Sample-widget.wgt is installed  with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt.</pre_condition>
+          <pre_condition>Make sure the Sample-widget.wgt is installed  with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt</pre_condition>
           <post_condition>Get the 'application id' of Sample-widget.wgt with the command :"wrt-launcher -l" and uninstall the widget with the command :"wrt-installer -un 'application id'"</post_condition>
           <steps>
             <step order="1">
               <step_desc>Check the widget details information with command: wrt-launcher -l.</step_desc>
-              <expected>The widget info are displayed.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Check the widget info.</step_desc>
-              <expected>Pass if the application information is the same with config.xml. For example, Name: Sample-widget Version: 1.0.0.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0"/>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="attribute" element_name="N/A" interface="0050" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if packaged Web Application can be listed on the device screen successfully." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="PKManagement_PackagedAPP_List">
-        <description>
-          <pre_condition>Make sure the Sample-widget.wgt is not installed.Without any Web Application has been installed.</pre_condition>
-          <post_condition>Get the 'application id' of Sample-widget.wgt with the command :"wrt-launcher -l" and uninstall the widget with the command :"wrt-installer -un 'application id'"</post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if Sample-widget.wgt has been installed with command: wrt-launcher -l.</step_desc>
-              <expected>Pass if there is no any Web Application has been installed.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt.</step_desc>
-              <expected>Pass if "installed:wrt1smt007.Sample-widget" is listed on the device screen.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Check if Sample-widget.wgt has been installed with command: wrt-launcher -l.</step_desc>
-              <expected>Pass if a set of information is listed on the device screen correctly(you can confirm these information from the config.xml file). For example: NO 1, Name Sample-widget, Version 1.0.0, GUID http://yourdomain/Sample-widget and Package ID wrt1smt007.</expected>
+              <expected>The widget info are displayed and it is the same with config.xml. For example, Name: Sample-widget Version: 1.0.0.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0"/>
+          <test_script_entry test_script_expected_result="0"></test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0050" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
           <post_condition>Get the 'application id' of npruntime-all-on-arm.wgt with the command :"wrt-launcher -l" and uninstall the widget with the command :"wrt-installer -un 'application id'"</post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/npruntime-all-on-arm.wgt.</step_desc>
+              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/npruntime-all-on-arm.wgt</step_desc>
               <expected>Pass if the widget is installed successfully.</expected>
             </step>
             <step order="2">
               <expected>If this is a arm device and Javascript and NPRuntime multiplication time displayed above the button "Get the multiplication time", then PASS.If this is a x86 device and a popup displayed on the screen, then PASS.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0"/>
+          <test_script_entry test_script_expected_result="0"></test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0102" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
         <description>
           <pre_condition>Make sure the npruntime-arm-on-x86.wgt is not installed. </pre_condition>
           <post_condition>Get the 'application id' of npruntime-arm-on-x86.wgt or  with the command :"wrt-launcher -l" and uninstall the widget with the command :"wrt-installer -un 'application id'"</post_condition>
-          <test_script_entry test_script_expected_result="0"/>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/npruntime-arm-on-x86.wgt.</step_desc>
+              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/npruntime-arm-on-x86.wgt</step_desc>
               <expected>Pass if the widget is installed successfully.</expected>
             </step>
             <step order="2">
               <expected>If this is a x86 device and Javascript and NPRuntime multiplication time displayed above the button "Get the multiplication time", then PASS.If this is a arm device and a popup displayed on the screen, then PASS.</expected>
             </step>
           </steps>
+          <test_script_entry test_script_expected_result="0"></test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0103" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
           <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/11a.wgt.</step_desc>
+              <step_desc>Check if the WRT cannot install the widget which contains distributor signature without a dsp:Role signature property</step_desc>
               <expected>Pass if the widget can not be installed.</expected>
             </step>
           </steps>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0101" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
           <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/11b.wgt.</step_desc>
+              <step_desc>Check if the WRT cannot install the widget which contains distributor signature with a dsp:Role signature property that does not contain an URI for a distributor role.</step_desc>
               <expected>Pass if the widget can not be installed.</expected>
             </step>
           </steps>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0101" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
           <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/widget-partner-privilege.wgt.</step_desc>
+              <step_desc>Check if the WRT cannot install the widget which is announced with one or more partner API privileges in configuration file.</step_desc>
               <expected>Pass if the widget can not be installed.</expected>
             </step>
           </steps>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0101" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
           <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install feature-element-be-ignored.wgt application</step_desc>
+              <step_desc>Check if the 'feature' element should be ignored during installation process.</step_desc>
               <expected>Pass if feature-element-be-ignored WebApp is installed successfully.</expected>
             </step>
           </steps>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0050" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
           <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install web-api-version.wgt application</step_desc>
+              <step_desc>Check if WRT should abort installation when the version of Tizen Web API supported by the WRT is lower than the minimum version required by the Web Application.</step_desc>
               <expected>Pass: The application can't be installed successfully.</expected>
             </step>
           </steps>
         <specs>
           <spec>
             <spec_assertion element_type="attribute" element_name="N/A" interface="0080" specification="Web Application Installation" section="Web Application Package Management" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
+            <spec_url></spec_url>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
index 41ec4b65f37b344f9b9d6782ba89168924ffeabb..da331986f63c55cdf47dfca60820cea4ca80bec5 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/uninstallation-application-erased" version="1.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1uae011.uninstallationapplicationerased" package="wrt1uae011" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>uninstallation-application-erased</name>
-</widget>
+  <tizen:application id="wrt1uae011.uninstallationapplicationerased" package="wrt1uae011" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>uninstallation-application-erased</name>
+</widget>
\ No newline at end of file
index e6de3b4d5444764f3539368910f276aaab05704d..fb1eb67985a6fdc232cb4e7a33b0068a368b7104 100644 (file)
@@ -30,19 +30,16 @@ Authors:
 -->
 <html>
   <head>
-    <meta charset="utf-8" />
+    <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
     <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
-
     <title>uninstallation-application-erased</title>
-
     <link rel="stylesheet" type="text/css" href="css/style.css"/>
     <script src="js/main.js"></script>
   </head>
-
   <body>
     <script type="text/javascript">
-        document.write("Pls create a folder name is 'test' and the path is 'opt/apps/Lerkind001/res/wgt/'!")
+        document.write("Pls create a folder name is 'test' and the path is 'opt/apps/Lerkind001/res/wgt/'!");
     </script>
   </body>
-</html>
+</html>
\ No newline at end of file
index 79a9ff3f458f47c59426549ae808747460675613..f07d85f7605c3e8fe2bdb3a53b149ef5ddcc7000 100644 (file)
@@ -32,36 +32,33 @@ Authors:
 <html>
   <head>
     <title>WRT Test: web-api-version</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check that the WRT must not allow Web Application access to messaging.write sensitive API features without first consulting the security policy." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="Check that the WRT must not allow Web Application access to messaging.write sensitive API features without first consulting the security policy."/>
     <meta charset="utf-8">
   </head>
- <body>
-  <script type="text/javascript">
-
-    document.write("<br><br><br>");
-    document.write("Test purpose: Check that the WRT must not allow Web Application access to messaging.write sensitive API features without first consulting the security policy <br>");
-
-    try{
-       function serviceSynced() {
-       document.write("Pass");
-       }
-
-       function servicesListSuccessCB(services) {
-       alert("1");
-       services[1].sync(serviceSynced, null, 30);
-       alert("2");
-       }
-       tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
-    }catch(e){
-        if ("SecurityError" == e.name) {
-             document.write("Pass");
-        } else {
-             document.write("Pass");
+  <body>
+    <script type="text/javascript">
+        document.write("<br><br><br>");
+        document.write("Test purpose: Check that the WRT must not allow Web Application access to messaging.write sensitive API features without first consulting the security policy <br>");
+        try{
+            function serviceSynced() {
+                document.write("Pass");
+            }
+            function servicesListSuccessCB(services) {
+                alert("1");
+                services[1].sync(serviceSynced, null, 30);
+                alert("2");
+            }
+            tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
+        }catch(e){
+            if ("SecurityError" == e.name) {
+                document.write("Pass");
+            } else {
+                document.write("Pass");
+            }
         }
-    }
-</script>
- </body>
+    </script>
+  </body>
 </html>
\ No newline at end of file
index f2c442d8198bf717b82ebdf8c78a2c3d6d90a2b0..72aa9daffd84a66585161145ebf3216bbee61796 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version" version="1.1.0" viewmodes="maximized">
-    <tizen:application id="wrt1wvt006.widgetversion" package="wrt1wvt006" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>widget-version</name>
-</widget>
+  <tizen:application id="wrt1wvt006.widgetversion" package="wrt1wvt006" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>widget-version</name>
+</widget>
\ No newline at end of file
index 4fe6084838fd0a589732e72d3a2da0e502a79a5a..50451b186df2c49d94dae30b8601cd9846258ac0 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: widget-version</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index c36a9fce852147385b7567f343fc1ad50d7fa79b..89cb0f6cb89db0b581ed1ce4cb19b954e0983f5e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version" version="1.2.0" viewmodes="maximized">
-    <tizen:application id="wrt1wvt006.widgetversion" package="wrt1wvt006" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>widget-version</name>
-</widget>
+  <tizen:application id="wrt1wvt006.widgetversion" package="wrt1wvt006" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>widget-version</name>
+</widget>
\ No newline at end of file
index 4fe6084838fd0a589732e72d3a2da0e502a79a5a..50451b186df2c49d94dae30b8601cd9846258ac0 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: widget-version</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index 4aeccace70d9aaec631c2264a8761187dadd454e..13806a45e23e92aa36bec7d9a9f43090e46594b7 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version" version="1.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1wvt006.widgetversion" package="wrt1wvt006" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>widget-version</name>
-</widget>
+  <tizen:application id="wrt1wvt006.widgetversion" package="wrt1wvt006" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>widget-version</name>
+</widget>
\ No newline at end of file
index 4fe6084838fd0a589732e72d3a2da0e502a79a5a..50451b186df2c49d94dae30b8601cd9846258ac0 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: widget-version</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index c759d98b7d76a832e42e4fd023078b498f15b0f2..345995575f95785417f95bcb8effc36f0b6234fb 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version2" version="2.1.0" viewmodes="maximized">
-    <tizen:application id="wrt1wvt009.widgetversion2" package="wrt1wvt009" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>widget-version2</name>
-</widget>
+  <tizen:application id="wrt1wvt009.widgetversion2" package="wrt1wvt009" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>widget-version2</name>
+</widget>
\ No newline at end of file
index 8ad0816e7566bac1fb3bfa02456afa6aca1e439f..0faddd2b4c870eeadb5be438759dcda7ee46faf2 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: widget-version2</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index 95b5bb433c5963bd73ea92152cb696ad5aed47ab..f8ff8871ef833e349c485c090b3f7c76632cfa1d 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version2" version="2.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1wvt009.widgetversion2" package="wrt1wvt009" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>widget-version2</name>
-</widget>
+  <tizen:application id="wrt1wvt009.widgetversion2" package="wrt1wvt009" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>widget-version2</name>
+</widget>
\ No newline at end of file
index 8ad0816e7566bac1fb3bfa02456afa6aca1e439f..0faddd2b4c870eeadb5be438759dcda7ee46faf2 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: widget-version2</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index a1f9732e8eb0a426a19b9b1c67e3dc91a7bd4eae..1a888707561cfb63ee40bd910d1a698f26214343 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version3" version="3.1.0" viewmodes="maximized">
-    <tizen:application id="wrt1wvt010.widgetversion3" package="wrt1wvt010" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>widget-version3</name>
-</widget>
+  <tizen:application id="wrt1wvt010.widgetversion3" package="wrt1wvt010" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>widget-version3</name>
+</widget>
\ No newline at end of file
index 9d352c0a2fdea82db2a154fd4ae644e5b7dda56a..f0a739a8d50ab7bdf7675ca6351916bfd7421f4d 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: widget-version3</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file
index 7691fcb002efcc15503b5be90b9189691bd92355..01f61a8c2ff20a9a973160582a33e8511d3cc38f 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version3" version="3.0.0" viewmodes="maximized">
-    <tizen:application id="wrt1wvt010.widgetversion3" package="wrt1wvt010" required_version="2.1"/>
-    <content src="index.html"/>
-    <icon src="icon.png"/>
-    <name>widget-version3</name>
-</widget>
+  <tizen:application id="wrt1wvt010.widgetversion3" package="wrt1wvt010" required_version="2.1"/>
+  <content src="index.html"/>
+  <icon src="icon.png"/>
+  <name>widget-version3</name>
+</widget>
\ No newline at end of file
index 9d352c0a2fdea82db2a154fd4ae644e5b7dda56a..f0a739a8d50ab7bdf7675ca6351916bfd7421f4d 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <html>
   <head>
     <title>WRT Test: widget-version3</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="." />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
     <meta charset="utf-8">
   </head>
-    <body>
-      <div>This is Web App for testing</div>
-    </body>
-</html>
+  <body>
+    <div>This is Web App for testing</div>
+  </body>
+</html>
\ No newline at end of file