Update test FW to import tests from tests XML.
authoryugang <yugang.fan@intel.com>
Fri, 7 Jun 2013 04:10:57 +0000 (12:10 +0800)
committeryugang <yugang.fan@intel.com>
Fri, 7 Jun 2013 05:52:20 +0000 (13:52 +0800)
Change-Id: I611bf7008afeb3c3218c7f4fdfb755a6bebe5b8e

86 files changed:
css/main.css
index.html
js/main.js
js/tests.js
packaging/behavior.spec
tct-behavior-tests.spec
testcase.xsl [new file with mode: 0644]
testresult.xsl [new file with mode: 0644]
tests.css [new file with mode: 0644]
tests.xml [new file with mode: 0644]
tests/2D3DAnimation/2D3DAnimation.html [deleted file]
tests/2D3DAnimation/index.html
tests/Accelerometer/Accelerometer.html [deleted file]
tests/Accelerometer/index.html
tests/Alarm/Alarm.html [deleted file]
tests/Alarm/index.html [changed mode: 0644->0755]
tests/Application/Application.html [deleted file]
tests/Application/index.html [changed mode: 0644->0755]
tests/Bluetooth/Bluetooth.html [deleted file]
tests/Bluetooth/index.html [changed mode: 0644->0755]
tests/CSSAnimation/CSSAnimation.html [deleted file]
tests/CSSAnimation/index.html
tests/CSSStyle/CSSStyle.html [deleted file]
tests/CSSStyle/index.html
tests/Camera/Camera.html [deleted file]
tests/Camera/index.html
tests/Clipboard/Clipboard.html [deleted file]
tests/Clipboard/index.html
tests/DataSync/DataSync.html [deleted file]
tests/DataSync/index.html [changed mode: 0644->0755]
tests/Download/Download.html [deleted file]
tests/Download/index.html [changed mode: 0644->0755]
tests/DragandDrop/DragandDrop.html [deleted file]
tests/DragandDrop/index.html
tests/FileReader/FileReader.html [deleted file]
tests/FileReader/index.html [changed mode: 0755->0644]
tests/FullScreen/FullScreen.html [deleted file]
tests/FullScreen/index.html
tests/HybridApplication/HybridApplication.html [deleted file]
tests/HybridApplication/index.html [changed mode: 0644->0755]
tests/LocationGPS/LocationGPS.html [deleted file]
tests/LocationGPS/index.html
tests/LocationNetwork/LocationNetwork.html [deleted file]
tests/LocationNetwork/index.html
tests/MediaPlayback/MediaPlayback.html [deleted file]
tests/MediaPlayback/index.html
tests/Messaging(Email)/Messaging(Email).html [deleted file]
tests/Messaging(Email)/index.html [changed mode: 0644->0755]
tests/Messaging(SMS.MMS)/Messaging(SMS.MMS).html [deleted file]
tests/Messaging(SMS.MMS)/index.html [changed mode: 0644->0755]
tests/Microphone/Microphone.html [deleted file]
tests/Microphone/index.html
tests/NFC/NFC.html [deleted file]
tests/NFC/index.html
tests/Notification/Notification.html [deleted file]
tests/Notification/index.html
tests/Package/Package.html [deleted file]
tests/Package/index.html [changed mode: 0644->0755]
tests/PageVisibility/PageVisibility.html [deleted file]
tests/PageVisibility/index.html [changed mode: 0644->0755]
tests/Power/Power.html [deleted file]
tests/Power/index.html [changed mode: 0644->0755]
tests/Push/Push.html [deleted file]
tests/Push/index.html [changed mode: 0644->0755]
tests/SVGTransform/SVGTransform.html [deleted file]
tests/SVGTransform/index.html [changed mode: 0755->0644]
tests/Security/Security.html [deleted file]
tests/Security/index.html
tests/SystemInfo/SystemInfo.html [deleted file]
tests/SystemInfo/index.html [changed mode: 0644->0755]
tests/SystemSetting(IncomingCall)/SystemSetting(IncomingCall).html [deleted file]
tests/SystemSetting(IncomingCall)/index.html [changed mode: 0644->0755]
tests/SystemSetting(NotificationEmail)/SystemSetting(NotificationEmail).html [deleted file]
tests/SystemSetting(NotificationEmail)/index.html [changed mode: 0644->0755]
tests/SystemSetting(Screen)/SystemSetting(Screen).html [deleted file]
tests/SystemSetting(Screen)/index.html [changed mode: 0644->0755]
tests/Template/Template.html [deleted file]
tests/Template/index.html
tests/Touch/Touch.html [deleted file]
tests/Touch/index.html
tests/UserMedia/UserMedia.html [deleted file]
tests/UserMedia/index.html
tests/Vibration/Vibration.html [deleted file]
tests/Vibration/index.html
tests/Viewport/Viewport.html [deleted file]
tests/Viewport/index.html

index a38dedd..58ad929 100644 (file)
@@ -26,6 +26,9 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Wang, Jing J <jing.j.wang@intel.com>
+        Fan, Yugang <yugang.fan@intel.com>
 
 */
-#popup_view {overflow: auto;}
+.ui-page .ui-content .ui-listview .ui-li-desc {
+    white-space : normal;
+}
index 62b29fb..d7766bf 100755 (executable)
@@ -28,6 +28,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 Authors:
         Wang, Jing J <jing.j.wang@intel.com>
         Lin, Wanming <wanmingx.lin@intel.com>
+        Fan, Yugang <yugang.fan@intel.com>
 
 -->
 <html>
@@ -43,84 +44,29 @@ Authors:
 </head>
 <body>
 <div data-role="page" id="home_ui">
-<div id="tool_title" data-role="header" data-position="fixed">
-</div>
-<div id="app_selector" data-role="content">
-    <ul data-role="listview" id="mylist" data-divider-theme="b" data-inset="true">
-        <li data-role="list-divider" role="heading">Media and Animation</li>
-            <li id="MediaPlayback" class="test_app">
-            <li id="2D3DAnimation" class="test_app"/>
-            <li id="SVGTransform" class="test_app"/>
-            <li id="CSSStyle" class="test_app"/>
-            <li id="CSSAnimation" class="test_app"/>
-        <li data-role="list-divider" role="heading">Hardware and Sensor</li>
-            <li id="Camera" class="test_app"/>
-            <li id="UserMedia" class="test_app"/>
-            <li id="Microphone" class="test_app"/>
-            <li id="Vibration" class="test_app"/>
-            <li id="LocationNetwork" class="test_app"/>
-            <li id="LocationGPS" class="test_app"/>
-            <li id="Accelerometer" class="test_app"/>
-        <li data-role="list-divider" role="heading">Gesture</li>
-            <li id="Touch" class="test_app"/>
-            <li id="DragandDrop" class="test_app"/>
-            <li id="PageVisibility" class="test_app"/>
-        <li data-role="list-divider" role="heading">Application</li>
-            <li id="Alarm" class="test_app"></li>
-            <li id="Application" class="test_app"></li>
-            <li id="Package" class="test_app"></li>
-            <li id="HybridApplication" class="test_app"></li>
-        <li data-role="list-divider" role="heading">Communication</li>
-            <li id="Bluetooth" class="test_app"/>
-            <li id="Messaging<br>(SMS.MMS)" class="test_app"/>
-            <li id="Messaging<br>(Email)" class="test_app"/>
-            <li id="NFC" class="test_app"/>
-            <li id="Push" class="test_app"/>
-        <li data-role="list-divider" role="heading">Social</li>
-            <li id="DataSync" class="test_app"/>
-        <li data-role="list-divider" role="heading">Content</li>
-            <li id="Download" class="test_app"/>
-            <li id="FileReader" class="test_app"/>
-        <li data-role="list-divider" role="heading">System</li>
-            <li id="Power" class="test_app"/>
-            <li id="SystemInfo" class="test_app"/>
-            <li id="SystemSetting<br>(Screen)" class="test_app"/>
-            <li id="SystemSetting<br>(IncomingCall)" class="test_app"/>
-            <li id="SystemSetting<br>(NotificationEmail)" class="test_app"/>
-            <li id="Security" class="test_app"/>
-            <li id="Notification" class="test_app"/>
-            <li id="FullScreen" class="test_app"/>
-            <li id="Clipboard" class="test_app"></li>
-            <li id="Viewport" class="test_app"/>
-    </ul>
-</div>
-<div data-role="footer" data-position="fixed">
-    <div data-role="controlgroup" data-type="horizontal">
-        <a href="javascript:exportResult();" data-role="button" data-icon="gear">Export</a>
-        <!-- <a href="#popup_view" data-rel="popup" data-role="button" data-icon="info" data-transition="pop">View</a> -->
-        <a href="javascript:resetResult();" data-role="button" data-icon="refresh">Reset</a>
-        <a href="#popup_exit" data-rel="popup" data-position-to="window" data-role="button" data-inline="true" data-transition="pop" data-icon="back">Exit</a>
+    <div id="tool_title" data-role="header" data-position="fixed"></div>
+    <div id="app_selector" data-role="content">
+        <ul data-role="listview" id="mylist" data-divider-theme="b" data-inset="true"></ul>
     </div>
-</div>
-<div data-role="popup" id="popup_exit" data-overlay-theme="a" data-theme="c" data-dismissible="false" style="max-width:400px;" class="ui-corner-all">
-    <div data-role="header" data-theme="a" class="ui-corner-top">
-        <h1>Warning</h1>
+    <div data-role="footer" data-position="fixed">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:exportResult();" data-role="button" data-icon="gear">Export</a>
+            <a href="javascript:resetResult();" data-role="button" data-icon="refresh">Reset</a>
+            <a href="#popup_exit" data-rel="popup" data-position-to="window" data-role="button" data-inline="true" data-transition="pop" data-icon="back">Exit</a>
+        </div>
     </div>
-    <div data-role="content" data-theme="d" class="ui-corner-bottom ui-content">
-        <h3 class="ui-title">Please save result before exit</h3>
-        <a href="javascript:SaveAndExit();" data-role="button" data-inline="true" data-theme="b">Save</a>
-        <a href="javascript:exitTest();" data-role="button" data-inline="true" data-theme="c">Exit</a>
+    <div data-role="popup" id="popup_exit" data-overlay-theme="a" data-theme="c" data-dismissible="false" style="max-width:400px;" class="ui-corner-all">
+        <div data-role="header" data-theme="a" class="ui-corner-top">
+            <h1>Warning</h1>
+        </div>
+        <div data-role="content" data-theme="d" class="ui-corner-bottom ui-content">
+            <h3 class="ui-title">Please save result before exit</h3>
+            <a href="javascript:SaveAndExit();" data-role="button" data-inline="true" data-theme="b">Save</a>
+            <a href="javascript:exitTest();" data-role="button" data-inline="true" data-theme="c">Exit</a>
+        </div>
     </div>
 </div>
-<div data-role="popup" id="popup_view" data-position-to="window" data-theme="e" data-overlay-theme="a">
-<pre id="popup_content"></pre>
-</div>
-</div>
-</div>
 <script>
-$('#home_ui').on('pagecreate', function() {
-        updateAppDecoration();
-});
 updateToolTitle();
 </script>
 </body>
index 9714af1..517d9ed 100755 (executable)
@@ -26,10 +26,12 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Wang, Jing J <jing.j.wang@intel.com>
+        Fan, Yugang <yugang.fan@intel.com>
 
 */
 var _appURL;
 var _resultXML;
+var Tests;
 
 function updateToolTitle() {
     var version = '';
@@ -54,7 +56,7 @@ function updateToolTitle() {
 function launchApp() {
     $.mobile.hidePageLoadingMsg();
     jQuery("#overlayBackground").hide();
-    document.location.assign(_appURL);
+    window.open(_appURL);
 }
 
 function runApp(url) {
@@ -65,47 +67,49 @@ function runApp(url) {
 }
 
 function updateAppDecoration() {
-    var Apps = $(".test_app");
-    var i = 0;
-    var xmlResult = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
-    xmlResult += "<suite name=\"tct-behavior-tests\">\n"
-    xmlResult += "  <set>\n";
-
-    for (i=0; i<Apps.length; i++) {
-            var app = Apps[i];
-            var orgiginalAppName = $(app).attr("id");
-            var appname = $(app).attr("id").replace("<br>", "");
-            var res = sessionStorage[appname];
-            if (!res) {res = "non-executed"};
-            xmlResult += "    <testcase title=\"" + appname +"\"";
-            xmlResult += " result=\"" + res + "\"/>\n";
-            $(app).append("<a href=\"javascript:runApp('tests/" + appname + "/index.html')\"><img src=tests/" + appname + "/icon.png class='ui-li-thumb'><h3>" + orgiginalAppName + "</h3></a>");
-            if (res == "PASS")  {
-                $(app).find("a").append("<span class='ui-li-count' style='color:green;'>" + res + "</span>");
-                $(app).attr('data-theme', 'e');
-            } else if (res == "FAIL") {
-                $(app).find("a").append("<span class='ui-li-count' style='color:red;'>" + res + "</span>");
-                $(app).attr('data-theme', 'e');
-            }
-    }
+    $("#mylist").empty();
+    $(_resultXML).find("set").each( 
+        function(){
+            $("#mylist").append("<li data-role=\"list-divider\" role=\"heading\">"+$(this).attr("name")+"</li>");
+            $(this).find("testcase").each(
+                function(){
+                     var testAppID = "\"#"+$(this).attr("id")+"\"";
+                     $("#mylist").append("<li id=\""+$(this).attr("id")+"\" class=\"test_app\"><a href=\"javascript:runApp('tests/" + $(this).attr("id") + "/index.html')\"><img src=tests/" + $(this).attr("id") + "/icon.png class='ui-li-thumb'><h2>" + $(this).attr("id") + "</h2><p>"+$(this).attr("purpose")+"</p></a></li>");
+                     if($(this).attr("result") == "PASS"){
+                         $("#mylist > li :last").find("a").append("<span class='ui-li-count' style='color:green;'>" + "PASS" + "</span>");
+                         $("#mylist > li :last").attr('data-theme', 'e');
+                     } else if($(this).attr("result") == "FAIL"){
+                         $("#mylist > li :last").find("a").append("<span class='ui-li-count' style='color:red;'>" + "FAIL" + "</span>");
+                         $("#mylist > li :last").attr('data-theme', 'e');
+                     }
+                }
+            );
+        }
+    );
+    $("#mylist").listview( "refresh" );
     $("img[class='ui-li-thumb']").load(function() {
         $(this).css('padding-top',((80-this.height)/2));
     });
-
-    xmlResult += "  </set>\n</suite>";
-    _resultXML = xmlResult;
-    var Contents = $(document).find("#popup_content");
-    var p = Contents.get(0);
-    $(p).text( _resultXML);
+    $("img[class='ui-li-thumb ui-corner-bl']").load(function() {
+        $(this).css('padding-top',((80-this.height)/2));
+    });
 }
 
 function exportResult() {
-    writeFile(_resultXML,false);
+    writeFile((new XMLSerializer()).serializeToString(_resultXML), false);
+}
+
+function _resetResult() {
+    Tests.each(
+        function() {
+            $(this).attr("result", "non-executed")
+        }
+    );
 }
 
 function resetResult() {
-    sessionStorage.clear();
-    document.location.reload();
+    _resetResult();
+    updateAppDecoration();
 }
 
 function exitTest(){
@@ -145,7 +149,7 @@ function writeFile(content,need_exit) {
 }
 
 function SaveAndExit() { 
-    result = writeFile(_resultXML,true);
+    writeFile((new XMLSerializer()).serializeToString(_resultXML),true);
 }
 
 function updateFooterButton(){
@@ -153,4 +157,42 @@ function updateFooterButton(){
     $(':jqmData(role=footer)').find(':jqmData(role=button) > span:first-child').css('padding', '15px 10px 15px 30px');
 }
 
-window.addEventListener('load', updateFooterButton, false);
+function loadTests(){
+    $.ajax({
+        async : false,
+        type : "GET",
+        url : "./tests.xml",
+        dataType : "xml",
+        success : function(xml){
+            _resultXML = xml;
+            Tests = $(xml).find("testcase");
+            _resetResult();
+            updateAppDecoration();
+        }
+    });
+}
+
+function recordResultToXML(test_name, result){
+    Tests.each(
+        function() {
+            if($(this).attr('id') == test_name){
+                $(this).attr('result', result)
+            }
+        }
+    );
+}
+
+function initTests(){
+    updateFooterButton();
+    loadTests();
+    window.addEventListener('message', function(e) {
+        console.log(e.data);
+        var jsonData = eval("("+e.data+")");
+        if(jsonData.length > 0){
+            recordResultToXML(jsonData[0].testname, jsonData[0].result);
+            updateAppDecoration();
+        }
+    }, false);
+}
+
+window.addEventListener('load', initTests, false);
index 3ac2546..4e01c71 100755 (executable)
@@ -27,43 +27,38 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 Authors:
         Wang, Jing J <jing.j.wang@intel.com>
         Li, Hao <haox.li@intel.com>
+        Fan, Yugang <yugang.fan@intel.com>
 
 */
-
 function EnablePassButton(){
-  $('#pass_button').removeClass("ui-disabled");
+    $('#pass_button').removeClass("ui-disabled");
 }
 
 function DisablePassButton(){
-  $('#pass_button').addClass("ui-disabled");
+    $('#pass_button').addClass("ui-disabled");
 }
 
-function getCurrentAppName() {
+function getAppName() {
     var lpath = window.location.pathname;
-    var from = lpath.lastIndexOf("/") + 1;
-    var to = lpath.lastIndexOf(".html");
+    var from = lpath.lastIndexOf("tests/") + 6;
+    var to = lpath.lastIndexOf("/");
     return lpath.substring(from, to);
 }
 
 function backAppsHome() {
-    try {
-        window.location.href="../../index.html";
-    } catch(err) {
-        window.location.href="/index.html";
-    }
+    window.close();
 }
 
 function reportResult(res) {
-    sessionStorage[getCurrentAppName()]= res;
+    var jsonStr="[{\"testname\":\""+getAppName()+"\",\"result\":\""+res+"\"}]";
+    window.opener.postMessage(jsonStr, '*');
     backAppsHome();
 }
 
 function updateFooterButton(){
     $(':jqmData(role=footer)').attr("align", "center");
     $(':jqmData(role=footer)').find(':jqmData(role=button) > span:first-child').css('padding', '15px 10px 15px 30px');
-    // add theme for popup_info
     $("#popup_info").popup( "option", "theme", "a");
-    // add height limition and overflow for popup_info
     var maxHeight = $(window).height() - 100 + "px";
     $("#popup_info").css("max-height", maxHeight);
     $("#popup_info").css("margin-bottom", "30px");
index 4885d18..97b27b7 100644 (file)
@@ -29,9 +29,11 @@ mkdir -p $RPM_BUILD_DIR/%name
 cp -a $RPM_BUILD_DIR/%name-%version/index.html $RPM_BUILD_DIR/%name
 cp -a $RPM_BUILD_DIR/%name-%version/config.xml $RPM_BUILD_DIR/%name
 cp -a $RPM_BUILD_DIR/%name-%version/icon.png $RPM_BUILD_DIR/%name
+cp -a $RPM_BUILD_DIR/%name-%version/tests.xml $RPM_BUILD_DIR/%name
 cp -a $RPM_BUILD_DIR/%name-%version/js $RPM_BUILD_DIR/%name
 cp -a $RPM_BUILD_DIR/%name-%version/css $RPM_BUILD_DIR/%name
 cp -a $RPM_BUILD_DIR/%name-%version/tests $RPM_BUILD_DIR/%name
+cp -a $RPM_BUILD_DIR/%name-%version/res $RPM_BUILD_DIR/%name
 cd $RPM_BUILD_DIR/%name
 mkdir -p $RPM_BUILD_ROOT/opt/
 zip -rq $RPM_BUILD_ROOT/opt/%name/%name.wgt *
index b4d50d3..195dc97 100644 (file)
@@ -29,9 +29,11 @@ cp -a $RPM_BUILD_ROOT  $RPM_BUILD_DIR/%name
 cp -a $pre_dir/index.html $RPM_BUILD_DIR/%name
 cp -a $pre_dir/config.xml $RPM_BUILD_DIR/%name
 cp -a $pre_dir/icon.png $RPM_BUILD_DIR/%name
+cp -a $pre_dir/tests.xml $RPM_BUILD_DIR/%name
 cp -a $pre_dir/js $RPM_BUILD_DIR/%name
 cp -a $pre_dir/css $RPM_BUILD_DIR/%name
 cp -a $pre_dir/tests $RPM_BUILD_DIR/%name
+cp -a $pre_dir/res $RPM_BUILD_DIR/%name
 cd $RPM_BUILD_DIR/%name
 mkdir -p $RPM_BUILD_ROOT/opt/
 zip -rq $RPM_BUILD_ROOT/opt/%name/%name.wgt *
diff --git a/testcase.xsl b/testcase.xsl
new file mode 100644 (file)
index 0000000..8623c28
--- /dev/null
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+       <xsl:output method="html" version="1.0" encoding="UTF-8"
+               indent="yes" />
+       <xsl:template match="/">
+               <html>
+                       <STYLE type="text/css">
+                               @import "tests.css";
+                       </STYLE>
+
+                       <body>
+                               <div id="testcasepage">
+                                       <div id="title">
+                                               <table>
+                                                       <tr>
+                                                               <td>
+                                                                       <h1>Test Cases</h1>
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+                                       <div id="suites">
+                                               <table>
+                                                       <tr>
+                                                               <th>Test Suite</th>
+                                                               <th>Total</th>
+                                                               <th>Auto</th>
+                                                               <th>Manual</th>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>
+                                                                       Total
+                                                               </td>
+                                                               <td>
+                                                                       <xsl:value-of select="count(test_definition/suite/set//testcase)" />
+                                                               </td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition/suite/set//testcase[@execution_type = 'auto'])" />
+                                                               </td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition/suite/set//testcase[@execution_type != 'auto'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <xsl:for-each select="test_definition/suite">
+                                                               <tr>
+                                                                       <td>
+                                                                               <xsl:value-of select="@name" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase)" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set/testcase[@execution_type = 'auto'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set/testcase[@execution_type != 'auto'])" />
+                                                                       </td>
+                                                               </tr>
+                                                       </xsl:for-each>
+                                               </table>
+                                       </div>
+                                       <div id="title">
+                                               <table>
+                                                       <tr>
+                                                               <td class="title">
+                                                                       <h1>Detailed Test Cases</h1>
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+                                       <div id="cases">
+                                               <xsl:for-each select="test_definition/suite">
+                                                       <xsl:sort select="@name" />
+                                                       <p>
+                                                               Test Suite:
+                                                               <xsl:value-of select="@name" />
+                                                       </p>
+                                                       <table>
+                                                               <tr>
+                                                                       <th>Case_ID</th>
+                                                                       <th>Purpose</th>
+                                                                       <th>Type</th>
+                                                                       <th>Component</th>
+                                                                       <th>Execution Type</th>
+                                                                       <th>Description</th>
+                                                                       <th>Specification</th>
+                                                               </tr>
+                                                               <xsl:for-each select=".//set">
+                                                                       <xsl:sort select="@name" />
+                                                                       <tr>
+                                                                               <td colspan="7">
+                                                                                       Test Set:
+                                                                                       <xsl:value-of select="@name" />
+                                                                               </td>
+                                                                       </tr>
+                                                                       <xsl:for-each select=".//testcase">
+                                                                               <xsl:sort select="@id" />
+                                                                               <tr>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@id" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@purpose" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@type" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@component" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@execution_type" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <p>
+                                                                                                       Pre_condition:
+                                                                                                       <xsl:value-of select=".//description/pre_condition" />
+                                                                                               </p>
+                                                                                               <p>
+                                                                                                       Post_condition:
+                                                                                                       <xsl:value-of select=".//description/post_condition" />
+                                                                                               </p>
+                                                                                               <p>
+                                                                                                       Test Script Entry:
+                                                                                                       <xsl:value-of select=".//description/test_script_entry" />
+                                                                                               </p>
+                                                                                               <p>
+                                                                                                       Steps:
+                                                                                                       <p />
+                                                                                                       <xsl:for-each select=".//description/steps/step">
+                                                                                                               <xsl:sort select="@order" />
+                                                                                                               Step
+                                                                                                               <xsl:value-of select="@order" />
+                                                                                                               :
+                                                                                                               <xsl:value-of select="./step_desc" />
+                                                                                                               ;
+                                                                                                               <p />
+                                                                                                               Expected Result:
+                                                                                                               <xsl:value-of select="./expected" />
+                                                                                                               <p />
+                                                                                                       </xsl:for-each>
+                                                                                               </p>
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:call-template name="br-replace">
+                                                                                                       <xsl:with-param name="word" select=".//spec" />
+                                                                                               </xsl:call-template>
+                                                                                       </td>
+                                                                               </tr>
+                                                                       </xsl:for-each>
+                                                               </xsl:for-each>
+                                                       </table>
+                                               </xsl:for-each>
+                                       </div>
+                               </div>
+                       </body>
+               </html>
+       </xsl:template>
+       <xsl:template name="br-replace">
+               <xsl:param name="word" />
+               <xsl:variable name="cr">
+                       <xsl:text>
+</xsl:text>
+               </xsl:variable>
+               <xsl:choose>
+                       <xsl:when test="contains($word,$cr)">
+                               <xsl:value-of select="substring-before($word,$cr)" />
+                               <br />
+                               <xsl:call-template name="br-replace">
+                                       <xsl:with-param name="word" select="substring-after($word,$cr)" />
+                               </xsl:call-template>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="$word" />
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/testresult.xsl b/testresult.xsl
new file mode 100644 (file)
index 0000000..d1ad1b9
--- /dev/null
@@ -0,0 +1,273 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+       <xsl:output method="html" version="1.0" encoding="UTF-8"
+               indent="yes" />
+       <xsl:template match="/">
+               <html>
+                       <STYLE type="text/css">
+                               @import "tests.css";
+                       </STYLE>
+
+                       <body>
+                               <div id="testcasepage">
+                                       <div id="title">
+                                               <table>
+                                                       <tr>
+                                                               <td>
+                                                                       <h1>Test Report</h1>
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+                                       <div id="device">
+                                               <table>
+                                                       <tr>
+                                                               <th colspan="2">Device Information</th>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Device Name</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@device_name" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Device Model</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@device_model" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>OS Version</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@os_version" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Device ID</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@device_id" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Firmware Version</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@firmware_version" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Screen Size</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@screen_size" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Resolution</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@resolution" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Host Info</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@host" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Others</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/other" />
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+
+                                       <div id="summary">
+                                               <table>
+                                                       <tr>
+                                                               <th colspan="2">Test Summary</th>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test Plan Name</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/summary/@test_plan_name" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Tests Total</td>
+                                                               <td>
+                                                                       <xsl:value-of select="count(test_definition//suite/set/testcase)" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test Passed</td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition//suite/set/testcase[@result = 'PASS'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test Failed</td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition//suite/set/testcase[@result = 'FAIL'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test N/A</td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test Not Run</td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition//suite/set/testcase) - count(test_definition//suite/set/testcase[@result = 'PASS']) - count(test_definition//suite/set/testcase[@result = 'FAIL']) - count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Start time</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/summary/start_at" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>End time</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/summary/end_at" />
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+
+
+                                       <div id="suite_summary">
+                                               <div id="title">
+                                                       <table>
+                                                               <tr>
+                                                                       <td class="title">
+                                                                               <h1>Test Summary by Suite</h1>
+                                                                       </td>
+                                                               </tr>
+                                                       </table>
+                                               </div>
+                                               <table>
+                                                       <tr>
+                                                               <th>Suite</th>
+                                                               <th>Passed</th>
+                                                               <th>Failed</th>
+                                                               <th>N/A</th>
+                                                               <th>Not Run</th>
+                                                               <th>Total</th>
+                                                       </tr>
+                                                       <xsl:for-each select="test_definition/suite">
+                                                               <xsl:sort select="@name" />
+                                                               <tr>
+                                                                       <td>
+                                                                               <xsl:value-of select="@name" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase[@result = 'PASS'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase[@result = 'FAIL'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase[@result = 'BLOCK'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of
+                                                                                       select="count(set//testcase) - count(set//testcase[@result = 'PASS']) - count(set//testcase[@result = 'FAIL']) - count(set//testcase[@result = 'BLOCK'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase)" />
+                                                                       </td>
+                                                               </tr>
+                                                       </xsl:for-each>
+                                               </table>
+                                       </div>
+
+                                       <div id="cases">
+                                               <div id="title">
+                                                       <table>
+                                                               <tr>
+                                                                       <td class="title">
+                                                                               <h1 align="center">Detailed Test Results</h1>
+                                                                       </td>
+                                                               </tr>
+                                                       </table>
+                                               </div>
+                                               <xsl:for-each select="test_definition/suite">
+                                                       <xsl:sort select="@name" />
+                                                       <p>
+                                                               Test Suite:
+                                                               <xsl:value-of select="@name" />
+                                                       </p>
+                                                       <table>
+                                                               <tr>
+                                                                       <th>Case_ID</th>
+                                                                       <th>Purpose</th>
+                                                                       <th>Result</th>
+                                                                       <th>Stdout</th>
+                                                               </tr>
+                                                               <xsl:for-each select=".//set">
+                                                                       <xsl:sort select="@name" />
+                                                                       <tr>
+                                                                               <td colspan="4">
+                                                                                       Test Set:
+                                                                                       <xsl:value-of select="@name" />
+                                                                               </td>
+                                                                       </tr>
+                                                                       <xsl:for-each select=".//testcase">
+                                                                               <xsl:sort select="@id" />
+                                                                               <tr>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@id" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@purpose" />
+                                                                                       </td>
+
+                                                                                       <xsl:choose>
+                                                                                               <xsl:when test="@result">
+                                                                                                       <xsl:if test="@result = 'FAIL'">
+                                                                                                               <td class="red_rate">
+                                                                                                                       <xsl:value-of select="@result" />
+                                                                                                               </td>
+                                                                                                       </xsl:if>
+                                                                                                       <xsl:if test="@result = 'PASS'">
+                                                                                                               <td class="green_rate">
+                                                                                                                       <xsl:value-of select="@result" />
+                                                                                                               </td>
+                                                                                                       </xsl:if>
+                                                                                                       <xsl:if test="@result = 'BLOCK' ">
+                                                                                                               <td>
+                                                                                                                       BLOCK
+                                                                                                               </td>
+                                                                                                       </xsl:if>
+                                                                                               </xsl:when>
+                                                                                               <xsl:otherwise>
+                                                                                                       <td>
+
+                                                                                                       </td>
+                                                                                               </xsl:otherwise>
+                                                                                       </xsl:choose>
+                                                                                       <td>
+                                                                                               <xsl:value-of select=".//result_info/stdout" />
+                                                                                               <xsl:if test=".//result_info/stdout = ''">
+                                                                                                       N/A
+                                                                                               </xsl:if>
+                                                                                       </td>
+                                                                               </tr>
+                                                                       </xsl:for-each>
+                                                               </xsl:for-each>
+                                                       </table>
+                                               </xsl:for-each>
+                                       </div>
+                               </div>
+                       </body>
+               </html>
+       </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/tests.css b/tests.css
new file mode 100644 (file)
index 0000000..30c3670
--- /dev/null
+++ b/tests.css
@@ -0,0 +1,103 @@
+@charset "UTF-8";
+/* CSS Document */
+#testcasepage div,#testcasepage h1,#testcasepage p,#testcasepage table,#testcasepage tr,#testcasepage th,#testcasepage td
+       {
+       margin: 0;
+       padding: 0;
+       border: 0;
+       font-weight: inherit;
+       font-style: inherit;
+       font-size: 0.96em;
+       font-family: arial;
+       vertical-align: baseline;
+}
+
+#testcasepage p {
+       text-align: left;
+}
+
+#testcasepage table {
+       border-collapse: separate;
+       border-spacing: 0;
+       margin-bottom: 1.4em;
+       vertical-align: middle;
+}
+
+#testcasepage th,#testcasepage td {
+       text-align: left;
+       font-weight: normal;
+       padding: 4px 10px 4px 5px;
+       vertical-align: middle;
+}
+
+#cases table {
+       width: 101%;
+}
+
+#title table {
+       width: 101%;
+}
+
+#device table {
+       width: 50%;
+}
+
+#summary table {
+       width: 50%;
+}
+
+#testcasepage th {
+       border-bottom: 1px solid #000;
+       background-color: #AAAAAA;
+       border-left: 1px solid #000;
+       border-top: 1px solid #000;
+       color: #000;
+       font-weight: bold;
+       vertical-align: bottom;
+}
+
+#testcasepage th:last-child, #testcasepage td:last-child {
+       border-right: 1px solid #000;
+}
+
+#testcasepage td {
+       border-left: 1px solid;
+       font-weight: normal;
+       border-bottom: 1px solid;
+}
+
+#testcasepage td.yellow_rate {
+       background-color: #ffcc00;
+}
+
+#testcasepage td.green_rate {
+       background-color: #33cc33;
+}
+
+#testcasepage td.dgreen_rate {
+       background-color: #339933;
+}
+
+#testcasepage td.red_rate {
+       background-color: #FF3333;
+}
+
+#title table, #title tr, #title td {
+       border-left: none;
+       border-bottom: none;
+       text-align: center;
+}
+
+#title td:last-child {
+       border-right: none;
+}
+
+#testcasepage h1 {
+       font-size: 2em;
+       font-family: Arial, sans-serif; font-weight : bold;
+       line-height: 1;
+       color: #000;
+       margin-bottom: 0.75em;
+       padding-top: 0.25em;
+       font-weight: bold;
+}
\ No newline at end of file
diff --git a/tests.xml b/tests.xml
new file mode 100644 (file)
index 0000000..77dc9a4
--- /dev/null
+++ b/tests.xml
@@ -0,0 +1,501 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl"  href="testresult.xsl"?>
+<suite name="tct-behavior-tests">
+  <set name="Media and Animation">
+      <testcase purpose="The test verifies that the video is played smoothly, sync with the audio." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="MediaPlayback">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that the 2D3DAnimation is running smoothly." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="2D3DAnimation">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if SVG and Transform is working well." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="SVGTransform">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that css style have been applied normally." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="CSSStyle">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that the CSS Animation and Transistion are supported." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="CSSAnimation">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+  </set>
+  <set name="Hardware and Sensor">
+      <testcase purpose="The test verifies that the back-side Camera is supported." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Camera">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that the Camera supports taking video." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="UserMedia">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="This test verifiers that the device supports microphone." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Microphone">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if the device vibration is working." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Vibration">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that the device supports networking based location feature." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="LocationNetwork">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that the device supports GPS based location feature." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="LocationGPS">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that the device supports accelerometer sensor." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Accelerometer">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+  </set>
+  <set name="Gesture">
+      <testcase purpose="This test verifies the device supports single touch, two fingers touch and three fingers touch by clicking the blue buttons." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Touch">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that the device supports the drag and drop feature." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="DragandDrop">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies PageVisibility event." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="PageVisibility">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+  </set>
+  <set name="Application">
+      <testcase purpose="The test verifies Alarm Device APIs." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Alarm">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if AppControls are supported." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Application">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if Package is successfully installed, updated and uninstalled." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Package">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>      
+      <testcase purpose="Check if HybridApplication is successfully installed, updated and uninstalled." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="HybridApplication">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+  </set>
+  <set name="Communication">
+      <testcase purpose="Check if Bluetooth communication between devices supported." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Bluetooth">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if SMS/MMS is sent properly." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Messaging(SMS.MMS)">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if the email is successfully sent." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Messaging(Email)">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check NFC communication." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="NFC">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if PushClient gets messages from the push server." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Push">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+  </set>
+  <set name="Social">
+      <testcase purpose="Check if data is successfully synchronized with an OMA DS server." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="DataSync">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+  </set>
+  <set name="Content">
+      <testcase purpose="Check if the file is successfully downloaded." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Download">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that the Storage FileReader can work normally." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="FileReader">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+  </set>
+  <set name="System">
+      <testcase purpose="Check if the screen status is successfully changed." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Power">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if a SystemInfo reflects current device status." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="SystemInfo">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if the home/lock screen image is successfully changed." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="SystemSetting(Screen)">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if the ringtone is successfully changed." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="SystemSetting(IncomingCall)">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if the email notification sound is successfully changed." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="SystemSetting(NotificationEmail)">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if this application runs under a non-root user ID." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Security">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="Check if a notification is successfully posted." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Notification">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies the full screen feature." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="FullScreen">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies that clipboard can get the copy, cut and paste events." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Clipboard">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+      <testcase purpose="The test verifies the viewport feature." type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Viewport">
+      <description>
+        <pre_condition />
+        <post_condition />
+        <steps>
+          <step order="1">
+            <step_desc>0</step_desc>
+            <expected>0</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+      </description>
+      </testcase>
+  </set>
+</suite>
diff --git a/tests/2D3DAnimation/2D3DAnimation.html b/tests/2D3DAnimation/2D3DAnimation.html
deleted file mode 100755 (executable)
index a612323..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
-
--->
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-    <title>2D3DAnimation</title>
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <link rel="stylesheet" type="text/css" href="css/style.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-    <script src="js/main.js"></script>
-    <script src="js/khronos/webgl-utils.js"></script>
-    <script src="js/khronos/webgl-debug.js"></script>
-    <script src="js/khronos/J3DI.js"></script>
-    <script src="js/khronos/J3DIMath.js"></script>
-    <script id="vshader" type="x-shader/x-vertex">
-        uniform mat4 u_modelViewProjMatrix;
-        uniform mat4 u_normalMatrix;
-        uniform vec3 lightDir;
-
-        attribute vec3 vNormal;
-        attribute vec4 vColor;
-        attribute vec4 vPosition;
-
-        varying float v_Dot;
-        varying vec4 v_Color;
-
-        void main()
-        {
-        gl_Position = u_modelViewProjMatrix * vPosition;
-        v_Color = vColor;
-        vec4 transNormal = u_normalMatrix * vec4(vNormal, 1);
-        v_Dot = max(dot(transNormal.xyz, lightDir), 0.0);
-        }
-    </script>
-    <script id="fshader" type="x-shader/x-fragment">
-        precision mediump float;
-
-        varying float v_Dot;
-        varying vec4 v_Color;
-
-        void main()
-        {
-        gl_FragColor = vec4(v_Color.xyz * v_Dot, v_Color.a);
-        }
-    </script>
-</head>
-<body>
-<div data-role="header">
-    <h1 id="main_page_title">2D3DAnimation</h1>
-</div>
-<div data-role= "content">
-    <div id="mainTester">
-        <canvas id="canvas" width="330" height="300">
-            Not support the &lt;canvas&gt;&gt; element. Ouch! failed!
-        </canvas>
-    </div>
-    <div class="containing-element">
-        <div data-role="fieldcontain">
-            <label for="flip-1">Status:</label>
-            <select name="flip-1" id="flip-1" data-role="slider">
-                <option value="paused">Pause</option>
-                <option value="running" selected>Play</option>
-            </select>
-        </div>
-        <div data-role="fieldcontain">
-            <fieldset data-role="controlgroup" data-type="horizontal">
-                <legend>Direction:</legend>
-                <input type="radio" name="radio-choice-2" id="direction-1" value="right" checked="checked" />
-                <label for="direction-1">To-Right</label>
-                <input type="radio" name="radio-choice-2" id="direction-2" value="left" />
-                <label for="direction-2">To-Left</label>
-            </fieldset>
-        </div>
-        <div data-role="fieldcontain">
-            <label for="slider-1">Size:</label>
-            <input type="range" name="slider-1" id="slider-1" data-highlight="true" min="1" max="5" value="3" data-show-value="true" style="display:none">
-        </div>
-        <div data-role="fieldcontain">
-            <label for="speed-1">Speed:</label>
-            <input type="range" name="speed-1" id="speed-1" data-highlight="true" min="1" max="10" value="5" data-show-value="true" style="display:none">
-        </div>
-    </div>
-</div>
-<div data-role="footer" data-position="fixed">
-    <div data-role="controlgroup" data-type="horizontal">
-        <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-        <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-        <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-        <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-    </div>
-</div>
-<div data-role="popup" id="popup_info">
-    <p>The test verifies that the 2D3DAnimation is running smoothly</p>
-    <p>Change the "Status", the animation should be running or paused</p>
-    <p>Keep running and change the "Direction", "Size", "Speed",
- the animation's Direction, Size, Speed should be changed</p>
-    <p>Test passes if the animation is always running normal with those changes</p>
-</div>
-</body>
-</html>
index f60bae2..a612323 100755 (executable)
@@ -30,10 +30,103 @@ Authors:
 
 -->
 <html>
-  <head>
+<head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
     <title>2D3DAnimation</title>
-    <meta http-equiv="REFRESH" content="0;url=2D3DAnimation.html" />
-  </head>
-  <body>
-  </body>
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <link rel="stylesheet" type="text/css" href="css/style.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
+    <script src="js/main.js"></script>
+    <script src="js/khronos/webgl-utils.js"></script>
+    <script src="js/khronos/webgl-debug.js"></script>
+    <script src="js/khronos/J3DI.js"></script>
+    <script src="js/khronos/J3DIMath.js"></script>
+    <script id="vshader" type="x-shader/x-vertex">
+        uniform mat4 u_modelViewProjMatrix;
+        uniform mat4 u_normalMatrix;
+        uniform vec3 lightDir;
+
+        attribute vec3 vNormal;
+        attribute vec4 vColor;
+        attribute vec4 vPosition;
+
+        varying float v_Dot;
+        varying vec4 v_Color;
+
+        void main()
+        {
+        gl_Position = u_modelViewProjMatrix * vPosition;
+        v_Color = vColor;
+        vec4 transNormal = u_normalMatrix * vec4(vNormal, 1);
+        v_Dot = max(dot(transNormal.xyz, lightDir), 0.0);
+        }
+    </script>
+    <script id="fshader" type="x-shader/x-fragment">
+        precision mediump float;
+
+        varying float v_Dot;
+        varying vec4 v_Color;
+
+        void main()
+        {
+        gl_FragColor = vec4(v_Color.xyz * v_Dot, v_Color.a);
+        }
+    </script>
+</head>
+<body>
+<div data-role="header">
+    <h1 id="main_page_title">2D3DAnimation</h1>
+</div>
+<div data-role= "content">
+    <div id="mainTester">
+        <canvas id="canvas" width="330" height="300">
+            Not support the &lt;canvas&gt;&gt; element. Ouch! failed!
+        </canvas>
+    </div>
+    <div class="containing-element">
+        <div data-role="fieldcontain">
+            <label for="flip-1">Status:</label>
+            <select name="flip-1" id="flip-1" data-role="slider">
+                <option value="paused">Pause</option>
+                <option value="running" selected>Play</option>
+            </select>
+        </div>
+        <div data-role="fieldcontain">
+            <fieldset data-role="controlgroup" data-type="horizontal">
+                <legend>Direction:</legend>
+                <input type="radio" name="radio-choice-2" id="direction-1" value="right" checked="checked" />
+                <label for="direction-1">To-Right</label>
+                <input type="radio" name="radio-choice-2" id="direction-2" value="left" />
+                <label for="direction-2">To-Left</label>
+            </fieldset>
+        </div>
+        <div data-role="fieldcontain">
+            <label for="slider-1">Size:</label>
+            <input type="range" name="slider-1" id="slider-1" data-highlight="true" min="1" max="5" value="3" data-show-value="true" style="display:none">
+        </div>
+        <div data-role="fieldcontain">
+            <label for="speed-1">Speed:</label>
+            <input type="range" name="speed-1" id="speed-1" data-highlight="true" min="1" max="10" value="5" data-show-value="true" style="display:none">
+        </div>
+    </div>
+</div>
+<div data-role="footer" data-position="fixed">
+    <div data-role="controlgroup" data-type="horizontal">
+        <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+        <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+        <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+        <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+    </div>
+</div>
+<div data-role="popup" id="popup_info">
+    <p>The test verifies that the 2D3DAnimation is running smoothly</p>
+    <p>Change the "Status", the animation should be running or paused</p>
+    <p>Keep running and change the "Direction", "Size", "Speed",
+ the animation's Direction, Size, Speed should be changed</p>
+    <p>Test passes if the animation is always running normal with those changes</p>
+</div>
+</body>
 </html>
diff --git a/tests/Accelerometer/Accelerometer.html b/tests/Accelerometer/Accelerometer.html
deleted file mode 100755 (executable)
index 5ec636e..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
-
--->
-<html>
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-    <title>Accelerometer</title>
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-    <script src="js/main.js"></script>
-    <style type="text/css">
-        .testresult {
-            background-color: #CCCCCC;
-            font-size: 2em;
-        }
-    </style>
-  </head>
-  <body>
-    <div data-role="header">
-      <h1 id="main_page_title">Accelerometer</h1>
-    </div>
-    <div data-role= "content">
-      <p>Move your device in one direction</p>
-      <ul id="coordinate">
-        <li id="x">X:</li>
-        <li id="y">Y:</li>
-        <li id="z">Z:</li>
-      </ul>
-      <div class="testresult">Status: <span id="testresult">Not moving</span></div>
-    </div>
-    <div data-role="footer" data-position="fixed">
-        <div data-role="controlgroup" data-type="horizontal">
-            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-    </div>
-    <div data-role="popup" id="popup_info">
-      <p>The test verifies that the device supports accelerometer sensor</p>
-      <p>1. Keep the device in standstill state, "Not moving" shoud be shown</p>
-      <p>2. Move the device in one direction(up, down, left, right, forward, backward)</p>
-      <p>Test passes if the state will be "Moving" while moving</p>
-    </div>
-  </body>
-</html>
index f955048..5ec636e 100755 (executable)
@@ -31,9 +31,47 @@ Authors:
 -->
 <html>
   <head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
     <title>Accelerometer</title>
-    <meta http-equiv="REFRESH" content="0;url=Accelerometer.html">
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
+    <script src="js/main.js"></script>
+    <style type="text/css">
+        .testresult {
+            background-color: #CCCCCC;
+            font-size: 2em;
+        }
+    </style>
   </head>
   <body>
+    <div data-role="header">
+      <h1 id="main_page_title">Accelerometer</h1>
+    </div>
+    <div data-role= "content">
+      <p>Move your device in one direction</p>
+      <ul id="coordinate">
+        <li id="x">X:</li>
+        <li id="y">Y:</li>
+        <li id="z">Z:</li>
+      </ul>
+      <div class="testresult">Status: <span id="testresult">Not moving</span></div>
+    </div>
+    <div data-role="footer" data-position="fixed">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+    </div>
+    <div data-role="popup" id="popup_info">
+      <p>The test verifies that the device supports accelerometer sensor</p>
+      <p>1. Keep the device in standstill state, "Not moving" shoud be shown</p>
+      <p>2. Move the device in one direction(up, down, left, right, forward, backward)</p>
+      <p>Test passes if the state will be "Moving" while moving</p>
+    </div>
   </body>
 </html>
diff --git a/tests/Alarm/Alarm.html b/tests/Alarm/Alarm.html
deleted file mode 100755 (executable)
index 3c0ea76..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Alarm</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">Alarm</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li data-role="list-divider">AlarmTest Install</li>
-                <li>
-                    <div data-role="button" id="install">AlarmTest Install</div>
-                </li>
-                <li data-role="list-divider">Alarm List</li>
-            </ul>
-            <ul data-role="listview" id="alarm-all-list"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Absolute Alarm Time</li>
-                <li>
-                    <input type="datetime" name="alarm-time" id="alarm-time" value="0000-00-00T00:00Z" />
-                </li>
-                <li data-role="list-divider">Absolute Alarm Repeat interval(sec)</li>
-                <li><input id="absolute-alarm-period" name="absolute-alarm-period" data-popupenabled="false" type="range" value="50" min="0" max="99" /></li>
-                <li data-role="list-divider">Absolute Alarm Add</li>
-                <li>
-                    <div data-role="button" id="absolute-alarm-save">Absolute Save</div>
-                </li>
-                <li data-role="list-divider">Relative Alarm Delay(sec)</li>
-                <li><input id="relative-alarm-delay" name="relative-alarm-delay" data-popupenabled="false" type="range" value="50" min="0" max="99" /></li>
-                <li data-role="list-divider">Relative Alarm Repeat interval(sec)</li>
-                <li><input id="relative-alarm-period" name="relative-alarm-period" data-popupenabled="false" type="range" value="50" min="0" max="99" /></li>
-                <li data-role="list-divider">Relative Alarm Add</li>
-                <li>
-                    <div data-role="button" id="relative-alarm-save">Relative Save</div>
-                </li>
-            </ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Alarm Delete</li>
-                <li>
-                    <div data-role="button" id="alarm-remove-all">Delete all</div>
-                </li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if an application is launched on time</p><br>
-            <p>1. Install AlarmTest</p>
-            <p>2. Set absolute time</p>
-            <p>3. Set an interval</p>
-            <p>4. Save an absolute button</p>
-            <p>5. Watch AlarmTest is launched on time</p>
-            <p>6. Watch AlarmTest is launched after the interval</p>
-            <p>7. Remove the alarm</p>
-            <p>8. Set delay</p>
-            <p>9. Set an interval</p>
-            <p>10. Save a relative alarm</p>
-            <p>11. Watch AlarmTest is launched on time</p>
-            <p>12. Watch AlarmTest is launched after the interval</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index cbde634..3c0ea76
@@ -20,9 +20,79 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>Alarm</title>
-<meta http-equiv="REFRESH" content="0;url=Alarm.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">Alarm</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview">
+                <li data-role="list-divider">AlarmTest Install</li>
+                <li>
+                    <div data-role="button" id="install">AlarmTest Install</div>
+                </li>
+                <li data-role="list-divider">Alarm List</li>
+            </ul>
+            <ul data-role="listview" id="alarm-all-list"></ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">Absolute Alarm Time</li>
+                <li>
+                    <input type="datetime" name="alarm-time" id="alarm-time" value="0000-00-00T00:00Z" />
+                </li>
+                <li data-role="list-divider">Absolute Alarm Repeat interval(sec)</li>
+                <li><input id="absolute-alarm-period" name="absolute-alarm-period" data-popupenabled="false" type="range" value="50" min="0" max="99" /></li>
+                <li data-role="list-divider">Absolute Alarm Add</li>
+                <li>
+                    <div data-role="button" id="absolute-alarm-save">Absolute Save</div>
+                </li>
+                <li data-role="list-divider">Relative Alarm Delay(sec)</li>
+                <li><input id="relative-alarm-delay" name="relative-alarm-delay" data-popupenabled="false" type="range" value="50" min="0" max="99" /></li>
+                <li data-role="list-divider">Relative Alarm Repeat interval(sec)</li>
+                <li><input id="relative-alarm-period" name="relative-alarm-period" data-popupenabled="false" type="range" value="50" min="0" max="99" /></li>
+                <li data-role="list-divider">Relative Alarm Add</li>
+                <li>
+                    <div data-role="button" id="relative-alarm-save">Relative Save</div>
+                </li>
+            </ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">Alarm Delete</li>
+                <li>
+                    <div data-role="button" id="alarm-remove-all">Delete all</div>
+                </li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if an application is launched on time</p><br>
+            <p>1. Install AlarmTest</p>
+            <p>2. Set absolute time</p>
+            <p>3. Set an interval</p>
+            <p>4. Save an absolute button</p>
+            <p>5. Watch AlarmTest is launched on time</p>
+            <p>6. Watch AlarmTest is launched after the interval</p>
+            <p>7. Remove the alarm</p>
+            <p>8. Set delay</p>
+            <p>9. Set an interval</p>
+            <p>10. Save a relative alarm</p>
+            <p>11. Watch AlarmTest is launched on time</p>
+            <p>12. Watch AlarmTest is launched after the interval</p>
+        </div>
+    </div>
 </body>
 </html>
diff --git a/tests/Application/Application.html b/tests/Application/Application.html
deleted file mode 100755 (executable)
index 379a40c..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Application</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-<style type="text/css">
-#image ul, li {list-style:none;}
-#audio ul, li {list-style:none;}
-#video ul, li {list-style:none;}
-#image img {margin:1px; width:75px; height:75px}
-#audio img {margin:1px; width:75px; height:75px}
-#video img {margin:1px; width:75px; height:75px}
-</style>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">Application</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li data-role="list-divider">AppControl Image</li>
-            </ul>
-            <ul data-role="listview" id="image"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">AppControl Audio</li>
-            </ul>
-            <ul data-role="listview" id="audio"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">AppControl Video</li>
-            </ul>
-            <ul data-role="listview" id="video"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">AppControl File</li>
-                <li id="allFile">All File</li>
-                <li id="imageFile">Image File</li>
-                <li id="audioFile">Audio File</li>
-                <li id="videoFile">Video File</li>
-                <li data-role="list-divider">AppControl Browser</li>
-                <li id="tizen">https://www.tizen.org</li>
-                <li><input type="text" id="url" value="http://"/><div data-role="button" id="browser">Browser</div></li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if AppControls are supported</p><br>
-            <p>1. Select a thumbnail in the AppControl Image category</p>
-            <p>2. Check if the original image is displayed</p>
-            <p>3. Select a music file in the AppControl Audio category</p>
-            <p>4. Check if the music file is played</p>
-            <p>5. Select a video file in the AppControl Video category</p>
-            <p>6. Check if the video file is played</p>
-            <p>5. Select or Input the URL in the AppControl Browser category</p>
-            <p>6. Check if the URL is browsed</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index a192835..379a40c
@@ -20,9 +20,71 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>Application</title>
-<meta http-equiv="REFRESH" content="0;url=Application.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
+<style type="text/css">
+#image ul, li {list-style:none;}
+#audio ul, li {list-style:none;}
+#video ul, li {list-style:none;}
+#image img {margin:1px; width:75px; height:75px}
+#audio img {margin:1px; width:75px; height:75px}
+#video img {margin:1px; width:75px; height:75px}
+</style>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">Application</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview">
+                <li data-role="list-divider">AppControl Image</li>
+            </ul>
+            <ul data-role="listview" id="image"></ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">AppControl Audio</li>
+            </ul>
+            <ul data-role="listview" id="audio"></ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">AppControl Video</li>
+            </ul>
+            <ul data-role="listview" id="video"></ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">AppControl File</li>
+                <li id="allFile">All File</li>
+                <li id="imageFile">Image File</li>
+                <li id="audioFile">Audio File</li>
+                <li id="videoFile">Video File</li>
+                <li data-role="list-divider">AppControl Browser</li>
+                <li id="tizen">https://www.tizen.org</li>
+                <li><input type="text" id="url" value="http://"/><div data-role="button" id="browser">Browser</div></li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if AppControls are supported</p><br>
+            <p>1. Select a thumbnail in the AppControl Image category</p>
+            <p>2. Check if the original image is displayed</p>
+            <p>3. Select a music file in the AppControl Audio category</p>
+            <p>4. Check if the music file is played</p>
+            <p>5. Select a video file in the AppControl Video category</p>
+            <p>6. Check if the video file is played</p>
+            <p>5. Select or Input the URL in the AppControl Browser category</p>
+            <p>6. Check if the URL is browsed</p>
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/Bluetooth/Bluetooth.html b/tests/Bluetooth/Bluetooth.html
deleted file mode 100755 (executable)
index e10c766..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Bluetooth</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">Bluetooth</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview" id="list">
-                <li data-role="list-divider">BluetoothChat(Sample Web Application)</li>
-                <li data-role="list-divider">BluetoothChat Install & Launch</li>
-                <li><div data-role="button" id="bluetoothChatInstall">BluetoothChat Install</div></li>
-                <li><div data-role="button" id="bluetoothChatLaunch">BluetoothChat Launch</div></li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if Bluetooth communication between devices supported</p><br>
-            <p>1. Install BluetoothChat</p>
-            <p>2. Launch BluetoothChat</p>
-            <p>3. Install and launch BluetoothChat on another device</p>
-            <p>3. Check if a chat with another device successfully functioning</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 812966c..e10c766
@@ -20,9 +20,43 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>Bluetooth</title>
-<meta http-equiv="REFRESH" content="0;url=Bluetooth.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">Bluetooth</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview" id="list">
+                <li data-role="list-divider">BluetoothChat(Sample Web Application)</li>
+                <li data-role="list-divider">BluetoothChat Install & Launch</li>
+                <li><div data-role="button" id="bluetoothChatInstall">BluetoothChat Install</div></li>
+                <li><div data-role="button" id="bluetoothChatLaunch">BluetoothChat Launch</div></li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if Bluetooth communication between devices supported</p><br>
+            <p>1. Install BluetoothChat</p>
+            <p>2. Launch BluetoothChat</p>
+            <p>3. Install and launch BluetoothChat on another device</p>
+            <p>3. Check if a chat with another device successfully functioning</p>
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/CSSAnimation/CSSAnimation.html b/tests/CSSAnimation/CSSAnimation.html
deleted file mode 100644 (file)
index af70ac1..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Li, Hao <haox.li@intel.com>
-
--->
-<html>
-  <head>
-    <title>CSSAnimation</title>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <link rel="stylesheet" type="text/css" href="css/style.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-    <script src="js/main.js"></script>
-    <script type="text/javascript">
-        var test_box;
-        var box_txt = "1";
-        function init()
-        {
-            test_box = document.getElementById("testBox");
-            test_box.addEventListener("webkitAnimationIteration", start_f, true);
-            test_box.addEventListener("animationiteration", start_f, true);
-
-        }
-        function start_f()
-        {
-            try{
-                box_txt = test_box.innerText;
-                test_box.innerText = parseInt(box_txt) + 1;
-                if(test_box.innerText % 2 == 0)
-                    $("#testBox").removeClass("final");
-                else
-                    $("#testBox").addClass("final");
-            } catch (err) {
-                test_box.innerText = box_txt;
-            }
-        }
-        const expectedValues = [
-          // [time, element-id, property, expected-value, tolerance]
-          // [0.25, 'box', 'border-top-left-radius', 25, 5],
-          [0.25, 'testBox', 'border-radius', 25, 500],
-        ];
-        function setupTest()
-        {
-          document.getElementById('testBox').className = 'testBox final';
-        }
-        runTransitionTest(expectedValues, setupTest, usePauseAPI);
-    </script>
-  </head>
-  <body onload="init()">
-    <div data-role="header">
-      <h1 id="main_page_title">CSSAnimation</h1>
-    </div>
-    <div data-role="content">
-        <div class="content_box">
-            <div id="testBox" class="text-font">1</div>
-        </div>
-    </div>
-    <div data-role="footer" data-position="fixed">
-      <div data-role="controlgroup" data-type="horizontal">
-        <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-        <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-        <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-        <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-      </div>
-    </div>
-    <div data-role="popup" id="popup_info">
-        <p>The test verifies that the CSS Animation and Transistion are supported.</p>
-        <p>1. The animation element is moving in the blue box</p>
-        <p>2. The background of the element is changing in the order of red-green-blue very time</p>
-        <p>3. The counter in the element will record the times of the element moves</p>
-        <p>4. The shape of the element is changing when moving to right</p>
-        <p>Test passes if the counter in the element is 10 when stop moving</p>
-    </div>
-  </body>
-</html>
index b2158bd..af70ac1 100644 (file)
@@ -26,14 +26,79 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
+        Li, Hao <haox.li@intel.com>
 
 -->
 <html>
-    <head>
-        <title>CSSAnimation</title>
-        <meta http-equiv="REFRESH" content="0;url=CSSAnimation.html">
-    </head>
-    <body>
-    </body>
+  <head>
+    <title>CSSAnimation</title>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <link rel="stylesheet" type="text/css" href="css/style.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
+    <script src="js/main.js"></script>
+    <script type="text/javascript">
+        var test_box;
+        var box_txt = "1";
+        function init()
+        {
+            test_box = document.getElementById("testBox");
+            test_box.addEventListener("webkitAnimationIteration", start_f, true);
+            test_box.addEventListener("animationiteration", start_f, true);
+
+        }
+        function start_f()
+        {
+            try{
+                box_txt = test_box.innerText;
+                test_box.innerText = parseInt(box_txt) + 1;
+                if(test_box.innerText % 2 == 0)
+                    $("#testBox").removeClass("final");
+                else
+                    $("#testBox").addClass("final");
+            } catch (err) {
+                test_box.innerText = box_txt;
+            }
+        }
+        const expectedValues = [
+          // [time, element-id, property, expected-value, tolerance]
+          // [0.25, 'box', 'border-top-left-radius', 25, 5],
+          [0.25, 'testBox', 'border-radius', 25, 500],
+        ];
+        function setupTest()
+        {
+          document.getElementById('testBox').className = 'testBox final';
+        }
+        runTransitionTest(expectedValues, setupTest, usePauseAPI);
+    </script>
+  </head>
+  <body onload="init()">
+    <div data-role="header">
+      <h1 id="main_page_title">CSSAnimation</h1>
+    </div>
+    <div data-role="content">
+        <div class="content_box">
+            <div id="testBox" class="text-font">1</div>
+        </div>
+    </div>
+    <div data-role="footer" data-position="fixed">
+      <div data-role="controlgroup" data-type="horizontal">
+        <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+        <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+        <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+        <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+      </div>
+    </div>
+    <div data-role="popup" id="popup_info">
+        <p>The test verifies that the CSS Animation and Transistion are supported.</p>
+        <p>1. The animation element is moving in the blue box</p>
+        <p>2. The background of the element is changing in the order of red-green-blue very time</p>
+        <p>3. The counter in the element will record the times of the element moves</p>
+        <p>4. The shape of the element is changing when moving to right</p>
+        <p>Test passes if the counter in the element is 10 when stop moving</p>
+    </div>
+  </body>
 </html>
diff --git a/tests/CSSStyle/CSSStyle.html b/tests/CSSStyle/CSSStyle.html
deleted file mode 100644 (file)
index 5d30900..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Cui, Jieqiong <jieqiongx.cui@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>CSSStyle</title>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <link rel="stylesheet" type="text/css" href="css/style.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-    <script src="js/main.js"></script>
-  </head>
-  <body>
-    <div data-role="header">
-      <h1 id="main_page_title">CSS Style</h1>
-    </div>
-    <div data-role="content">
-        <div id="text-div">
-          <div id="p">
-            This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
-            <h3 id="h">column span</h3>
-            On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport.
-          </div>
-        </div>
-        <div data-role="controlgroup" data-type="horizontal">
-            <label for="slider-1">Mulcolumn:</label>
-            <a id="on" data-role="button">On</a>
-            <a id="off" data-role="button">Off</a>
-        </div>
-        <div data-role="controlgroup">
-            <label for="slider-1">Transparency:</label>
-            <input name="slider-1" id="slider-1" min="0" max="1" step=".01" value="1" data-highlight="true" data-show-value="true" type="range">
-        </div>
-        <div data-role="controlgroup" data-type="horizontal">
-            <label for="slider-1">Font Color:</label>
-            <a id="red" data-role="button" data-highlight="true">red</a>
-            <a id="green" data-role="button">green</a>
-            <a id="blue" data-role="button">blue</a>
-        </div>
-        <div data-role="controlgroup" data-type="horizontal">
-            <label for="slider-1">Text Align:</label>
-            <a id="left" data-role="button">left</a>
-            <a id="right" data-role="button">right</a>
-        </div>
-        <div data-role="controlgroup" data-type="horizontal">
-            <label for="slider-1">Text Transform:</label>
-            <a id="upper" data-role="button">uppercase</a>
-            <a id="lower" data-role="button">lowercase</a>
-        </div>
-        <div data-role="controlgroup" data-type="horizontal">
-            <label for="slider-1">Text Shadow:</label>
-            <a id="shadow1" data-role="button">shadow1</a>
-            <a id="shadow2" data-role="button">shadow2</a>
-        </div>
-    </div>
-    <div data-role="footer" data-position="fixed">
-      <div data-role="controlgroup" data-type="horizontal">
-        <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-        <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-        <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-        <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-      </div>
-    </div>
-    <div data-role="popup" id="popup_info">
-        <p>The test verifies that css style have been applied normally</p>
-        <p>There is a white background box with green dotted border. It contains three lines of text, and "column span" have different font family with other text.</p>
-        <p>Multicolumn: the content text can be splited into multi columns("column span" cannot be splited in columns)</p>
-        <p>Opacity: change the content text opacity</p>
-        <p>Color: change the content text color</p>
-        <p>Text Align: the content text will align to left or right</p>
-        <p>Text Transform: transform the content text to uppercase or lowercase(In uppercase state, there will be strange shape in the "column span")</p>
-        <p>Text Shadow: apply two different shadow styles in the content text</p>
-    </div>
-  </body>
-</html>
index 7f50334..5d30900 100644 (file)
@@ -31,10 +31,77 @@ Authors:
 -->
 
 <html>
-    <head>
-        <title>CSSStyle</title>
-        <meta http-equiv="REFRESH" content="0;url=CSSStyle.html">
-    </head>
-    <body>
-    </body>
+  <head>
+    <title>CSSStyle</title>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <link rel="stylesheet" type="text/css" href="css/style.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
+    <script src="js/main.js"></script>
+  </head>
+  <body>
+    <div data-role="header">
+      <h1 id="main_page_title">CSS Style</h1>
+    </div>
+    <div data-role="content">
+        <div id="text-div">
+          <div id="p">
+            This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
+            <h3 id="h">column span</h3>
+            On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport.
+          </div>
+        </div>
+        <div data-role="controlgroup" data-type="horizontal">
+            <label for="slider-1">Mulcolumn:</label>
+            <a id="on" data-role="button">On</a>
+            <a id="off" data-role="button">Off</a>
+        </div>
+        <div data-role="controlgroup">
+            <label for="slider-1">Transparency:</label>
+            <input name="slider-1" id="slider-1" min="0" max="1" step=".01" value="1" data-highlight="true" data-show-value="true" type="range">
+        </div>
+        <div data-role="controlgroup" data-type="horizontal">
+            <label for="slider-1">Font Color:</label>
+            <a id="red" data-role="button" data-highlight="true">red</a>
+            <a id="green" data-role="button">green</a>
+            <a id="blue" data-role="button">blue</a>
+        </div>
+        <div data-role="controlgroup" data-type="horizontal">
+            <label for="slider-1">Text Align:</label>
+            <a id="left" data-role="button">left</a>
+            <a id="right" data-role="button">right</a>
+        </div>
+        <div data-role="controlgroup" data-type="horizontal">
+            <label for="slider-1">Text Transform:</label>
+            <a id="upper" data-role="button">uppercase</a>
+            <a id="lower" data-role="button">lowercase</a>
+        </div>
+        <div data-role="controlgroup" data-type="horizontal">
+            <label for="slider-1">Text Shadow:</label>
+            <a id="shadow1" data-role="button">shadow1</a>
+            <a id="shadow2" data-role="button">shadow2</a>
+        </div>
+    </div>
+    <div data-role="footer" data-position="fixed">
+      <div data-role="controlgroup" data-type="horizontal">
+        <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+        <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+        <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+        <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+      </div>
+    </div>
+    <div data-role="popup" id="popup_info">
+        <p>The test verifies that css style have been applied normally</p>
+        <p>There is a white background box with green dotted border. It contains three lines of text, and "column span" have different font family with other text.</p>
+        <p>Multicolumn: the content text can be splited into multi columns("column span" cannot be splited in columns)</p>
+        <p>Opacity: change the content text opacity</p>
+        <p>Color: change the content text color</p>
+        <p>Text Align: the content text will align to left or right</p>
+        <p>Text Transform: transform the content text to uppercase or lowercase(In uppercase state, there will be strange shape in the "column span")</p>
+        <p>Text Shadow: apply two different shadow styles in the content text</p>
+    </div>
+  </body>
 </html>
diff --git a/tests/Camera/Camera.html b/tests/Camera/Camera.html
deleted file mode 100755 (executable)
index 48f4af2..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Xin, liu <xinx.liu@intel.com>
-
--->
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-        <title>Camera</title>
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-        <script src="js/main.js"></script>
-    </head>
-    <body>
-        <div data-role="header">
-            <h1 id="main_page_title">Camera</h1>
-        </div>
-        <div data-role="content">
-            <input type="file" id="files" accept="image/*" capture="camera" style="display:none" />
-            <div align="center">
-              <input id="button" type="button" data-theme="a" data-inline="true" value="take a photo" />
-            </div>
-            <p id="filename"></p>
-        </div>
-        <div id="photoShow" align="center"></div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info">
-            <p>The test verifies that the back-side Camera is supported</p>
-            <p>1. Click the "take a photo" button </p>
-            <p>2. A "Select application" dialog will be popped up, make sure select first 'Camera' option</p>
-            <p>3. A "Set as default" dialog will be poped up, make sure choice "cancel"</p>
-            <p>4. The back-side camera will open, take a photo with different features, then save your photo.</p>
-            <p>Test passes if the back-side camera can be opened and
-               the photo you token is shown(this maybe take some time)</p>
-        </div>
-    </body>
-</html>
index abdf428..48f4af2 100755 (executable)
@@ -26,14 +26,48 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
-        Xin, Liu <xinx.liu@intel.com>
+        Xin, liu <xinx.liu@intel.com>
 
 -->
 <html>
     <head>
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
         <title>Camera</title>
-        <meta http-equiv="REFRESH" content="0;url=Camera.html">
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
+        <script src="js/main.js"></script>
     </head>
     <body>
+        <div data-role="header">
+            <h1 id="main_page_title">Camera</h1>
+        </div>
+        <div data-role="content">
+            <input type="file" id="files" accept="image/*" capture="camera" style="display:none" />
+            <div align="center">
+              <input id="button" type="button" data-theme="a" data-inline="true" value="take a photo" />
+            </div>
+            <p id="filename"></p>
+        </div>
+        <div id="photoShow" align="center"></div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info">
+            <p>The test verifies that the back-side Camera is supported</p>
+            <p>1. Click the "take a photo" button </p>
+            <p>2. A "Select application" dialog will be popped up, make sure select first 'Camera' option</p>
+            <p>3. A "Set as default" dialog will be poped up, make sure choice "cancel"</p>
+            <p>4. The back-side camera will open, take a photo with different features, then save your photo.</p>
+            <p>Test passes if the back-side camera can be opened and
+               the photo you token is shown(this maybe take some time)</p>
+        </div>
     </body>
 </html>
diff --git a/tests/Clipboard/Clipboard.html b/tests/Clipboard/Clipboard.html
deleted file mode 100755 (executable)
index 223975b..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Tan, Shiyou <shiyoux.tan@intel.com>
-
--->
-<html>
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-    <title>Clipboard</title>
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-    <script src="js/main.js"></script>
-  </head>
-  <body>
-    <div data-role="page" id="main">
-      <div data-role="header">
-        <h1 id="main_page_title">Clipboard</h1>
-      </div>
-      <div data-role= "content">
-        <ul data-role="listview">
-          <li>Clipboard Install</li>
-            <li>
-              <div data-role="button" data-theme="a" data-inline="true" id="install">Install</div>
-              <div data-role="button" data-theme="a" data-inline="true" id="launch1">Launch</div>
-          </li>
-        </ul>
-      </div>
-      <div data-role="footer" data-position="fixed">
-        <div data-role="controlgroup" data-type="horizontal">
-            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-      </div>
-      <div data-role="popup" id="popup_info">
-        <p>The test verifies that clipboard can get the copy, cut and paste events</p>
-        <p>1.Click the install button to install the app</p>
-        <p>2.Click the launch button to launch app</p>
-        <p>3.Copy any characters of "COPYME" in app page</p>
-        <p>4.Paste the copied characters to the NO.1 box, the box content will be "COPYME" </p>
-        <p>5.Cut any characters of "COPYME" in NO.1 box</p>
-        <p>4.Paste the cuted characters to the NO.2 box, the box content will be "COPYME"</p>
-      </div>
-    </div>
-  </body>
-</html>
index 89f0a12..223975b 100755 (executable)
@@ -26,15 +26,51 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
+        Tan, Shiyou <shiyoux.tan@intel.com>
 
 -->
 <html>
   <head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
     <title>Clipboard</title>
-    <meta http-equiv="REFRESH" content="0;url=Clipboard.html">
-    <title>Clipboard</title>
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
+    <script src="js/main.js"></script>
   </head>
   <body>
+    <div data-role="page" id="main">
+      <div data-role="header">
+        <h1 id="main_page_title">Clipboard</h1>
+      </div>
+      <div data-role= "content">
+        <ul data-role="listview">
+          <li>Clipboard Install</li>
+            <li>
+              <div data-role="button" data-theme="a" data-inline="true" id="install">Install</div>
+              <div data-role="button" data-theme="a" data-inline="true" id="launch1">Launch</div>
+          </li>
+        </ul>
+      </div>
+      <div data-role="footer" data-position="fixed">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+      </div>
+      <div data-role="popup" id="popup_info">
+        <p>The test verifies that clipboard can get the copy, cut and paste events</p>
+        <p>1.Click the install button to install the app</p>
+        <p>2.Click the launch button to launch app</p>
+        <p>3.Copy any characters of "COPYME" in app page</p>
+        <p>4.Paste the copied characters to the NO.1 box, the box content will be "COPYME" </p>
+        <p>5.Cut any characters of "COPYME" in NO.1 box</p>
+        <p>4.Paste the cuted characters to the NO.2 box, the box content will be "COPYME"</p>
+      </div>
+    </div>
   </body>
 </html>
diff --git a/tests/DataSync/DataSync.html b/tests/DataSync/DataSync.html
deleted file mode 100755 (executable)
index e8ab00c..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>DataSync</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="header" data-position="fixed" data-tap-toggle="false">
-        <h1 id="main_page_title">DataSync</h1>
-    </div>
-    <div id="content">
-        <ul data-role="listview">
-            <li data-role="list-divider">OMA DS(Data Synchronization) Server</li>
-            <li>
-                <input type="url" id="url" value="" />
-            </li>
-            <li data-role="list-divider">OMA DS Server ID</li>
-            <li>
-                <input type="text" id="account" value="" />
-            </li>
-            <li data-role="list-divider">OMA DS Server Password</li>
-            <li>
-                <input type="password" id="passwd" value="" />
-            </li>
-            <li data-role="list-divider">OMA DS Server Connect</li>
-            <li>
-                <div data-role="button" onclick="addProfile();">Add Profile</div>
-            </li>
-            <li data-role="list-divider">Contacts Sync</li>
-            <li>
-                <div data-role="button" onclick="startSync();">Start Sync</div>
-            </li>
-            <li data-role="list-divider">Contacts List</li>
-        </ul>
-        <ul data-role="listview" id="contactsList"></ul>
-    </div>
-    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-        <div data-role="controlgroup" data-type="horizontal">
-            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-    </div>
-    <div data-role="popup" id="popup_info" data-theme="a"> 
-        <p>Check if data is successfully synchronized with an OMA DS server</p><br>
-        <p>Precondition: Pick one in &ltSample OMA DS Server List&gt and add test contacts</p>
-        <p>&ltSample OMA DS Server List&gt</p>
-        <p>- http://my.funambol.com/sync</p>
-        <p>- https://www.everdroid.com/web</p>
-        <p>- OMA DS 1.2 protocol Server</p><br>
-        <p>1. Fill in preset OMA DS Server, ID, Password containing data to sync</p>
-        <p>2. Click Add Profile</p>
-        <p>3. Click Start Sync</p>
-        <p>4. Check the contacts are synchronized with the OMA DS server</p>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 8bebe5f..e8ab00c
@@ -20,9 +20,64 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>DataSync</title>
-<meta http-equiv="REFRESH" content="0;url=DataSync.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="header" data-position="fixed" data-tap-toggle="false">
+        <h1 id="main_page_title">DataSync</h1>
+    </div>
+    <div id="content">
+        <ul data-role="listview">
+            <li data-role="list-divider">OMA DS(Data Synchronization) Server</li>
+            <li>
+                <input type="url" id="url" value="" />
+            </li>
+            <li data-role="list-divider">OMA DS Server ID</li>
+            <li>
+                <input type="text" id="account" value="" />
+            </li>
+            <li data-role="list-divider">OMA DS Server Password</li>
+            <li>
+                <input type="password" id="passwd" value="" />
+            </li>
+            <li data-role="list-divider">OMA DS Server Connect</li>
+            <li>
+                <div data-role="button" onclick="addProfile();">Add Profile</div>
+            </li>
+            <li data-role="list-divider">Contacts Sync</li>
+            <li>
+                <div data-role="button" onclick="startSync();">Start Sync</div>
+            </li>
+            <li data-role="list-divider">Contacts List</li>
+        </ul>
+        <ul data-role="listview" id="contactsList"></ul>
+    </div>
+    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+    </div>
+    <div data-role="popup" id="popup_info" data-theme="a"> 
+        <p>Check if data is successfully synchronized with an OMA DS server</p><br>
+        <p>Precondition: Pick one in &ltSample OMA DS Server List&gt and add test contacts</p>
+        <p>&ltSample OMA DS Server List&gt</p>
+        <p>- http://my.funambol.com/sync</p>
+        <p>- https://www.everdroid.com/web</p>
+        <p>- OMA DS 1.2 protocol Server</p><br>
+        <p>1. Fill in preset OMA DS Server, ID, Password containing data to sync</p>
+        <p>2. Click Add Profile</p>
+        <p>3. Click Start Sync</p>
+        <p>4. Check the contacts are synchronized with the OMA DS server</p>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/Download/Download.html b/tests/Download/Download.html
deleted file mode 100755 (executable)
index 3eb5b63..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Download</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<link rel="stylesheet" type="text/css" href="css/style.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="js/jqueryprogressbar.js" type="text/javascript"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">Download</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview" id="list">
-                <li data-role="list-divider">Download URL</li>
-                <li>
-                    <input type="url" id="url" value="http://download.tizen.org/tct/2_1/webapi-tizen-download-test-image-hq.png" />
-                </li>
-                <li data-role="list-divider">Progress Bar</li>
-                <li>
-                    <div data-role="none" id="progressbar"></div>
-                </li>
-                <li data-role="list-divider">Download</li>
-                <li>
-                    <div data-role="button" id="download">Download</div>
-                    <div data-role="button" id="pause">Pause</div>
-                    <div data-role="button" id="resume">Resume</div>
-                    <div data-role="button" id="cancel">Cancel</div>
-                </li>
-                <li data-role="list-divider">Download folder</li>
-            </ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Download list delete</li>
-                <li>
-                    <div data-role="button" id="delete">Delete all</div>
-                </li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if the file is successfully downloaded</p><br>
-            <p>1. Fill in Download URL field (or use the default)</p>
-            <p>2. Click Download button and check the Progress Bar updated</p>
-            <p>3. Click Cancel, Pause, Download buttons to verify the functionalities</p>
-            <p>4. Check a download directory if the file successfully downloaded</p> 
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 2aba208..3eb5b63
@@ -20,9 +20,63 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>Download</title>
-<meta http-equiv="REFRESH" content="0;url=Download.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<link rel="stylesheet" type="text/css" href="css/style.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="js/jqueryprogressbar.js" type="text/javascript"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">Download</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview" id="list">
+                <li data-role="list-divider">Download URL</li>
+                <li>
+                    <input type="url" id="url" value="http://download.tizen.org/tct/2_1/webapi-tizen-download-test-image-hq.png" />
+                </li>
+                <li data-role="list-divider">Progress Bar</li>
+                <li>
+                    <div data-role="none" id="progressbar"></div>
+                </li>
+                <li data-role="list-divider">Download</li>
+                <li>
+                    <div data-role="button" id="download">Download</div>
+                    <div data-role="button" id="pause">Pause</div>
+                    <div data-role="button" id="resume">Resume</div>
+                    <div data-role="button" id="cancel">Cancel</div>
+                </li>
+                <li data-role="list-divider">Download folder</li>
+            </ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">Download list delete</li>
+                <li>
+                    <div data-role="button" id="delete">Delete all</div>
+                </li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if the file is successfully downloaded</p><br>
+            <p>1. Fill in Download URL field (or use the default)</p>
+            <p>2. Click Download button and check the Progress Bar updated</p>
+            <p>3. Click Cancel, Pause, Download buttons to verify the functionalities</p>
+            <p>4. Check a download directory if the file successfully downloaded</p> 
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/DragandDrop/DragandDrop.html b/tests/DragandDrop/DragandDrop.html
deleted file mode 100644 (file)
index cd315ae..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Tan, Shiyou <shiyoux.tan@intel.com>
-
--->
-<html>
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-    <title>DragandDrop</title>
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-    <script src="js/main.js"></script>
-  </head>
-  <body>
-    <div data-role="page" id="main">
-      <div data-role="header" data-position="fixed" data-tap-toggle="false">
-        <h1 id="main_page_title">DragandDrop</h1>
-      </div>
-      <div id="content">
-        <ul data-role="listview">
-          <li>DragDrop Install</li>
-          <li>
-            <div data-role="button" data-theme="a" data-inline="true" id="install">Install</div>
-            <div data-role="button" data-theme="a" data-inline="true" id="launch1">Launch</div>
-          </li>
-        </ul>
-      </div>
-      <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-        <div data-role="controlgroup" data-type="horizontal">
-          <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-          <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-          <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-          <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-      </div>
-      <div data-role="popup" id="popup_info" data-theme="a">
-        <p>The test verifies that the device supports the drag and drop feature</p>
-        <p>1.Install the dragdrop app</p>
-        <p>2.Launch dragdrop app</p>
-        <p>3.Long click the blue image in app and click Drag option in popup, then an icon likes an hand displayed</p>
-        <p>4.Drag the icon and drop on the blue box, then the blue box will fill in with the blue image</p>
-        <p>4.Click the Exit button to exit app</p>
-      </div>
-    </div>
-  </body>
-</html>
index 2deeeab..cd315ae 100644 (file)
@@ -31,9 +31,45 @@ Authors:
 -->
 <html>
   <head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
     <title>DragandDrop</title>
-    <meta http-equiv="REFRESH" content="0;url=DragandDrop.html">
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
+    <script src="js/main.js"></script>
   </head>
   <body>
+    <div data-role="page" id="main">
+      <div data-role="header" data-position="fixed" data-tap-toggle="false">
+        <h1 id="main_page_title">DragandDrop</h1>
+      </div>
+      <div id="content">
+        <ul data-role="listview">
+          <li>DragDrop Install</li>
+          <li>
+            <div data-role="button" data-theme="a" data-inline="true" id="install">Install</div>
+            <div data-role="button" data-theme="a" data-inline="true" id="launch1">Launch</div>
+          </li>
+        </ul>
+      </div>
+      <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+        <div data-role="controlgroup" data-type="horizontal">
+          <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+          <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+          <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+          <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+      </div>
+      <div data-role="popup" id="popup_info" data-theme="a">
+        <p>The test verifies that the device supports the drag and drop feature</p>
+        <p>1.Install the dragdrop app</p>
+        <p>2.Launch dragdrop app</p>
+        <p>3.Long click the blue image in app and click Drag option in popup, then an icon likes an hand displayed</p>
+        <p>4.Drag the icon and drop on the blue box, then the blue box will fill in with the blue image</p>
+        <p>4.Click the Exit button to exit app</p>
+      </div>
+    </div>
   </body>
 </html>
diff --git a/tests/FileReader/FileReader.html b/tests/FileReader/FileReader.html
deleted file mode 100644 (file)
index de85d99..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Li,Hao <haox.li@intel.com>
-
--->
-
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-        <title>FileReader</title>
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <link rel="stylesheet" type="text/css" href="css/style.css" />
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-        <script src="js/main.js"></script>
-    </head>
-    <body>
-        <div data-role="header">
-            <h1 id="main_page_title">FileReader</h1>
-        </div>
-        <div data-role="content">
-            <a href="#" id="uploadButton" data-role="button" data-theme="a" data-inline="true">Open files</a>
-            <input id="fileUpload" type="file" multiple size="80" onchange="getFileList()" hidden/>
-            <div id="messageInfo"></div>
-            <table id="filesList" border="1" width="90%" align="center" hidden></table>
-            <div id="filePreview"></div>
-        </div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info">
-            <p>The test verifies that the Storage FileReader can work normally.</p>
-            <p>1. Click "Open files" to open the file selector dialog.</p>
-            <p>2. Select one or more files.</p>
-            <p>3. It will show the uploaded file number and files list which contains file name and file size.</p>
-            <p>4. Click the file name link, the content of the file will display(now only can view image and text file)</p>
-            <p>Test passes if the files information display correctly.</p>
-        </div>
-    </body>
-</html>
old mode 100755 (executable)
new mode 100644 (file)
index ef76ff5..de85d99
@@ -29,11 +29,45 @@ Authors:
         Li,Hao <haox.li@intel.com>
 
 -->
+
 <html>
     <head>
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
         <title>FileReader</title>
-        <meta http-equiv="REFRESH" content="0;url=FileReader.html">
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <link rel="stylesheet" type="text/css" href="css/style.css" />
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
+        <script src="js/main.js"></script>
     </head>
     <body>
+        <div data-role="header">
+            <h1 id="main_page_title">FileReader</h1>
+        </div>
+        <div data-role="content">
+            <a href="#" id="uploadButton" data-role="button" data-theme="a" data-inline="true">Open files</a>
+            <input id="fileUpload" type="file" multiple size="80" onchange="getFileList()" hidden/>
+            <div id="messageInfo"></div>
+            <table id="filesList" border="1" width="90%" align="center" hidden></table>
+            <div id="filePreview"></div>
+        </div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info">
+            <p>The test verifies that the Storage FileReader can work normally.</p>
+            <p>1. Click "Open files" to open the file selector dialog.</p>
+            <p>2. Select one or more files.</p>
+            <p>3. It will show the uploaded file number and files list which contains file name and file size.</p>
+            <p>4. Click the file name link, the content of the file will display(now only can view image and text file)</p>
+            <p>Test passes if the files information display correctly.</p>
+        </div>
     </body>
 </html>
diff --git a/tests/FullScreen/FullScreen.html b/tests/FullScreen/FullScreen.html
deleted file mode 100755 (executable)
index 7caac4b..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Tan, Shiyou <shiyoux.tan@intel.com>
-
--->
-
-<html>
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-    <title>FullScreen</title>
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-    <script src="js/main.js"></script>
-    <style>
-        div:full-screen {
-            opacity: 0;
-        }
-        div:-webkit-full-screen {
-            opacity: 0;
-        }
-        :full-screen-ancestor {
-            opacity: 1;
-            background: green;
-        }
-        :-webkit-full-screen-ancestor {
-            background: green;
-        }
-    </style>
-  </head>
-  <body>
-    <div data-role="header">
-      <h1 id="main_page_title">FullScreen</h1>
-    </div>
-    <div data-role= "content">
-      <div>
-        <div align="center"><a id="requestFullScreen" data-role="button" data-theme="a" data-inline="true">requestFullScreen</a>
-          <a id="cancelFullScreen" data-role="button" data-theme="a" data-inline="true" style="display: none">cancelFullScreen</a></div>
-        <div align="center"><a id="cssFullScreen" data-role="button" data-theme="a" data-inline="true">cssFullScreen</a>
-          <a id="cancelCssFullScreen" data-role="button" data-theme="a" data-inline="true" style="display: none">cancelCssFullScreen</a></div>
-      </div>
-    </div>
-    <div data-role="footer" data-position="fixed">
-        <div data-role="controlgroup" data-type="horizontal">
-            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-    </div>
-    <div data-role="popup" id="popup_info">
-      <p>The test verifies the full screen feature</p>
-      <p>1.Click requestFullScreen button, the screen is in full screen mode</p>
-      <p>2.Click cancelFullScreen button, the screen is back to normal state</p>
-      <p>3.Click cssFullScreen button, the screen is in full screen mode and background color is green</p>
-      <p>4.Click cancelCssFullScreen button, the screen is back to normal state</p>
-    </div>
-  </body>
-  </body>
-</html>
index a4b62f0..7caac4b 100755 (executable)
@@ -32,10 +32,57 @@ Authors:
 
 <html>
   <head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
     <title>FullScreen</title>
-    <meta http-equiv="REFRESH" content="0;url=FullScreen.html">
-    <title>FullScreen</title>
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
+    <script src="js/main.js"></script>
+    <style>
+        div:full-screen {
+            opacity: 0;
+        }
+        div:-webkit-full-screen {
+            opacity: 0;
+        }
+        :full-screen-ancestor {
+            opacity: 1;
+            background: green;
+        }
+        :-webkit-full-screen-ancestor {
+            background: green;
+        }
+    </style>
   </head>
   <body>
+    <div data-role="header">
+      <h1 id="main_page_title">FullScreen</h1>
+    </div>
+    <div data-role= "content">
+      <div>
+        <div align="center"><a id="requestFullScreen" data-role="button" data-theme="a" data-inline="true">requestFullScreen</a>
+          <a id="cancelFullScreen" data-role="button" data-theme="a" data-inline="true" style="display: none">cancelFullScreen</a></div>
+        <div align="center"><a id="cssFullScreen" data-role="button" data-theme="a" data-inline="true">cssFullScreen</a>
+          <a id="cancelCssFullScreen" data-role="button" data-theme="a" data-inline="true" style="display: none">cancelCssFullScreen</a></div>
+      </div>
+    </div>
+    <div data-role="footer" data-position="fixed">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+    </div>
+    <div data-role="popup" id="popup_info">
+      <p>The test verifies the full screen feature</p>
+      <p>1.Click requestFullScreen button, the screen is in full screen mode</p>
+      <p>2.Click cancelFullScreen button, the screen is back to normal state</p>
+      <p>3.Click cssFullScreen button, the screen is in full screen mode and background color is green</p>
+      <p>4.Click cancelCssFullScreen button, the screen is back to normal state</p>
+    </div>
+  </body>
   </body>
 </html>
diff --git a/tests/HybridApplication/HybridApplication.html b/tests/HybridApplication/HybridApplication.html
deleted file mode 100755 (executable)
index 7091b3f..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>HybridApplication</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">HybridApplication</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li>HybridApplication Install</li>
-                <li>
-                    <div data-role="button" data-theme="a" data-inline="true" id="install">Install</div>
-                    <div data-role="button" data-theme="a" data-inline="true" id="launch1">Launch</div>
-                </li>
-                <li>HybridApplication Update</li>
-                <li>
-                    <div data-role="button" data-theme="a" data-inline="true" id="update">Update</div>
-                    <div data-role="button" data-theme="a" data-inline="true" id="launch2">Launch</div>
-                </li>
-                <li>HybridApplication UnInstall</li>
-                <li>
-                    <div data-role="button" data-theme="a" data-inline="true" id="uninstall">UnInstall</div>
-                    <div data-role="button" data-theme="a" data-inline="true" id="launch3">Try to Launch</div>
-                </li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if HybridApplication is successfully installed, updated and uninstalled</p><br>
-            <p>1. Install HybridApplication</p>
-            <p>2. Launch HybridApplication</p>
-            <p>3. Check if HybridApplication is launched successfully</p>
-            <p>4. Click if HybridApplication is running smoothly</p>
-            <p>5. Click 'START' button, HybridApplication receives messages: "timer expired"</p>
-            <p>6. Click 'STOP' button, HybridApplication stops receiving messages</p>
-            <p>7. Click 'CLEAR' button, HybridApplication clears all messages</p>
-            <p>8. Click return button</p>
-            <p>9. Update HybridApplication</p>
-            <p>10. Launch HybridApplication</p>
-            <p>11. Check if HybridApplication is updated and launched successfully</p>
-            <p>12. Cilck 'START' button, HybridApplication receives messages: "new timer expired"</p>
-            <p>13. Click 'STOP' button, HybridApplication stops receiving messages</p>
-            <p>14. Click 'CLEAR' button, HybridApplication clears all messages</p>
-            <p>15. Click return button</p>
-            <p>16. Uninstall HybridApplication</p>
-            <p>17. Launch HybridApplication and check it fails</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 1d1b1ba..7091b3f
@@ -31,9 +31,67 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>HybridApplication</title>
-<meta http-equiv="REFRESH" content="0;url=HybridApplication.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">HybridApplication</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview">
+                <li>HybridApplication Install</li>
+                <li>
+                    <div data-role="button" data-theme="a" data-inline="true" id="install">Install</div>
+                    <div data-role="button" data-theme="a" data-inline="true" id="launch1">Launch</div>
+                </li>
+                <li>HybridApplication Update</li>
+                <li>
+                    <div data-role="button" data-theme="a" data-inline="true" id="update">Update</div>
+                    <div data-role="button" data-theme="a" data-inline="true" id="launch2">Launch</div>
+                </li>
+                <li>HybridApplication UnInstall</li>
+                <li>
+                    <div data-role="button" data-theme="a" data-inline="true" id="uninstall">UnInstall</div>
+                    <div data-role="button" data-theme="a" data-inline="true" id="launch3">Try to Launch</div>
+                </li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if HybridApplication is successfully installed, updated and uninstalled</p><br>
+            <p>1. Install HybridApplication</p>
+            <p>2. Launch HybridApplication</p>
+            <p>3. Check if HybridApplication is launched successfully</p>
+            <p>4. Click if HybridApplication is running smoothly</p>
+            <p>5. Click 'START' button, HybridApplication receives messages: "timer expired"</p>
+            <p>6. Click 'STOP' button, HybridApplication stops receiving messages</p>
+            <p>7. Click 'CLEAR' button, HybridApplication clears all messages</p>
+            <p>8. Click return button</p>
+            <p>9. Update HybridApplication</p>
+            <p>10. Launch HybridApplication</p>
+            <p>11. Check if HybridApplication is updated and launched successfully</p>
+            <p>12. Cilck 'START' button, HybridApplication receives messages: "new timer expired"</p>
+            <p>13. Click 'STOP' button, HybridApplication stops receiving messages</p>
+            <p>14. Click 'CLEAR' button, HybridApplication clears all messages</p>
+            <p>15. Click return button</p>
+            <p>16. Uninstall HybridApplication</p>
+            <p>17. Launch HybridApplication and check it fails</p>
+        </div>
+    </div>
 </body>
 </html>
diff --git a/tests/LocationGPS/LocationGPS.html b/tests/LocationGPS/LocationGPS.html
deleted file mode 100755 (executable)
index ed14b1f..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Xin, Liu <xinx.liu@intel.com>
-
--->
-
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-        <title>LocationGPS</title>
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <link rel="stylesheet" type="text/css" href="css/style.css"/>
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-        <script src="js/main.js"></script>
-    </head>
-    <body onload="initialize()">
-        <div data-role="header">
-            <h1>LocationGPS</h1>
-        </div>
-        <div data-role="content">
-            <p>Make sure GPS is enabled.</p>
-            <div class="position_font">
-                My position
-            </div>
-            <div id="latitudeDiv" class="attribute_show">
-               Latitude:
-            </div>
-            <div id="longitudeDiv" class="attribute_show">
-               Longitude:
-            </div>
-            <div id="errormessage"></div>
-        </div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info">
-            <p>The test verifies that the device supports GPS based location feature</p>
-            <p>Open the device GPS setting and allow the application requests your current location,
-               latitude and longitude will be got in My position and refreshed when the device position changed</p>
-            <p>Test passes if latitude and longitude can be got correctly</p>
-        </div>
-    </body>
-</html>
index 1245f96..ed14b1f 100755 (executable)
@@ -29,11 +29,49 @@ Authors:
         Xin, Liu <xinx.liu@intel.com>
 
 -->
+
 <html>
     <head>
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
         <title>LocationGPS</title>
-        <meta http-equiv="REFRESH" content="0;url=LocationGPS.html">
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <link rel="stylesheet" type="text/css" href="css/style.css"/>
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
+        <script src="js/main.js"></script>
     </head>
-    <body>
+    <body onload="initialize()">
+        <div data-role="header">
+            <h1>LocationGPS</h1>
+        </div>
+        <div data-role="content">
+            <p>Make sure GPS is enabled.</p>
+            <div class="position_font">
+                My position
+            </div>
+            <div id="latitudeDiv" class="attribute_show">
+               Latitude:
+            </div>
+            <div id="longitudeDiv" class="attribute_show">
+               Longitude:
+            </div>
+            <div id="errormessage"></div>
+        </div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info">
+            <p>The test verifies that the device supports GPS based location feature</p>
+            <p>Open the device GPS setting and allow the application requests your current location,
+               latitude and longitude will be got in My position and refreshed when the device position changed</p>
+            <p>Test passes if latitude and longitude can be got correctly</p>
+        </div>
     </body>
 </html>
diff --git a/tests/LocationNetwork/LocationNetwork.html b/tests/LocationNetwork/LocationNetwork.html
deleted file mode 100755 (executable)
index 94fb7b6..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Xinx, liu <xinx.liu@intel.com>
-
--->
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-        <title>LocationNetwork</title>
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <link rel="stylesheet" type="text/css" href="css/style.css"/>
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-        <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
-        <script src="js/main.js"></script>
-    </head>
-    <body onload="initialize()">
-        <div data-role="header">
-            <h1>LocationNetwork</h1>
-        </div>
-        <div data-role="content">
-            <p>Make sure the networking is enabled, and the GPS is disabled.</p>
-            <div id="onLine" class="online_show" style="display:none"></div>
-            <div id="offLine" class="offline_show" style="display:none"></div>
-            <div class="position_font">My position</div>
-            <div id="latitudeDiv" class="attribute_show">Latitude:</div>
-            <div id="longitudeDiv" class="attribute_show">Longitude:</div>
-            <div id="errormessage"></div>
-            <div id="map_canvas"></div>
-        </div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info">
-            <p>The test verifies that the device supports networking based location feature</p>
-            <p>Close the device GPS setting, connect to networking, make sure the device can access internet normally.</p>
-            <p>Will show your network status and the current bandwidth.</p>
-            <p>Allow the application requests your current location, latitude and longitude
-               will be got in My position and shown in maps</p>
-            <p>Test passes if latitude and longitude can be got and shown in maps correctly</p>
-        </div>
-    </body>
-</html>
index e6216d5..94fb7b6 100755 (executable)
@@ -1,9 +1,76 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Xinx, liu <xinx.liu@intel.com>
+
+-->
 <html>
     <head>
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
         <title>LocationNetwork</title>
-        <meta http-equiv="REFRESH" content="0;url=LocationNetwork.html">
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <link rel="stylesheet" type="text/css" href="css/style.css"/>
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
+        <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
+        <script src="js/main.js"></script>
     </head>
-    <body>
+    <body onload="initialize()">
+        <div data-role="header">
+            <h1>LocationNetwork</h1>
+        </div>
+        <div data-role="content">
+            <p>Make sure the networking is enabled, and the GPS is disabled.</p>
+            <div id="onLine" class="online_show" style="display:none"></div>
+            <div id="offLine" class="offline_show" style="display:none"></div>
+            <div class="position_font">My position</div>
+            <div id="latitudeDiv" class="attribute_show">Latitude:</div>
+            <div id="longitudeDiv" class="attribute_show">Longitude:</div>
+            <div id="errormessage"></div>
+            <div id="map_canvas"></div>
+        </div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info">
+            <p>The test verifies that the device supports networking based location feature</p>
+            <p>Close the device GPS setting, connect to networking, make sure the device can access internet normally.</p>
+            <p>Will show your network status and the current bandwidth.</p>
+            <p>Allow the application requests your current location, latitude and longitude
+               will be got in My position and shown in maps</p>
+            <p>Test passes if latitude and longitude can be got and shown in maps correctly</p>
+        </div>
     </body>
 </html>
diff --git a/tests/MediaPlayback/MediaPlayback.html b/tests/MediaPlayback/MediaPlayback.html
deleted file mode 100644 (file)
index 13741a9..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
-
--->
-<html>
-  <head>
-    <title>MediaPlayback</title>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <link rel="stylesheet" type="text/css" href="css/style.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-    <script src="js/main.js"></script>
-  </head>
-  <body>
-    <div data-role="header">
-      <h1 id="main_page_title">MediaPlayback</h1>
-    </div>
-    <div id="content">
-      <div id="contentdiv">
-        <p id="medianame"></p>
-        <video id="MediaPlayback" width="340" height="200" src="" poster="../../res/images/big_buck_bunny.png" controls="controls" loop>Not Support ...</video>
-        <div id="volumediv" data-role="fieldcontain">
-          <label>Volume</label>
-          <input name="slider-1" id="slider-1" min="0" max="1" step="0.01" value="0.60" data-highlight="true" data-show-value="true" type="range">
-        </div>
-      </div>
-      <div id="buttondiv">
-        <a href="javascript:Previous()" id="previous" data-theme="a" data-role="button"  class="ui-btn-right" data-icon="arrow-l" data-iconpos="left" data-inline="true">Prev</a>
-        <a href="javascript:Next()" id="next" data-theme="a" data-role="button" class="ui-btn-right" data-icon="arrow-r" data-iconpos="right" data-inline="true">Next</a>
-      </div>
-    </div>
-    <div data-role="footer" data-position="fixed">
-      <div data-role="controlgroup" data-type="horizontal">
-        <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-        <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-        <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop">Info</a>
-        <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-      </div>
-    </div>
-    <div data-role="popup" id="popup_info">
-        <p>The test verifies that the video is played smoothly, sync with the audio</p>
-        <p>The video can be playback, freely dragged or fullscreen, and the sound can be changes</p>
-        <p>Use 'Prev' and 'Next' to test different type of video's playback</p>
-        <p>Test passes if the three videos can be tested normally</p>
-    </div>
-  </body>
-</html>
index 2656617..13741a9 100644 (file)
@@ -30,10 +30,48 @@ Authors:
 
 -->
 <html>
-    <head>
-        <title>MediaPlayback</title>
-        <meta http-equiv="REFRESH" content="0;url=MediaPlayback.html">
-    </head>
-    <body>
-    </body>
+  <head>
+    <title>MediaPlayback</title>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <link rel="stylesheet" type="text/css" href="css/style.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
+    <script src="js/main.js"></script>
+  </head>
+  <body>
+    <div data-role="header">
+      <h1 id="main_page_title">MediaPlayback</h1>
+    </div>
+    <div id="content">
+      <div id="contentdiv">
+        <p id="medianame"></p>
+        <video id="MediaPlayback" width="340" height="200" src="" poster="../../res/images/big_buck_bunny.png" controls="controls" loop>Not Support ...</video>
+        <div id="volumediv" data-role="fieldcontain">
+          <label>Volume</label>
+          <input name="slider-1" id="slider-1" min="0" max="1" step="0.01" value="0.60" data-highlight="true" data-show-value="true" type="range">
+        </div>
+      </div>
+      <div id="buttondiv">
+        <a href="javascript:Previous()" id="previous" data-theme="a" data-role="button"  class="ui-btn-right" data-icon="arrow-l" data-iconpos="left" data-inline="true">Prev</a>
+        <a href="javascript:Next()" id="next" data-theme="a" data-role="button" class="ui-btn-right" data-icon="arrow-r" data-iconpos="right" data-inline="true">Next</a>
+      </div>
+    </div>
+    <div data-role="footer" data-position="fixed">
+      <div data-role="controlgroup" data-type="horizontal">
+        <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+        <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+        <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop">Info</a>
+        <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+      </div>
+    </div>
+    <div data-role="popup" id="popup_info">
+        <p>The test verifies that the video is played smoothly, sync with the audio</p>
+        <p>The video can be playback, freely dragged or fullscreen, and the sound can be changes</p>
+        <p>Use 'Prev' and 'Next' to test different type of video's playback</p>
+        <p>Test passes if the three videos can be tested normally</p>
+    </div>
+  </body>
 </html>
diff --git a/tests/Messaging(Email)/Messaging(Email).html b/tests/Messaging(Email)/Messaging(Email).html
deleted file mode 100755 (executable)
index dcfbe16..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Messaging</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-<div data-role="page">
-    <div data-role="header" data-position="fixed" data-tap-toggle="false">
-        <h1 id="main_page_title">Messaging(Email)</h1>
-    </div>
-
-    <div id="content">
-        <ul data-role="listview">
-            <!-- <li data-role="list-divider">Email Precondition</li>
-            <li>
-                <div data-role="button" onclick="account();">Email Account Set</div>
-            </li> -->
-            <li data-role="list-divider">Recipient</li>
-            <li>
-                <input id="email" type="email" value="" />
-            </li>
-            <li data-role="list-divider">CC</li>
-            <li>
-                <input id="cc" type="email" value="" />
-            </li>
-            <li data-role="list-divider">BCC</li>
-            <li>
-                <input id="bcc" type="email" value="" />
-            </li>
-            <li data-role="list-divider">Title</li>
-            <li>
-                <input type="text" id="title" value="Behavior_Test E-mail" />
-            </li>
-            <li data-role="list-divider">Email Content</li>
-            <li>
-                <textarea id="emailContent" style="min-height:200px; width:99%;">Behavior_Test_Messaging_Email</textarea>
-            </li>
-            <li data-role="list-divider">Attachments</li>
-            <li>
-                <div data-role="button" id="addAttach">Add attachment</div>
-            </li>
-        </ul>
-        <ul data-role="listview" id="attachmentsList" style="font-size:12pt; word-wrap:break-word;"></ul>
-        <ul data-role="listview">
-            <li data-role="list-divider">Email Send</li>
-            <li>
-                <div data-role="button" id="send">Email Send</div>
-            </li>
-        </ul>
-    </div>
-
-    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-        <div data-role="controlgroup" data-type="horizontal">
-            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-    </div>
-    <div data-role="popup" id="popup_info" data-theme="a">
-        <p>Check if the email is successfully sent</p><br> 
-        <p>1. Fill in Recipient, CC, BCC, Title, Email Content fields</p>
-        <p>2. Select Add attachment and pick an attachment</p>
-        <p>3. Select Email Send</p>
-        <p>4. Check if the email is successfully sent(Check Recipient, CC, BCC accounts to varify the delivery)</p>
-    </div>
-</div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 4c47a8a..dcfbe16
@@ -20,9 +20,76 @@ Authors:
 -->
 <html>
 <head>
-<title>Messaging(Email)</title>
-<meta http-equiv="REFRESH" content="0;url=Messaging(Email).html" />
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
+<title>Messaging</title>
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+<div data-role="page">
+    <div data-role="header" data-position="fixed" data-tap-toggle="false">
+        <h1 id="main_page_title">Messaging(Email)</h1>
+    </div>
+
+    <div id="content">
+        <ul data-role="listview">
+            <!-- <li data-role="list-divider">Email Precondition</li>
+            <li>
+                <div data-role="button" onclick="account();">Email Account Set</div>
+            </li> -->
+            <li data-role="list-divider">Recipient</li>
+            <li>
+                <input id="email" type="email" value="" />
+            </li>
+            <li data-role="list-divider">CC</li>
+            <li>
+                <input id="cc" type="email" value="" />
+            </li>
+            <li data-role="list-divider">BCC</li>
+            <li>
+                <input id="bcc" type="email" value="" />
+            </li>
+            <li data-role="list-divider">Title</li>
+            <li>
+                <input type="text" id="title" value="Behavior_Test E-mail" />
+            </li>
+            <li data-role="list-divider">Email Content</li>
+            <li>
+                <textarea id="emailContent" style="min-height:200px; width:99%;">Behavior_Test_Messaging_Email</textarea>
+            </li>
+            <li data-role="list-divider">Attachments</li>
+            <li>
+                <div data-role="button" id="addAttach">Add attachment</div>
+            </li>
+        </ul>
+        <ul data-role="listview" id="attachmentsList" style="font-size:12pt; word-wrap:break-word;"></ul>
+        <ul data-role="listview">
+            <li data-role="list-divider">Email Send</li>
+            <li>
+                <div data-role="button" id="send">Email Send</div>
+            </li>
+        </ul>
+    </div>
+
+    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+    </div>
+    <div data-role="popup" id="popup_info" data-theme="a">
+        <p>Check if the email is successfully sent</p><br> 
+        <p>1. Fill in Recipient, CC, BCC, Title, Email Content fields</p>
+        <p>2. Select Add attachment and pick an attachment</p>
+        <p>3. Select Email Send</p>
+        <p>4. Check if the email is successfully sent(Check Recipient, CC, BCC accounts to varify the delivery)</p>
+    </div>
+</div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/Messaging(SMS.MMS)/Messaging(SMS.MMS).html b/tests/Messaging(SMS.MMS)/Messaging(SMS.MMS).html
deleted file mode 100755 (executable)
index 879f521..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Messaging</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">Messaging<br>(SMS/MMS)</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview" id="list">
-                <li data-role="list-divider">Chatter(Sample Web Application)</li>
-                <li data-role="list-divider">Chatter Install & Launch</li>
-                <li><div data-role="button" id="chatterInstall">Chatter Install</div></li>
-                <li><div data-role="button" id="chatterLaunch">Chatter Launch</div></li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if SMS/MMS is sent properly</p><br>
-            <p>1. Install Chatter</p>
-            <p>2. Launch Chatter</p> 
-            <p>3. Check if a chat with another device successfully functioning</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 44b8ab2..879f521
@@ -20,9 +20,42 @@ Authors:
 -->
 <html>
 <head>
-<title>Messaging(SMS/MMS)</title>
-<meta http-equiv="REFRESH" content="0;url=Messaging(SMS.MMS).html" />
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
+<title>Messaging</title>
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">Messaging<br>(SMS/MMS)</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview" id="list">
+                <li data-role="list-divider">Chatter(Sample Web Application)</li>
+                <li data-role="list-divider">Chatter Install & Launch</li>
+                <li><div data-role="button" id="chatterInstall">Chatter Install</div></li>
+                <li><div data-role="button" id="chatterLaunch">Chatter Launch</div></li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if SMS/MMS is sent properly</p><br>
+            <p>1. Install Chatter</p>
+            <p>2. Launch Chatter</p> 
+            <p>3. Check if a chat with another device successfully functioning</p>
+        </div>
+    </div>
 </body>
 </html>
diff --git a/tests/Microphone/Microphone.html b/tests/Microphone/Microphone.html
deleted file mode 100755 (executable)
index d4fd4a3..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
-
--->
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-        <title>Microphone</title>
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-        <script src="js/main.js"></script>
-    </head>
-    <body>
-        <div data-role="header">
-            <h1 id="main_page_title">Microphone</h1>
-        </div>
-        <div data-role="content">
-            <p>Make sure a headset microphone is inserted</p>
-            <input type="file" id="files" accept="audio/*" capture="microphone" style="display:none">
-            <input id="button" type="button" data-inline="true" value="start recording" />
-            <p id="filename">No audio chose.</p>
-        </div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>This test verifiers that the device supports microphone.</p>
-            <p>Click the "start recording" button to open the voice recorder,
-               use a headset microphone to record a clip, then save your voice</p>
-            <p>Test passes if the voice can be recorded correctly</p>
-        </div>
-    </body>
-</html>
index 996f934..d4fd4a3 100755 (executable)
@@ -31,9 +31,38 @@ Authors:
 -->
 <html>
     <head>
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
         <title>Microphone</title>
-        <meta http-equiv="REFRESH" content="0;url=Microphone.html">
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
+        <script src="js/main.js"></script>
     </head>
     <body>
+        <div data-role="header">
+            <h1 id="main_page_title">Microphone</h1>
+        </div>
+        <div data-role="content">
+            <p>Make sure a headset microphone is inserted</p>
+            <input type="file" id="files" accept="audio/*" capture="microphone" style="display:none">
+            <input id="button" type="button" data-inline="true" value="start recording" />
+            <p id="filename">No audio chose.</p>
+        </div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>This test verifiers that the device supports microphone.</p>
+            <p>Click the "start recording" button to open the voice recorder,
+               use a headset microphone to record a clip, then save your voice</p>
+            <p>Test passes if the voice can be recorded correctly</p>
+        </div>
     </body>
 </html>
diff --git a/tests/NFC/NFC.html b/tests/NFC/NFC.html
deleted file mode 100644 (file)
index 82bfeae..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>NFC</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">NFC</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview" id="list">
-                <li data-role="list-divider">ContactsExchanger(Sample Web Application)</li>
-                <li data-role="list-divider">ContactsExchanger Install & Launch</li>
-                <li><div data-role="button" id="contactsExchangerInstall">ContactsExchanger Install</div></li>
-                <li><div data-role="button" id="contactsExchangerLaunch">ContactsExchanger Launch</div></li>
-                <li data-role="list-divider">Create Contacts</li>
-                <li><div data-role="button" id="addContact">Add contacts</div></li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check NFC communication</p><br>
-            <p>1. Install ContactsExchanger</p>
-            <p>2. Click the Add contacts button</p>
-            <p>3. Launch ContactsExchanger</p>
-            <p>4. Install and launch ContactExchanger on the other device</p>
-            <p>5. Check if contacts are exchanged successfully</p>
-        </div>
-    </div>
-</body>
-</html>
index 8578706..82bfeae 100644 (file)
@@ -20,9 +20,46 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>NFC</title>
-<meta http-equiv="REFRESH" content="0;url=NFC.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">NFC</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview" id="list">
+                <li data-role="list-divider">ContactsExchanger(Sample Web Application)</li>
+                <li data-role="list-divider">ContactsExchanger Install & Launch</li>
+                <li><div data-role="button" id="contactsExchangerInstall">ContactsExchanger Install</div></li>
+                <li><div data-role="button" id="contactsExchangerLaunch">ContactsExchanger Launch</div></li>
+                <li data-role="list-divider">Create Contacts</li>
+                <li><div data-role="button" id="addContact">Add contacts</div></li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check NFC communication</p><br>
+            <p>1. Install ContactsExchanger</p>
+            <p>2. Click the Add contacts button</p>
+            <p>3. Launch ContactsExchanger</p>
+            <p>4. Install and launch ContactExchanger on the other device</p>
+            <p>5. Check if contacts are exchanged successfully</p>
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/Notification/Notification.html b/tests/Notification/Notification.html
deleted file mode 100644 (file)
index cda48a4..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Notification</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">Notification</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li data-role="list-divider">NotificationTest Install</li>
-                <li>
-                    <div data-role="button" id="install">NotificationTest Install</div>
-                </li>
-            </ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Notification Add</li>
-                <li>
-                    <div data-role="button" id="noti-type-simple">SIMPLE Notification</div>
-                </li>
-                <li>
-                    <div data-role="button" id="noti-type-ongoing">ONGOING Notification</div>
-                </li>
-                <li>
-                    <div data-role="button" id="noti-type-progress">PROGRESS Notification</div>
-                </li>
-                <li>
-                    <div data-role="button" id="noti-type-thumbnail">THUMBNAIL Notification</div>
-                </li>
-                <li data-role="list-divider">Notification List</li>
-            </ul>
-            <ul data-role="listview" id="noti-list"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Notification Delete</li>
-                <li>
-                    <div data-role="button" id="delete-all">Delete All</div>
-                </li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if a notification is successfully posted</p><br>
-            <p># Simple Notification</p>
-            <p>1. Install NotificationTest</p>
-            <p>(This application is used to verify AppControl in Notification.)</p>
-            <p>2. Click SIMPLE Notification</p>
-            <p>3. Check notification tray if a simple notification is posted</p>
-            <p>4. Clicks the simple notification and check if a NotificationTest application is launched</p>
-            <p>5. In the mean time, check if the notification is disappeared</p><br>
-            <p># Ongoing Notification</p>
-            <p>1. Click ONGOING Notification</p>
-            <p>2. Check notification tray if a ongoing notification is posted</p>
-            <p>3. Clicks the ongoing notification and check if it is NOT disappeared</p>
-            <p>4. Remove the ongoing notification by clicking Delete in the Notification List</p><br>
-            <p># Progress Notification</p>
-            <p>1. Click PROGRESS Notification</p>
-            <p>2. Check notification tray if a progress notification is posted</p>
-            <p>(The progress notification shows a bar that shows the current progress)</p>
-            <p>3. Clicks the progress notification and check if it is NOT disappeared</p>
-            <p>4. Remove the progress notification by clicking Delete in the Notification List</p><br>
-            <p># Thumbnail Notification</p>
-            <p>1. Click THUMBNAIL Notification</p>
-            <p>2. Check notification tray if a thumbnail notification is posted</p>
-            <p>3. Clicks the thumbnail notification and check if it is disappeared</p>
-        </div>
-    </div>
-</body>
-</html>
index a526f68..cda48a4 100644 (file)
@@ -20,9 +20,84 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>Notification</title>
-<meta http-equiv="REFRESH" content="0;url=Notification.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">Notification</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview">
+                <li data-role="list-divider">NotificationTest Install</li>
+                <li>
+                    <div data-role="button" id="install">NotificationTest Install</div>
+                </li>
+            </ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">Notification Add</li>
+                <li>
+                    <div data-role="button" id="noti-type-simple">SIMPLE Notification</div>
+                </li>
+                <li>
+                    <div data-role="button" id="noti-type-ongoing">ONGOING Notification</div>
+                </li>
+                <li>
+                    <div data-role="button" id="noti-type-progress">PROGRESS Notification</div>
+                </li>
+                <li>
+                    <div data-role="button" id="noti-type-thumbnail">THUMBNAIL Notification</div>
+                </li>
+                <li data-role="list-divider">Notification List</li>
+            </ul>
+            <ul data-role="listview" id="noti-list"></ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">Notification Delete</li>
+                <li>
+                    <div data-role="button" id="delete-all">Delete All</div>
+                </li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if a notification is successfully posted</p><br>
+            <p># Simple Notification</p>
+            <p>1. Install NotificationTest</p>
+            <p>(This application is used to verify AppControl in Notification.)</p>
+            <p>2. Click SIMPLE Notification</p>
+            <p>3. Check notification tray if a simple notification is posted</p>
+            <p>4. Clicks the simple notification and check if a NotificationTest application is launched</p>
+            <p>5. In the mean time, check if the notification is disappeared</p><br>
+            <p># Ongoing Notification</p>
+            <p>1. Click ONGOING Notification</p>
+            <p>2. Check notification tray if a ongoing notification is posted</p>
+            <p>3. Clicks the ongoing notification and check if it is NOT disappeared</p>
+            <p>4. Remove the ongoing notification by clicking Delete in the Notification List</p><br>
+            <p># Progress Notification</p>
+            <p>1. Click PROGRESS Notification</p>
+            <p>2. Check notification tray if a progress notification is posted</p>
+            <p>(The progress notification shows a bar that shows the current progress)</p>
+            <p>3. Clicks the progress notification and check if it is NOT disappeared</p>
+            <p>4. Remove the progress notification by clicking Delete in the Notification List</p><br>
+            <p># Thumbnail Notification</p>
+            <p>1. Click THUMBNAIL Notification</p>
+            <p>2. Check notification tray if a thumbnail notification is posted</p>
+            <p>3. Clicks the thumbnail notification and check if it is disappeared</p>
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/Package/Package.html b/tests/Package/Package.html
deleted file mode 100755 (executable)
index 2b42702..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Package</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">Package</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li data-role="list-divider">Package Install</li>
-                <li>
-                    <div data-role="button" id="install">Install</div>
-                </li>
-                <li data-role="list-divider">TestPackage Application Launch</li>
-                <li>
-                    <div data-role="button" id="launch1">Launch</div>
-                </li>
-                <li data-role="list-divider">Package Update</li>
-                <li>
-                    <div data-role="button" id="update">Update</div>
-                </li>
-                <li data-role="list-divider">TestPackage Application Launch</li>
-                <li>
-                    <div data-role="button" id="launch2">Launch</div>
-                </li>
-                <li data-role="list-divider">Package UnInstall</li>
-                <li>
-                    <div data-role="button" id="uninstall">UnInstall</div>
-                </li>
-                <li data-role="list-divider">TestPackage Application Launch</li>
-                <li>
-                    <div data-role="button" id="launch3">Launch</div>
-                </li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if Package is successfully installed, updated and uninstalled</p><br>
-            <p>1. Install TestPackage1</p>
-            <p>2. Launch TestPackage1</p>
-            <p>3. Check if TestPackage is launched successfully</p>
-            <p>4. Automatically write the text('Package_Test') and click the OK button</p>
-            <p>5. Check the PASS text
-            <p>6. Update TestPackage2</p>
-            <p>7. Launch TestPackage2</p>
-            <p>8. Check if TestPackage is updated and launched successfully</p>
-            <p>9. Automatically read the text('Package_Test') and click the OK button</p>
-            <p>10. Check the PASS text
-            <p>11. Uninstall TestPackage</p>
-            <p>12. Launch TestPackage and check it fails</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 41af94e..2b42702
@@ -20,9 +20,71 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>Package</title>
-<meta http-equiv="REFRESH" content="0;url=Package.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">Package</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview">
+                <li data-role="list-divider">Package Install</li>
+                <li>
+                    <div data-role="button" id="install">Install</div>
+                </li>
+                <li data-role="list-divider">TestPackage Application Launch</li>
+                <li>
+                    <div data-role="button" id="launch1">Launch</div>
+                </li>
+                <li data-role="list-divider">Package Update</li>
+                <li>
+                    <div data-role="button" id="update">Update</div>
+                </li>
+                <li data-role="list-divider">TestPackage Application Launch</li>
+                <li>
+                    <div data-role="button" id="launch2">Launch</div>
+                </li>
+                <li data-role="list-divider">Package UnInstall</li>
+                <li>
+                    <div data-role="button" id="uninstall">UnInstall</div>
+                </li>
+                <li data-role="list-divider">TestPackage Application Launch</li>
+                <li>
+                    <div data-role="button" id="launch3">Launch</div>
+                </li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if Package is successfully installed, updated and uninstalled</p><br>
+            <p>1. Install TestPackage1</p>
+            <p>2. Launch TestPackage1</p>
+            <p>3. Check if TestPackage is launched successfully</p>
+            <p>4. Automatically write the text('Package_Test') and click the OK button</p>
+            <p>5. Check the PASS text
+            <p>6. Update TestPackage2</p>
+            <p>7. Launch TestPackage2</p>
+            <p>8. Check if TestPackage is updated and launched successfully</p>
+            <p>9. Automatically read the text('Package_Test') and click the OK button</p>
+            <p>10. Check the PASS text
+            <p>11. Uninstall TestPackage</p>
+            <p>12. Launch TestPackage and check it fails</p>
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/PageVisibility/PageVisibility.html b/tests/PageVisibility/PageVisibility.html
deleted file mode 100755 (executable)
index 91183cc..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Ma, Yue <yuex.ma@intel.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>PageVisibility</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">PageVisibility</h1>
-        </div>
-        <div data-role="content">
-            <div data-role="collapsible-set" data-inset="false" data-collapsed-icon="arrow-r" data-expanded-icon="arrow-d">
-                <div data-role="collapsible" data-collapsed="true">
-                    <h3 id="homeList">Screen-lock State</h3>
-                    <ul data-role="listview" data-inset="false">
-                        <li class="ui-li ui-li-static" id="lock"></li>
-                    </ul>
-                </div>
-                <div data-role="collapsible" data-collapsed="true">
-                    <h3 id="homeList">Screen-unlock State</h3>
-                    <ul data-role="listview" data-inset="false">
-                        <li class="ui-li ui-li-static" id="unlock"></li>
-                    </ul>
-                </div>
-            </div>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Lock the screen.</p>
-            <p>Unlock the screen.</p>
-            <p>Click "Screen-lock State", test passes if visibilitystate is hidden and hidden is true.</p>
-            <p>Click "Screen-unlock State", test passes if visibilitystate is visible and hidden is false.</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index d80139b..91183cc
@@ -1,39 +1,69 @@
 <!DOCTYPE html>
 <!--
-Copyright (c) 2013 Intel Corporation.
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
 
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
+    http://www.apache.org/licenses/LICENSE-2.0
 
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
 
 Authors:
         Ma, Yue <yuex.ma@intel.com>
 
 -->
 <html>
-  <head>
-    <title>PageVisibiliby</title>
-    <meta http-equiv="REFRESH" content="0;url=PageVisibility.html" />
-  </head>
-  <body>
-  </body>
+<head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
+<title>PageVisibility</title>
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
+</head>
+<body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">PageVisibility</h1>
+        </div>
+        <div data-role="content">
+            <div data-role="collapsible-set" data-inset="false" data-collapsed-icon="arrow-r" data-expanded-icon="arrow-d">
+                <div data-role="collapsible" data-collapsed="true">
+                    <h3 id="homeList">Screen-lock State</h3>
+                    <ul data-role="listview" data-inset="false">
+                        <li class="ui-li ui-li-static" id="lock"></li>
+                    </ul>
+                </div>
+                <div data-role="collapsible" data-collapsed="true">
+                    <h3 id="homeList">Screen-unlock State</h3>
+                    <ul data-role="listview" data-inset="false">
+                        <li class="ui-li ui-li-static" id="unlock"></li>
+                    </ul>
+                </div>
+            </div>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Lock the screen.</p>
+            <p>Unlock the screen.</p>
+            <p>Click "Screen-lock State", test passes if visibilitystate is hidden and hidden is true.</p>
+            <p>Click "Screen-unlock State", test passes if visibilitystate is visible and hidden is false.</p>
+        </div>
+    </div>
+</body>
 </html>
diff --git a/tests/Power/Power.html b/tests/Power/Power.html
deleted file mode 100755 (executable)
index 6e397bc..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Power</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="header" data-position="fixed" data-tap-toggle="false">
-        <h1 id="main_page_title">Power</h1>
-    </div>
-    <div id="content">
-        <ul data-role="listview" id="list">
-            <li data-role="list-divider">Request Screen</li>
-            <li>
-                <input type="button" value="Request SCREEN_DIM" onclick="request('SCREEN_DIM');" />
-            </li>
-            <li>
-                <input type="button" value="Request SCREEN_NORMAL" onclick="request('SCREEN_NORMAL');" />
-            </li>
-            <li>
-                <input type="button" value="Request SCREEN_BRIGHT" onclick="request('SCREEN_BRIGHT');" />
-            </li>
-            <li data-role="list-divider">Release Screen</li>
-            <li>
-                <input type="button" value="Release SCREEN" onclick="release();" />
-            </li>
-            <li data-role="list-divider">Turn Off</li>
-            <li>
-                <input type="button" value="Turn SCREEN_OFF" onclick="turnScreenOff();" />
-            </li>
-        </ul>
-    </div>
-    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-        <div data-role="controlgroup" data-type="horizontal">
-            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-    </div>
-    <div data-role="popup" id="popup_info" data-theme="a">
-        <p>Check if the screen status is successfully changed</p>
-        <p>(Note: Response time varies depends on the system setting)</p><br>
-        <p>1. Click Request SCREEN_DIM and check if the screen does not off</p>
-        <p>2. Click Request SCREEN_NORMAL and check if the screen does not dim</p>
-        <p>3. Click Request SCREEN_BRIGHT and check if the screen is full bright</p>
-        <p>4. Click Turn SCREEN_OFF and check the screen is off immediately</p>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 315909c..6e397bc
@@ -20,9 +20,56 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>Power</title>
-<meta http-equiv="REFRESH" content="0;url=Power.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="header" data-position="fixed" data-tap-toggle="false">
+        <h1 id="main_page_title">Power</h1>
+    </div>
+    <div id="content">
+        <ul data-role="listview" id="list">
+            <li data-role="list-divider">Request Screen</li>
+            <li>
+                <input type="button" value="Request SCREEN_DIM" onclick="request('SCREEN_DIM');" />
+            </li>
+            <li>
+                <input type="button" value="Request SCREEN_NORMAL" onclick="request('SCREEN_NORMAL');" />
+            </li>
+            <li>
+                <input type="button" value="Request SCREEN_BRIGHT" onclick="request('SCREEN_BRIGHT');" />
+            </li>
+            <li data-role="list-divider">Release Screen</li>
+            <li>
+                <input type="button" value="Release SCREEN" onclick="release();" />
+            </li>
+            <li data-role="list-divider">Turn Off</li>
+            <li>
+                <input type="button" value="Turn SCREEN_OFF" onclick="turnScreenOff();" />
+            </li>
+        </ul>
+    </div>
+    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+    </div>
+    <div data-role="popup" id="popup_info" data-theme="a">
+        <p>Check if the screen status is successfully changed</p>
+        <p>(Note: Response time varies depends on the system setting)</p><br>
+        <p>1. Click Request SCREEN_DIM and check if the screen does not off</p>
+        <p>2. Click Request SCREEN_NORMAL and check if the screen does not dim</p>
+        <p>3. Click Request SCREEN_BRIGHT and check if the screen is full bright</p>
+        <p>4. Click Turn SCREEN_OFF and check the screen is off immediately</p>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/Push/Push.html b/tests/Push/Push.html
deleted file mode 100755 (executable)
index b9dc67f..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>Push</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">Push</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li data-role="list-divider">PushClient(TestPush) Application Install</li>
-                <li>
-                    <div data-role="button" id="install">PushClient Install</div>
-                </li>
-                <li data-role="list-divider">PushClient(TestPush) Application Launch</li>
-                <li>
-                    <div data-role="button" id="launch">PushClient Launch</div>
-                </li>
-                <li data-role="list-divider">Push Message</li>
-                <li>
-                    <input type="text" id="message" value="Behavior_Test_Push"/>
-                </li>
-                <li data-role="list-divider">Send Message</li>
-                <li>
-                    <div data-role="button" id="push">Push</div>
-                </li>
-            </ul>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if PushClient gets messages from the push server</p><br>
-            <p>1. Install and launch PushClient(TestPush) Application</p>
-            <p>   (Make sure the device is online and the applications shows registration success popup.)
-            <p>2. Press Hide in the PushClient</p>
-            <p>3. Back to this page and fill in a push message and click Push button</p>
-            <p>4. Check PushClient becomes foreground showing PASS text</p>
-            <p>5. Exit PushClient</p>
-            <p>6. Back to this page and fill in another message and click Push button</p>
-            <p>7. Check a notification pops up and PushClient launchs with PASS text when the notification is clicked</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 96bba00..b9dc67f
@@ -20,9 +20,59 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>Push</title>
-<meta http-equiv="REFRESH" content="0;url=Push.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">Push</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview">
+                <li data-role="list-divider">PushClient(TestPush) Application Install</li>
+                <li>
+                    <div data-role="button" id="install">PushClient Install</div>
+                </li>
+                <li data-role="list-divider">PushClient(TestPush) Application Launch</li>
+                <li>
+                    <div data-role="button" id="launch">PushClient Launch</div>
+                </li>
+                <li data-role="list-divider">Push Message</li>
+                <li>
+                    <input type="text" id="message" value="Behavior_Test_Push"/>
+                </li>
+                <li data-role="list-divider">Send Message</li>
+                <li>
+                    <div data-role="button" id="push">Push</div>
+                </li>
+            </ul>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if PushClient gets messages from the push server</p><br>
+            <p>1. Install and launch PushClient(TestPush) Application</p>
+            <p>   (Make sure the device is online and the applications shows registration success popup.)
+            <p>2. Press Hide in the PushClient</p>
+            <p>3. Back to this page and fill in a push message and click Push button</p>
+            <p>4. Check PushClient becomes foreground showing PASS text</p>
+            <p>5. Exit PushClient</p>
+            <p>6. Back to this page and fill in another message and click Push button</p>
+            <p>7. Check a notification pops up and PushClient launchs with PASS text when the notification is clicked</p>
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/SVGTransform/SVGTransform.html b/tests/SVGTransform/SVGTransform.html
deleted file mode 100644 (file)
index 866c2c5..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Cui, Jieqiong <jieqiongx.cui@intel.com>
-
--->
-
-<html>
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-    <title>SVGTransform</title>
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-  </head>
-  <body>
-    <div data-role="header">
-      <h1 id="main_page_title">SVGTransform</h1>
-    </div>
-    <div data-role= "content">
-      <svg width="330" height="500" style="border:1px solid blue">
-        <circle cx="100" cy="50" r="20" fill="blue">
-          <animateTransform attributeName='transform' attributeType='XML' type='rotate' from='180 170 200' to='-360 100 50' dur='10s' additive='sum' fill='freeze' repeatCount='indefinite'/>
-          <animateTransform attributeName='transform' attributeType='XML' type='scale' from='1' to='2' dur='10s' additive='sum' fill='freeze' repeatCount='indefinite'/>
-          <animateTransform attributeName='transform' attributeType='XML' type='skewX' by="30" dur='10s' additive='sum' fill='freeze' repeatCount='indefinite'/>
-        </circle>
-      </svg>
-    </div>
-    <div data-role="footer" data-position="fixed">
-        <div data-role="controlgroup" data-type="horizontal">
-            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-    </div>
-    <div data-role="popup" id="popup_info">
-      <p>Check if SVG and Transform is working well</p>
-      <p>The SVG element with transform property can make a animating and transforming shape.</p>
-      <p>Test passes if there is a animating and transforming blue circle in the blue box</p>
-    </div>
-  </body>
-</html>
old mode 100755 (executable)
new mode 100644 (file)
index 0a8f8f3..866c2c5
@@ -26,14 +26,45 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
+        Cui, Jieqiong <jieqiongx.cui@intel.com>
 
 -->
+
 <html>
   <head>
-    <title>2D/3D Animation</title>
-    <meta http-equiv="REFRESH" content="0;url=SVGTransform.html" />
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
+    <title>SVGTransform</title>
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
   </head>
   <body>
+    <div data-role="header">
+      <h1 id="main_page_title">SVGTransform</h1>
+    </div>
+    <div data-role= "content">
+      <svg width="330" height="500" style="border:1px solid blue">
+        <circle cx="100" cy="50" r="20" fill="blue">
+          <animateTransform attributeName='transform' attributeType='XML' type='rotate' from='180 170 200' to='-360 100 50' dur='10s' additive='sum' fill='freeze' repeatCount='indefinite'/>
+          <animateTransform attributeName='transform' attributeType='XML' type='scale' from='1' to='2' dur='10s' additive='sum' fill='freeze' repeatCount='indefinite'/>
+          <animateTransform attributeName='transform' attributeType='XML' type='skewX' by="30" dur='10s' additive='sum' fill='freeze' repeatCount='indefinite'/>
+        </circle>
+      </svg>
+    </div>
+    <div data-role="footer" data-position="fixed">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+    </div>
+    <div data-role="popup" id="popup_info">
+      <p>Check if SVG and Transform is working well</p>
+      <p>The SVG element with transform property can make a animating and transforming shape.</p>
+      <p>Test passes if there is a animating and transforming blue circle in the blue box</p>
+    </div>
   </body>
 </html>
diff --git a/tests/Security/Security.html b/tests/Security/Security.html
deleted file mode 100755 (executable)
index 4327467..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Xu, YuhanX <yuhanx.xu@intel.com>
-
--->
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-        <title>Security</title>
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-        <script src="js/main.js"></script>
-    </head>
-    <body>
-        <div data-role="header">
-            <h1 id="main_page_title">Security</h1>
-        </div>
-        <div data-role="content">
-            <div data-role="collapsible-set" data-inset="false" data-collapsed-icon="arrow-r" data-expanded-icon="arrow-d">
-                <div data-role="collapsible" data-collapsed="true">
-                    <h3 id="homeList">Home Directory</h3>
-                    <ul data-role="listview" data-split-icon="delete" data-split-theme="c" data-inset="true" id="home">
-                        <li class="ui-li ui-li-static" data-icon="false" data-theme="">
-                            <a href="#" align="center" id="homeBtn" data-rel="popup" data-position-to="window" data-transition="pop">Create file</a>
-                        </li>
-                    </ul>
-                </div>
-                <div data-role="collapsible" data-collapsed="true">
-                    <h3 id="mediaList">Shared Media Directory</h3>
-                    <ul data-role="listview" data-split-icon="delete" data-split-theme="c" data-inset="true" id="media">
-                        <li class="ui-li ui-li-static" data-icon="false" data-theme="">
-                            <a href="#" align="center" id="mediaBtn" data-rel="popup" data-position-to="window" data-transition="pop">Create file</a>
-                        </li>
-                    </ul>
-                </div>
-                <div data-role="collapsible" data-collapsed="true">
-                    <h3 id="systemList">Shared System Directory</h3>
-                    <ul data-role="listview" data-split-icon="delete" data-split-theme="c" data-inset="true" id="system">
-                        <li class="ui-li ui-li-static" data-icon="false" data-theme="">
-                            <a href="#" align="center" id="systemBtn" data-rel="popup" data-position-to="window" data-transition="pop">Create file</a>
-                        </li>
-                    </ul>
-                </div>
-                <div data-role="collapsible" data-collapsed="true">
-                    <h3>Etc Directory</h3>
-                    <ul data-role="listview" data-split-icon="delete" data-split-theme="c" data-inset="true" id="etc">
-                        <li class="ui-li ui-li-static" data-icon="false" data-theme="">
-                            <a href="#" align="center" id="etcBtn" data-rel="popup" data-position-to="window" data-transition="pop">Open Directory</a>
-                        </li>
-                    </ul>
-                </div>
-            </div>
-        </div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info">
-            <p>Check if this application runs under a non-root user ID</p>
-            <p>1. Input "ps -aux | awk 'NR==tctbhtests.TCTBehaviorTests/'" in the terminal of Device;</p>
-            <p>2. Check it passes if the 'USER' of first list in the output is 'app'.</p>
-            <p>Check if only can manipulate files in home, shared media, shared system directories</p>
-            <p>1. Click Home Directory, check if can create and delete file</p>
-            <p>2. Click Shared Media Directory, check if can create and delete file</p>
-            <p>3. Click Shared System Directory, check if can create and delete file</p>
-            <p>4. Click Etc Directory and Open Directory, check if error occurs </p>
-        </div>
-    </body>
-</html>
index a6b4ca9..4327467 100755 (executable)
@@ -31,9 +31,72 @@ Authors:
 -->
 <html>
     <head>
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
         <title>Security</title>
-        <meta http-equiv="REFRESH" content="0;url=Security.html">
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
+        <script src="js/main.js"></script>
     </head>
     <body>
+        <div data-role="header">
+            <h1 id="main_page_title">Security</h1>
+        </div>
+        <div data-role="content">
+            <div data-role="collapsible-set" data-inset="false" data-collapsed-icon="arrow-r" data-expanded-icon="arrow-d">
+                <div data-role="collapsible" data-collapsed="true">
+                    <h3 id="homeList">Home Directory</h3>
+                    <ul data-role="listview" data-split-icon="delete" data-split-theme="c" data-inset="true" id="home">
+                        <li class="ui-li ui-li-static" data-icon="false" data-theme="">
+                            <a href="#" align="center" id="homeBtn" data-rel="popup" data-position-to="window" data-transition="pop">Create file</a>
+                        </li>
+                    </ul>
+                </div>
+                <div data-role="collapsible" data-collapsed="true">
+                    <h3 id="mediaList">Shared Media Directory</h3>
+                    <ul data-role="listview" data-split-icon="delete" data-split-theme="c" data-inset="true" id="media">
+                        <li class="ui-li ui-li-static" data-icon="false" data-theme="">
+                            <a href="#" align="center" id="mediaBtn" data-rel="popup" data-position-to="window" data-transition="pop">Create file</a>
+                        </li>
+                    </ul>
+                </div>
+                <div data-role="collapsible" data-collapsed="true">
+                    <h3 id="systemList">Shared System Directory</h3>
+                    <ul data-role="listview" data-split-icon="delete" data-split-theme="c" data-inset="true" id="system">
+                        <li class="ui-li ui-li-static" data-icon="false" data-theme="">
+                            <a href="#" align="center" id="systemBtn" data-rel="popup" data-position-to="window" data-transition="pop">Create file</a>
+                        </li>
+                    </ul>
+                </div>
+                <div data-role="collapsible" data-collapsed="true">
+                    <h3>Etc Directory</h3>
+                    <ul data-role="listview" data-split-icon="delete" data-split-theme="c" data-inset="true" id="etc">
+                        <li class="ui-li ui-li-static" data-icon="false" data-theme="">
+                            <a href="#" align="center" id="etcBtn" data-rel="popup" data-position-to="window" data-transition="pop">Open Directory</a>
+                        </li>
+                    </ul>
+                </div>
+            </div>
+        </div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info">
+            <p>Check if this application runs under a non-root user ID</p>
+            <p>1. Input "ps -aux | awk 'NR==tctbhtests.TCTBehaviorTests/'" in the terminal of Device;</p>
+            <p>2. Check it passes if the 'USER' of first list in the output is 'app'.</p>
+            <p>Check if only can manipulate files in home, shared media, shared system directories</p>
+            <p>1. Click Home Directory, check if can create and delete file</p>
+            <p>2. Click Shared Media Directory, check if can create and delete file</p>
+            <p>3. Click Shared System Directory, check if can create and delete file</p>
+            <p>4. Click Etc Directory and Open Directory, check if error occurs </p>
+        </div>
     </body>
 </html>
diff --git a/tests/SystemInfo/SystemInfo.html b/tests/SystemInfo/SystemInfo.html
deleted file mode 100755 (executable)
index 3a55eb2..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>SystemInfo</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="header" data-position="fixed" data-tap-toggle="false">
-        <h1 id="main_page_title">SystemInfo</h1>
-    </div>
-    <div id="content">
-        <ul data-role="listview" id="info-list1"></ul>
-        <ul data-role="listview" id="info-list2"></ul>
-        <ul data-role="listview" id="info-list3"></ul>
-        <ul data-role="listview" id="info-list4"></ul>
-    </div>
-    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-        <div data-role="controlgroup" data-type="horizontal">
-            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-    </div>
-    <div data-role="popup" id="popup_info" data-theme="a">
-        <p>Check if a SystemInfo reflects current device status</p><br>
-        <p>1. Check Wi-Fi Network Status if it reflects the current device Wi-Fi status</p>
-        <p>2. Change device Wi-Fi status and Check Wi-Fi Network Status again</p>
-        <p>3. Check Device Orientation Status if it displays correct value that fits the current device position</p>
-        <p>4. Rotate the device per 90 degrees and check Device Orientation shows the correct status</p>
-        <p>5. Check Battery Status</p>
-        <p>6. Check the Brightness if it changes the current device brightness</p>
-        <p>7. Check the Resolution</p>
-        <p>8. Check the Dots per inch</p>
-        <p>9. Check the Physical size</p>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 45ce113..3a55eb2
@@ -20,9 +20,44 @@ Authors:
 -->
 <html>
 <head>
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
 <title>SystemInfo</title>
-<meta http-equiv="REFRESH" content="0;url=SystemInfo.html" />
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="header" data-position="fixed" data-tap-toggle="false">
+        <h1 id="main_page_title">SystemInfo</h1>
+    </div>
+    <div id="content">
+        <ul data-role="listview" id="info-list1"></ul>
+        <ul data-role="listview" id="info-list2"></ul>
+        <ul data-role="listview" id="info-list3"></ul>
+        <ul data-role="listview" id="info-list4"></ul>
+    </div>
+    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+    </div>
+    <div data-role="popup" id="popup_info" data-theme="a">
+        <p>Check if a SystemInfo reflects current device status</p><br>
+        <p>1. Check Wi-Fi Network Status if it reflects the current device Wi-Fi status</p>
+        <p>2. Change device Wi-Fi status and Check Wi-Fi Network Status again</p>
+        <p>3. Check Device Orientation Status if it displays correct value that fits the current device position</p>
+        <p>4. Rotate the device per 90 degrees and check Device Orientation shows the correct status</p>
+        <p>5. Check Battery Status</p>
+        <p>6. Check the Brightness if it changes the current device brightness</p>
+        <p>7. Check the Resolution</p>
+        <p>8. Check the Dots per inch</p>
+        <p>9. Check the Physical size</p>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/SystemSetting(IncomingCall)/SystemSetting(IncomingCall).html b/tests/SystemSetting(IncomingCall)/SystemSetting(IncomingCall).html
deleted file mode 100755 (executable)
index 7864fa5..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>SystemSetting</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">SystemSetting<br>(IncomingCall)</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li data-role="list-divider">Set Call Ringtone</li>
-            </ul>
-            <ul data-role="listview" id="ringtone"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Get Call Ringtone</li>
-                <li><div data-role="button" id="tone">Get Ringtone & Play Sound</div></li>
-            </ul>
-            <audio data-controls="true" style="width:100%;" id="MyAudio"></audio>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if the ringtone is successfully changed</p><br>
-            <p>1. Click Set ringtone</p>
-            <p>2. Make a call to the device and check if the ringtone is successfully changed</p>
-            <p>3. Proceed the checking for other ringtones</p>
-            <p>Note. you may want to add more ringtone files in 'ringtones' virtual root</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 339f5b8..7864fa5
@@ -20,9 +20,46 @@ Authors:
 -->
 <html>
 <head>
-<title>SystemSetting(IncomingCall)</title>
-<meta http-equiv="REFRESH" content="0;url=SystemSetting(IncomingCall).html" />
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
+<title>SystemSetting</title>
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">SystemSetting<br>(IncomingCall)</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview">
+                <li data-role="list-divider">Set Call Ringtone</li>
+            </ul>
+            <ul data-role="listview" id="ringtone"></ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">Get Call Ringtone</li>
+                <li><div data-role="button" id="tone">Get Ringtone & Play Sound</div></li>
+            </ul>
+            <audio data-controls="true" style="width:100%;" id="MyAudio"></audio>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if the ringtone is successfully changed</p><br>
+            <p>1. Click Set ringtone</p>
+            <p>2. Make a call to the device and check if the ringtone is successfully changed</p>
+            <p>3. Proceed the checking for other ringtones</p>
+            <p>Note. you may want to add more ringtone files in 'ringtones' virtual root</p>
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/SystemSetting(NotificationEmail)/SystemSetting(NotificationEmail).html b/tests/SystemSetting(NotificationEmail)/SystemSetting(NotificationEmail).html
deleted file mode 100755 (executable)
index 3a02ad4..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>SystemSetting</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">SystemSetting<br>(NotificationEmail)</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li data-role="list-divider">Set Alert tone</li>
-            </ul>
-            <ul data-role="listview" id="alerttone"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Get Alert tone</li>
-                <li><div data-role="button" id="tone">Get Alert tone & Play Sound</div></li>
-            </ul>
-            <audio data-controls="true" style="width:100%;" id="MyAudio"></audio>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if the email notification sound is successfully changed</p><br>
-            <p>1. Click Set tone</p>
-            <p>2. Send an email to an account that is registered to the device</p>
-            <p>3. Check if the email notification sound is successfully changed</p>
-            <p>4. Proceed the checking for other tones</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 2178283..3a02ad4
@@ -20,9 +20,46 @@ Authors:
 -->
 <html>
 <head>
-<title>SystemSetting(NotificationEmail)</title>
-<meta http-equiv="REFRESH" content="0;url=SystemSetting(NotificationEmail).html" />
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
+<title>SystemSetting</title>
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">SystemSetting<br>(NotificationEmail)</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview">
+                <li data-role="list-divider">Set Alert tone</li>
+            </ul>
+            <ul data-role="listview" id="alerttone"></ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">Get Alert tone</li>
+                <li><div data-role="button" id="tone">Get Alert tone & Play Sound</div></li>
+            </ul>
+            <audio data-controls="true" style="width:100%;" id="MyAudio"></audio>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if the email notification sound is successfully changed</p><br>
+            <p>1. Click Set tone</p>
+            <p>2. Send an email to an account that is registered to the device</p>
+            <p>3. Check if the email notification sound is successfully changed</p>
+            <p>4. Proceed the checking for other tones</p>
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/SystemSetting(Screen)/SystemSetting(Screen).html b/tests/SystemSetting(Screen)/SystemSetting(Screen).html
deleted file mode 100755 (executable)
index 7596a2d..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<title>SystemSetting</title>
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-<style type="text/css">
-#imageHS ul, li {list-style:none;}
-#imageHS img {margin:1px; width:75px; height:75px}
-#imageLS ul, li {list-style:none;}
-#imageLS img {margin:1px; width:75px; height:75px}
-</style>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">SystemSetting<br>(Screen)</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li data-role="list-divider">Set HomeScreen Image</li>
-            </ul>
-            <ul data-role="listview" id="imageHS"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Set LockScreen Image</li>
-            </ul>
-            <ul data-role="listview" id="imageLS"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Get HomeScreen Image</li>
-                <li><div data-role="button" id="imageHG">HomeScreen Image</div></li>
-                <li data-role="list-divider">Get LockScreen Image</li>
-                <li><div data-role="button" id="imageLG">LockScreen Image</div></li>
-                <li data-role="list-divider">Canvas Image</li>
-            </ul>
-            <canvas id="canvas" style="width:100%; height:200px;"></canvas>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Check if the home/lock screen image is successfully changed</p><br>
-            <p>1. Click Home/LockScreen Image</p>
-            <p>2. Select an image for the home/lock screen background</p>
-            <p>3. Check if your selection is set as a home/lock screen background with the naked eye</p>
-            <p>4. Click HomeScreen Image and LockScreen Image to verify the background images are retrieved.</p>
-        </div>
-    </div>
-</body>
-</html>
old mode 100644 (file)
new mode 100755 (executable)
index 83b6b5c..7596a2d
@@ -20,9 +20,59 @@ Authors:
 -->
 <html>
 <head>
-<title>SystemSetting(Screen)</title>
-<meta http-equiv="REFRESH" content="0;url=SystemSetting(Screen).html" />
+<meta charset="utf-8" />
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
+<title>SystemSetting</title>
+<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+<script src="../../js/thirdparty/jquery.js"></script>
+<script src="../../js/thirdparty/jquery.mobile.js"></script>
+<script src="../../js/tests.js"></script>
+<script src="js/main.js"></script>
+<style type="text/css">
+#imageHS ul, li {list-style:none;}
+#imageHS img {margin:1px; width:75px; height:75px}
+#imageLS ul, li {list-style:none;}
+#imageLS img {margin:1px; width:75px; height:75px}
+</style>
 </head>
 <body>
+    <div data-role="page" id="main">
+        <div data-role="header" data-position="fixed" data-tap-toggle="false">
+            <h1 id="main_page_title">SystemSetting<br>(Screen)</h1>
+        </div>
+        <div id="content">
+            <ul data-role="listview">
+                <li data-role="list-divider">Set HomeScreen Image</li>
+            </ul>
+            <ul data-role="listview" id="imageHS"></ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">Set LockScreen Image</li>
+            </ul>
+            <ul data-role="listview" id="imageLS"></ul>
+            <ul data-role="listview">
+                <li data-role="list-divider">Get HomeScreen Image</li>
+                <li><div data-role="button" id="imageHG">HomeScreen Image</div></li>
+                <li data-role="list-divider">Get LockScreen Image</li>
+                <li><div data-role="button" id="imageLG">LockScreen Image</div></li>
+                <li data-role="list-divider">Canvas Image</li>
+            </ul>
+            <canvas id="canvas" style="width:100%; height:200px;"></canvas>
+        </div>
+        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Check if the home/lock screen image is successfully changed</p><br>
+            <p>1. Click Home/LockScreen Image</p>
+            <p>2. Select an image for the home/lock screen background</p>
+            <p>3. Check if your selection is set as a home/lock screen background with the naked eye</p>
+            <p>4. Click HomeScreen Image and LockScreen Image to verify the background images are retrieved.</p>
+        </div>
+    </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tests/Template/Template.html b/tests/Template/Template.html
deleted file mode 100755 (executable)
index 0edb868..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
-
--->
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-
-        <title>Template</title>
-
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-    </head>
-
-    <body>
-        <div data-role="header">
-            <h1 id="main_page_title">Template</h1>
-        </div>
-
-        <div id="content">
-        Hello World !
-        </div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info" data-theme="a">
-            <p>Test Info</p>
-        </div>
-    </body>
-</html>
index ab76a93..0edb868 100755 (executable)
@@ -31,9 +31,35 @@ Authors:
 -->
 <html>
     <head>
-        <title>Alarm</title>
-        <meta http-equiv="REFRESH" content="0;url=Template.html">
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
+
+        <title>Template</title>
+
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
     </head>
+
     <body>
+        <div data-role="header">
+            <h1 id="main_page_title">Template</h1>
+        </div>
+
+        <div id="content">
+        Hello World !
+        </div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info" data-theme="a">
+            <p>Test Info</p>
+        </div>
     </body>
 </html>
diff --git a/tests/Touch/Touch.html b/tests/Touch/Touch.html
deleted file mode 100755 (executable)
index 95188f8..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Xin, liu <xinx.liu@intel.com>
-
--->
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-        <title>Touch</title>
-        <link rel="stylesheet" type="text/css" href="css/style.css"/>
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-        <script src="js/main.js"></script>
-    </head>
-    <body>
-        <div data-role="header">
-          <h1 id="main_page_title">Touch</h1>
-        </div>
-        <div data-role="content">
-            <table id="tabletouch" cellpadding="5">
-                <tr>
-                    <td id="tabledata"><img id="image1" src="img/btn_up.png" height="100" width="100"></img></td>
-                    <td id="tabledata"><img id="image2" src="img/btn_up.png" height="100" width="100"></img></td>
-                    <td id="tabledata"><img id="image3" src="img/btn_up.png" height="100" width="100"></img></td>
-                </tr>
-            </table>
-            <p id="testresult">no button touched</p>
-        </div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('Touch', 'PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('Touch', 'FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info">
-            <p>This test verifies the device supports single touch, two fingers touch and three fingers touch by clicking the blue buttons</p>
-            <p>1. Click one of these blue buttons</p>
-            <p>2. Click two of these blue buttons at one time</p>
-            <p>3. Click all these blue buttons at one time</p>
-            <p>This test PASS only if all the tips"one button touched, two buttons touched at one time,
-               three buttons touched at one time" show.</p>
-        </div>
-    </body>
-</html>
index ddb0e9b..2a90a02 100755 (executable)
@@ -31,9 +31,45 @@ Authors:
 -->
 <html>
     <head>
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
         <title>Touch</title>
-        <meta http-equiv="REFRESH" content="0;url=Touch.html">
+        <link rel="stylesheet" type="text/css" href="css/style.css"/>
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
+        <script src="js/main.js"></script>
     </head>
     <body>
+        <div data-role="header">
+          <h1 id="main_page_title">Touch</h1>
+        </div>
+        <div data-role="content">
+            <table id="tabletouch" cellpadding="5">
+                <tr>
+                    <td id="tabledata"><img id="image1" src="img/btn_up.png" height="100" width="100"></img></td>
+                    <td id="tabledata"><img id="image2" src="img/btn_up.png" height="100" width="100"></img></td>
+                    <td id="tabledata"><img id="image3" src="img/btn_up.png" height="100" width="100"></img></td>
+                </tr>
+            </table>
+            <p id="testresult">no button touched</p>
+        </div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info">
+            <p>This test verifies the device supports single touch, two fingers touch and three fingers touch by clicking the blue buttons</p>
+            <p>1. Click one of these blue buttons</p>
+            <p>2. Click two of these blue buttons at one time</p>
+            <p>3. Click all these blue buttons at one time</p>
+            <p>This test PASS only if all the tips"one button touched, two buttons touched at one time,
+               three buttons touched at one time" show.</p>
+        </div>
     </body>
 </html>
diff --git a/tests/UserMedia/UserMedia.html b/tests/UserMedia/UserMedia.html
deleted file mode 100755 (executable)
index ea26063..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Xin, liu <xinx.liu@intel.com>
-
--->
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-        <title>UserMedia</title>
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-        <script src="js/main.js"></script>
-    </head>
-    <body>
-        <div data-role="header">
-            <h1 id="main_page_title">UserMedia</h1>
-        </div>
-        <div data-role="content">
-            <div align="center">
-              <input id="getUserMeida" type="button" data-theme="a" data-inline="true" value="take a video" />
-            </div>
-            <p id="errormassage"></p>
-        </div>
-        <div align="center">
-          <video width="330px" height="410px" id="localView" autoplay="autoplay"></video>
-        </div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info">
-            <p>The test verifies that the Camera supports taking video</p>
-            <p>Click the "take a video" button to access the webcam,then the pre-side camera 
-               will open and a video will be shown continuously from your webcam media stream.</p>
-            <p>Test passes if a video can be shown continuously from your webcam media stream.</p>
-        </div>
-    </body>
-</html>
index d4327de..ea26063 100755 (executable)
@@ -31,9 +31,41 @@ Authors:
 -->
 <html>
     <head>
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
         <title>UserMedia</title>
-        <meta http-equiv="REFRESH" content="0;url=UserMedia.html">
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
+        <script src="js/main.js"></script>
     </head>
     <body>
+        <div data-role="header">
+            <h1 id="main_page_title">UserMedia</h1>
+        </div>
+        <div data-role="content">
+            <div align="center">
+              <input id="getUserMeida" type="button" data-theme="a" data-inline="true" value="take a video" />
+            </div>
+            <p id="errormassage"></p>
+        </div>
+        <div align="center">
+          <video width="330px" height="410px" id="localView" autoplay="autoplay"></video>
+        </div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info">
+            <p>The test verifies that the Camera supports taking video</p>
+            <p>Click the "take a video" button to access the webcam,then the pre-side camera 
+               will open and a video will be shown continuously from your webcam media stream.</p>
+            <p>Test passes if a video can be shown continuously from your webcam media stream.</p>
+        </div>
     </body>
 </html>
diff --git a/tests/Vibration/Vibration.html b/tests/Vibration/Vibration.html
deleted file mode 100755 (executable)
index 06ca61b..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Lin, Wanming <wanmingx.lin@intel.com>
-
--->
-<html>
-    <head>
-        <meta charset="utf-8" />
-        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-        <title>Vibration</title>
-        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-        <link rel="stylesheet" type="text/css" href="css/style.css" />
-        <script src="../../js/thirdparty/jquery.js"></script>
-        <script src="../../js/thirdparty/jquery.mobile.js"></script>
-        <script src="../../js/tests.js"></script>
-        <script src="js/main.js"></script>
-    </head>
-    <body>
-        <div data-role="header">
-          <h1 id="main_page_title">Vibration</h1>
-        </div>
-        <div data-role="content">
-            <div data-role="fieldcontain">
-                <label for="slider-1">Vibration Time(s):</label>
-                <input type="range" name="slider-1" id="slider-1" data-highlight="true" min="0.50" max="3" step="0.10" value="1" data-show-value="true" style="display:none">
-            </div>
-            <div data-role="fieldcontain">
-                <label for="slider-1">Vibration Periods(s):</label>
-                <input type="range" name="slider-2" id="slider-2" data-highlight="true" min="0.10" max="2" step="0.10" value="0.50" data-show-value="true" style="display:none">
-            </div>
-            <div data-role="fieldcontain">
-                <label for="slider-1">Vibration Number:</label>
-                <input type="range" name="slider-3" id="slider-3" data-highlight="true" min="1" max="20" value="2" data-show-value="true" style="display:none">
-            </div>
-            <div style="text-algin:center">
-                <a href="javascript:startVibration()" id="start" data-role="button" data-theme="a" data-inline="true">Start Vibration</a>
-                <a href="javascript:stopVibration()" id="stop" data-role="button" data-theme="a" data-inline="true">Stop Vibration</a>
-            </div>
-        </div>
-        <div data-role="footer" data-position="fixed">
-            <div data-role="controlgroup" data-type="horizontal">
-                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-            </div>
-        </div>
-        <div data-role="popup" id="popup_info">
-            <p>Check if the device vibration is working</p>
-            <p>Setting the vibration using sliders, and click 'Start Vibration' 'Stop Vibration' to control the vibration</p>
-            <p>Test passes if the vibration is working correctly in accordance with the setting.</p>
-        </div>
-    </body>
-</html>
index d7f12f3..06ca61b 100755 (executable)
@@ -31,9 +31,50 @@ Authors:
 -->
 <html>
     <head>
-        <title>Battery</title>
-        <meta http-equiv="REFRESH" content="0;url=Vibration.html">
+        <meta charset="utf-8" />
+        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
+        <title>Vibration</title>
+        <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+        <link rel="stylesheet" type="text/css" href="css/style.css" />
+        <script src="../../js/thirdparty/jquery.js"></script>
+        <script src="../../js/thirdparty/jquery.mobile.js"></script>
+        <script src="../../js/tests.js"></script>
+        <script src="js/main.js"></script>
     </head>
     <body>
+        <div data-role="header">
+          <h1 id="main_page_title">Vibration</h1>
+        </div>
+        <div data-role="content">
+            <div data-role="fieldcontain">
+                <label for="slider-1">Vibration Time(s):</label>
+                <input type="range" name="slider-1" id="slider-1" data-highlight="true" min="0.50" max="3" step="0.10" value="1" data-show-value="true" style="display:none">
+            </div>
+            <div data-role="fieldcontain">
+                <label for="slider-1">Vibration Periods(s):</label>
+                <input type="range" name="slider-2" id="slider-2" data-highlight="true" min="0.10" max="2" step="0.10" value="0.50" data-show-value="true" style="display:none">
+            </div>
+            <div data-role="fieldcontain">
+                <label for="slider-1">Vibration Number:</label>
+                <input type="range" name="slider-3" id="slider-3" data-highlight="true" min="1" max="20" value="2" data-show-value="true" style="display:none">
+            </div>
+            <div style="text-algin:center">
+                <a href="javascript:startVibration()" id="start" data-role="button" data-theme="a" data-inline="true">Start Vibration</a>
+                <a href="javascript:stopVibration()" id="stop" data-role="button" data-theme="a" data-inline="true">Stop Vibration</a>
+            </div>
+        </div>
+        <div data-role="footer" data-position="fixed">
+            <div data-role="controlgroup" data-type="horizontal">
+                <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+                <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+                <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+                <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+            </div>
+        </div>
+        <div data-role="popup" id="popup_info">
+            <p>Check if the device vibration is working</p>
+            <p>Setting the vibration using sliders, and click 'Start Vibration' 'Stop Vibration' to control the vibration</p>
+            <p>Test passes if the vibration is working correctly in accordance with the setting.</p>
+        </div>
     </body>
 </html>
diff --git a/tests/Viewport/Viewport.html b/tests/Viewport/Viewport.html
deleted file mode 100644 (file)
index a4528c1..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
-  of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
-  may be used to endorse or promote products derived from this work without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
-        Tan, Shiyou <shiyoux.tan@intel.com>
-
--->
-<html>
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
-    <title>Viewport</title>
-    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-    <script src="../../js/thirdparty/jquery.js"></script>
-    <script src="../../js/thirdparty/jquery.mobile.js"></script>
-    <script src="../../js/tests.js"></script>
-  </head>
-  <body>
-    <div data-role="header">
-      <h1 id="main_page_title">Viewport</h1>
-    </div>
-    <div data-role= "content">
-      <div>
-        <p><a data-role="button" data-theme="b" href="test/device.html" data-ajax="false">device-height|device-width</a>
-        <p>Test the device-height and device-width values
-        <p><a data-role="button" data-theme="b" href="test/user-scalable.html" data-ajax="false">user-scalable-no</a>
-        <p>Test the user-scalable attribute, if it sets no, user unable to scale the page
-        <p><a data-role="button" data-theme="b" href="test/scale.html" data-ajax="false">maximum-scale|minimum-scale</a>
-        <p>Test the maximum-scale and minimum-scale attributes
-      </div>
-      <div id="testresult"></div>
-    </div>
-    <div data-role="footer" data-position="fixed">
-        <div data-role="controlgroup" data-type="horizontal">
-            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
-            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
-            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
-            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
-        </div>
-    </div>
-    <div data-role="popup" id="popup_info" data-theme="a">
-      <p>The test verifies the viewport feature</p>
-      <p>1.Click the 1st button, test passes if there is no red in test page</p>
-      <p>2.Click the 2nd button, test passes if user unable to scale the test page</p>
-      <p>3.Click the 3rd button, test passes if there is only green in screen when you zoom in to maximum</p>
-    </div>
-  </body>
-  </body>
-</html>
index eff731d..a4528c1 100644 (file)
@@ -26,15 +26,48 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
-        Tan, Shiyou shiyoux.tan@intel.com>
+        Tan, Shiyou <shiyoux.tan@intel.com>
 
 -->
 <html>
   <head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width">
     <title>Viewport</title>
-    <meta http-equiv="REFRESH" content="0;url=Viewport.html">
-    <title>Viewport</title>
+    <link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
+    <script src="../../js/thirdparty/jquery.js"></script>
+    <script src="../../js/thirdparty/jquery.mobile.js"></script>
+    <script src="../../js/tests.js"></script>
   </head>
   <body>
+    <div data-role="header">
+      <h1 id="main_page_title">Viewport</h1>
+    </div>
+    <div data-role= "content">
+      <div>
+        <p><a data-role="button" data-theme="b" href="test/device.html" data-ajax="false">device-height|device-width</a>
+        <p>Test the device-height and device-width values
+        <p><a data-role="button" data-theme="b" href="test/user-scalable.html" data-ajax="false">user-scalable-no</a>
+        <p>Test the user-scalable attribute, if it sets no, user unable to scale the page
+        <p><a data-role="button" data-theme="b" href="test/scale.html" data-ajax="false">maximum-scale|minimum-scale</a>
+        <p>Test the maximum-scale and minimum-scale attributes
+      </div>
+      <div id="testresult"></div>
+    </div>
+    <div data-role="footer" data-position="fixed">
+        <div data-role="controlgroup" data-type="horizontal">
+            <a href="javascript:reportResult('PASS');" id="pass_button" data-role="button" data-icon="check" style="color: green">Pass</a>
+            <a href="javascript:reportResult('FAIL');" id="fail_button" data-role="button" data-icon="delete" style="color: red">Fail</a>
+            <a href="#popup_info" data-role="button" data-icon="info" data-rel="popup" data-transition="pop" >Info</a>
+            <a href="javascript:backAppsHome();" data-role="button" data-icon="home">Exit</a>
+        </div>
+    </div>
+    <div data-role="popup" id="popup_info" data-theme="a">
+      <p>The test verifies the viewport feature</p>
+      <p>1.Click the 1st button, test passes if there is no red in test page</p>
+      <p>2.Click the 2nd button, test passes if user unable to scale the test page</p>
+      <p>3.Click the 3rd button, test passes if there is only green in screen when you zoom in to maximum</p>
+    </div>
+  </body>
   </body>
 </html>