Revert "Fixed TTS-1547 to update some case issue in WRT test suites"
authorFan Yugang <yugang.fan@intel.com>
Fri, 14 Jun 2013 08:54:41 +0000 (08:54 +0000)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Fri, 14 Jun 2013 08:54:41 +0000 (08:54 +0000)
This reverts commit 2e24fcd0d5315e9bc268a770307b39ce73ab7cf0

Change-Id: Id4cd5294eab21d5e7e8f9389c5d94550a569f48e

68 files changed:
tct-appwgt-wrt-tests/app-widget-box-label-null/box/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-box-label-null/config.xml [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-box-label-null/icon.png [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-box-label-null/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-box-label-null/pd/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-content-null/box/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-content-null/config.xml [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-content-null/icon.png [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-content-null/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-content-null/pd/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-icon-null/box/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-icon-null/config.xml [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-icon-null/icon.png [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-icon-null/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/app-widget-icon-null/pd/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/tests.xml
tct-appwgt-wrt-tests/widget-app-box-size-null/box/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/widget-app-box-size-null/config.xml [new file with mode: 0644]
tct-appwgt-wrt-tests/widget-app-box-size-null/icon.png [new file with mode: 0644]
tct-appwgt-wrt-tests/widget-app-box-size-null/index.html [new file with mode: 0644]
tct-appwgt-wrt-tests/widget-app-box-size-null/pd/index.html [new file with mode: 0644]
tct-pm-wrt-tests/tests.xml
tct-rt02-wrt-tests/app-uri-scheme-access-html/index.html
tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/config.xml [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/icon.png [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/index.html [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-app-id-null/config.xml [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-app-id-null/icon.png [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-app-id-null/index.html [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-for-dom-properties/index.html
tct-rt02-wrt-tests/app-uri-scheme-for-img/config.xml [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-for-img/icon.png [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-for-img/index.html [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/config.xml [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/icon.png [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/index.html [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-index-html/config.xml [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-index-html/icon.png [new file with mode: 0644]
tct-rt02-wrt-tests/app-uri-scheme-index-html/index.html [new file with mode: 0644]
tct-rt02-wrt-tests/css-animation-background-default/index.html
tct-rt02-wrt-tests/css-animation-background-enable/index.html
tct-rt02-wrt-tests/css-animation-background-unable/index.html
tct-rt02-wrt-tests/dom-events-div-mouse-ondrag/index.html
tct-rt02-wrt-tests/dom-events-div-mouse-ondragend/index.html
tct-rt02-wrt-tests/dom-events-div-mouse-ondragenter/index.html
tct-rt02-wrt-tests/dom-events-div-mouse-ondragleave/index.html
tct-rt02-wrt-tests/dom-events-div-mouse-ondragover/index.html
tct-rt02-wrt-tests/dom-events-div-mouse-ondragstart/index.html
tct-rt02-wrt-tests/dom-events-div-mouse-ondrop/index.html
tct-rt02-wrt-tests/lifecycle-page-visibility-visibilitychange/index.html
tct-rt02-wrt-tests/other-uri-hash/index.html
tct-rt02-wrt-tests/other-uri-index/config.xml [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-index/custom.png [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-index/index.html [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-index/index2.html [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-invalid/index.html
tct-rt02-wrt-tests/other-uri-port/config.xml [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-port/custom.png [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-port/index.html [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-port/index2.html [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-scheme-invalid/index.html
tct-rt02-wrt-tests/other-uri-scheme-null/index.html
tct-rt02-wrt-tests/other-uri-scheme/config.xml [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-scheme/custom.png [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-scheme/index.html [new file with mode: 0644]
tct-rt02-wrt-tests/other-uri-scheme/index2.html [new file with mode: 0644]
tct-rt02-wrt-tests/tests.xml
tct-ui-wrt-tests/tests.xml

diff --git a/tct-appwgt-wrt-tests/app-widget-box-label-null/box/index.html b/tct-appwgt-wrt-tests/app-widget-box-label-null/box/index.html
new file mode 100644 (file)
index 0000000..464ad66
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: app-widget-box-label-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <div>liveBox index.html</div>
+  </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/app-widget-box-label-null/config.xml b/tct-appwgt-wrt-tests/app-widget-box-label-null/config.xml
new file mode 100644 (file)
index 0000000..2b85888
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-box-label-null">
+    <tizen:app-widget id="wrt6awp010.appwidgetboxlabelnull.default" primary="true">
+        <tizen:box-label></tizen:box-label>
+        <tizen:box-icon src="icon.png"/>
+        <tizen:box-content src="box/index.html">
+            <tizen:box-size>1x1</tizen:box-size>
+            <tizen:box-size>2x1</tizen:box-size>
+            <tizen:box-size>2x2</tizen:box-size>
+            <tizen:pd src="pd/index.html" width="600" height="200"/>
+        </tizen:box-content>
+    </tizen:app-widget>
+    <tizen:application id="wrt6awp010.appwidgetboxlabelnull" package="wrt6awp010" required_version="2.1"/>
+    <icon src="icon.png"/>
+    <name>app-widget-box-label-null</name>
+
+</widget>
diff --git a/tct-appwgt-wrt-tests/app-widget-box-label-null/icon.png b/tct-appwgt-wrt-tests/app-widget-box-label-null/icon.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-appwgt-wrt-tests/app-widget-box-label-null/icon.png differ
diff --git a/tct-appwgt-wrt-tests/app-widget-box-label-null/index.html b/tct-appwgt-wrt-tests/app-widget-box-label-null/index.html
new file mode 100644 (file)
index 0000000..5594403
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: app-widget-box-label-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+    <body>
+      <div>This is Web Application for livebox</div>
+    </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/app-widget-box-label-null/pd/index.html b/tct-appwgt-wrt-tests/app-widget-box-label-null/pd/index.html
new file mode 100644 (file)
index 0000000..57af7fe
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: app-widget-box-label-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <div>PD index.html</div>
+  </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/app-widget-content-null/box/index.html b/tct-appwgt-wrt-tests/app-widget-content-null/box/index.html
new file mode 100644 (file)
index 0000000..53df0b8
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: app-widget-content-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <div>liveBox index.html</div>
+  </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/app-widget-content-null/config.xml b/tct-appwgt-wrt-tests/app-widget-content-null/config.xml
new file mode 100644 (file)
index 0000000..6e5181e
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-content-null">
+    <tizen:app-widget id="wrt6awi012.appwidgetcontentnull.default" primary="true">
+        <tizen:box-label>AppWidget Content</tizen:box-label>
+        <tizen:box-icon src="icon.png"/>
+        <tizen:box-content src="">
+            <tizen:box-size>1x1</tizen:box-size>
+            <tizen:box-size>2x1</tizen:box-size>
+            <tizen:box-size>2x2</tizen:box-size>
+            <tizen:pd src="pd/index.html" width="600" height="200"/>
+        </tizen:box-content>
+    </tizen:app-widget>
+    <tizen:application id="wrt6awi012.appwidgetcontentnull" package="wrt6awi012" required_version="2.1"/>
+    <icon src="icon.png"/>
+    <name>app-widget-content-null</name>
+
+</widget>
diff --git a/tct-appwgt-wrt-tests/app-widget-content-null/icon.png b/tct-appwgt-wrt-tests/app-widget-content-null/icon.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-appwgt-wrt-tests/app-widget-content-null/icon.png differ
diff --git a/tct-appwgt-wrt-tests/app-widget-content-null/index.html b/tct-appwgt-wrt-tests/app-widget-content-null/index.html
new file mode 100644 (file)
index 0000000..65b1996
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: app-widget-content-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+      <p>This is the start page file of AppWidget.</p>
+  </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/app-widget-content-null/pd/index.html b/tct-appwgt-wrt-tests/app-widget-content-null/pd/index.html
new file mode 100644 (file)
index 0000000..474025e
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: app-widget-content-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <div>PD index.html</div>
+  </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/app-widget-icon-null/box/index.html b/tct-appwgt-wrt-tests/app-widget-icon-null/box/index.html
new file mode 100644 (file)
index 0000000..29d03dc
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: app-widget-icon-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <div>liveBox index.html</div>
+  </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/app-widget-icon-null/config.xml b/tct-appwgt-wrt-tests/app-widget-icon-null/config.xml
new file mode 100644 (file)
index 0000000..16ad88d
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-icon-null">
+    <tizen:app-widget id="wrt6awi011.appwidgeticonnull.default" primary="true">
+        <tizen:box-label>Icon is null</tizen:box-label>
+        <tizen:box-icon src=""/>
+        <tizen:box-content src="box/index.html">
+            <tizen:box-size>1x1</tizen:box-size>
+            <tizen:box-size>2x1</tizen:box-size>
+            <tizen:box-size>2x2</tizen:box-size>
+            <tizen:pd src="pd/index.html" width="600" height="200"/>
+        </tizen:box-content>
+    </tizen:app-widget>
+    <tizen:application id="wrt6awi011.appwidgeticonnull" package="wrt6awi011" required_version="2.1"/>
+    <icon src="icon.png"/>
+    <name>app-widget-icon-null</name>
+
+</widget>
diff --git a/tct-appwgt-wrt-tests/app-widget-icon-null/icon.png b/tct-appwgt-wrt-tests/app-widget-icon-null/icon.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-appwgt-wrt-tests/app-widget-icon-null/icon.png differ
diff --git a/tct-appwgt-wrt-tests/app-widget-icon-null/index.html b/tct-appwgt-wrt-tests/app-widget-icon-null/index.html
new file mode 100644 (file)
index 0000000..5623b76
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: app-widget-icon-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <p>This is Web Application for livebox</p>
+  </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/app-widget-icon-null/pd/index.html b/tct-appwgt-wrt-tests/app-widget-icon-null/pd/index.html
new file mode 100644 (file)
index 0000000..1c158f1
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: app-widget-icon-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <div>PD index.html</div>
+  </body>
+</html>
index 653de96..bdfeaaf 100644 (file)
         </spec>
       </specs>
     </testcase>
-    <testcase purpose="Check that WRT is able to install Web AppWidget with a null id." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-id-null">
+    <testcase purpose="Check that WRT is unable to install Web AppWidget with a null id." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-id-null">
       <description>
         <pre_condition>app-widget-id-null.wgt is not installed.</pre_condition>
         <post_condition></post_condition>
         <steps>
           <step order="1">
             <step_desc>Install app-widget-id-null.wgt with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-id-null.wgt"</step_desc>
-            <expected>PASS: if the widget installed successfully.</expected>
+            <expected>PASS: if the widget can not be installed.</expected>
           </step>
         </steps>
         <test_script_entry test_script_expected_result="0"></test_script_entry>
         </spec>
       </specs>
     </testcase>
+    <testcase purpose="Check that WRT is able to indicate the name of the Web AppWidget when the label is null." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="app-widget-box-label-null">
+      <description>
+        <pre_condition>Create AppWidgetViewer on SDK: New a Tizen Native Project, select "Sample" --> "DynamicBox". Fill the project name, then finish it. Install the AppWidgetViewer on the test device: Connect device to SDK. Right click "DynamicBox" --> "Run as" --> "Tizen Native Application";app-widget-box-label-null.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-label-null.wgt".</pre_condition>
+        <post_condition>Get the 'application id' of app-widget-box-label-null.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-label-null.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+        <steps>
+          <step order="1">
+            <step_desc>Launch AppWidget viewer</step_desc>
+            <expected>PASS: if app-widget-box-label-null appWidget's icon display in the appWidget viewer.</expected>
+          </step>
+          <step order="2">
+            <step_desc>Check the app-widget-box-label appwidget label</step_desc>
+            <expected>PASS: if the label is null(only displayed id -- wrt6awp010.appwidgetboxlabelnull) in appwidget list</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="attribute" element_name="N/A" interface="0950" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+        </spec>
+      </specs>
+    </testcase>
     <testcase purpose="Check that WRT is able to indicate the icon of the Web AppWidget." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-icon">
       <description>
         <pre_condition>Create AppWidgetViewer on SDK: New a Tizen Native Project, select "Sample" --> "DynamicBox". Fill the project name, then finish it. Install the AppWidgetViewer on the test device: Connect device to SDK. Right click "DynamicBox" --> "Run as" --> "Tizen Native Application";app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
         </spec>
       </specs>
     </testcase>
+    <testcase purpose="Check that WRT is able to indicate the icon of the Web AppWidget when the src is null." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-icon-null">
+      <description>
+        <pre_condition>Create AppWidgetViewer on SDK: New a Tizen Native Project, select "Sample" --> "DynamicBox". Fill the project name, then finish it. Install the AppWidgetViewer on the test device: Connect device to SDK. Right click "DynamicBox" --> "Run as" --> "Tizen Native Application";app-widget-icon-null.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-icon-null.wgt".</pre_condition>
+        <post_condition>Get the 'application id' of app-widget-icon-null.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-icon-null.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+        <steps>
+          <step order="1">
+            <step_desc>Launch AppWidget viewer</step_desc>
+            <expected>PASS: if app-widget-icon-null appWidget's icon is nothing.</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="attribute" element_name="N/A" interface="0960" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+        </spec>
+      </specs>
+    </testcase>
     <testcase purpose="Check that WRT is able to indicate the start page of the Web AppWidget." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-content">
       <description>
         <pre_condition>Create AppWidgetViewer on SDK: New a Tizen Native Project, select "Sample" --> "DynamicBox". Fill the project name, then finish it. Install the AppWidgetViewer on the test device: Connect device to SDK. Right click "DynamicBox" --> "Run as" --> "Tizen Native Application";app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
         </spec>
       </specs>
     </testcase>
+    <testcase purpose="Check that WRT is unable to indicate the start page of the Web AppWidget when the src is null." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="app-widget-content-null">
+      <description>
+        <pre_condition>Create AppWidgetViewer on SDK: New a Tizen Native Project, select "Sample" --> "DynamicBox". Fill the project name, then finish it. Install the AppWidgetViewer on the test device: Connect device to SDK. Right click "DynamicBox" --> "Run as" --> "Tizen Native Application";app-widget-content-null.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-content-null.wgt".</pre_condition>
+        <post_condition>Get the 'application id' of app-widget-content-null.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-content-null.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+        <steps>
+          <step order="1">
+            <step_desc>Launch AppWidget viewer</step_desc>
+            <expected>PASS: if livebox icon and title of app-widget-content-null widget are not displayed in livebox list.</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="attribute" element_name="N/A" interface="0970" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+        </spec>
+      </specs>
+    </testcase>
     <testcase purpose="Check that the content of Web AppWidget can response touch event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="app-widget-mouse-event-true">
       <description>
         <pre_condition>Create AppWidgetViewer on SDK: New a Tizen Native Project, select "Sample" --> "DynamicBox". Fill the project name, then finish it. Install the AppWidgetViewer on the test device: Connect device to SDK. Right click "DynamicBox" --> "Run as" --> "Tizen Native Application";app-widget-mouse-event-true.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-mouse-event-true.wgt".</pre_condition>
         </spec>
       </specs>
     </testcase>
+    <testcase purpose="Check that WRT indicate livebox's size is 1x1 when the box size is null." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="widget-app-box-size-null">
+      <description>
+        <pre_condition>Create AppWidgetViewer on SDK: New a Tizen Native Project, select "Sample" --> "DynamicBox". Fill the project name, then finish it. Install the AppWidgetViewer on the test device: Connect device to SDK. Right click "DynamicBox" --> "Run as" --> "Tizen Native Application";widget-app-box-size-null.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/widget-app-box-size-null.wgt".</pre_condition>
+        <post_condition>Get the 'application id' of widget-app-box-size-null.wgt with the command :"wrt-launcher -l" and uninstall the widget-app-box-size-null.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+        <steps>
+          <step order="1">
+            <step_desc>Launch AppWidget viewer</step_desc>
+            <expected>PASS: if widget-app-box-size-null appWidget's icon displays in the appWidget viewer.</expected>
+          </step>
+          <step order="2">
+            <step_desc>Touch the 'box size null' icon</step_desc>
+            <expected>PASS: if the box is loaded successfully.</expected>
+          </step>
+          <step order="3">
+            <step_desc>Check the livsbox's size</step_desc>
+            <expected>PASS: if the livebox's size is 175x175.</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="attribute" element_name="N/A" interface="0980" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+        </spec>
+      </specs>
+    </testcase>
     <testcase purpose="Check that WRT indicates AppWidget's icon which is the last one when the AppWidget is setting mutiple icon." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="widget-app-box-icon-more">
       <description>
         <pre_condition>Create AppWidgetViewer on SDK: New a Tizen Native Project, select "Sample" --> "DynamicBox". Fill the project name, then finish it. Install the AppWidgetViewer on the test device: Connect device to SDK. Right click "DynamicBox" --> "Run as" --> "Tizen Native Application";widget-app-box-icon-more.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/widget-app-box-icon-more.wgt".</pre_condition>
diff --git a/tct-appwgt-wrt-tests/widget-app-box-size-null/box/index.html b/tct-appwgt-wrt-tests/widget-app-box-size-null/box/index.html
new file mode 100644 (file)
index 0000000..bc87200
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: widget-app-box-size-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+        <meta name="viewport" content="width=device-width, initial-scale=1" />
+        <title>AppWidget</title>
+        <script>
+        </script>
+    </head>
+        <body bgcolor="#99CCFF" text="#FFFFFF">
+        <div id="message"></div>
+        <div>liveBox index.html</div>
+    </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/widget-app-box-size-null/config.xml b/tct-appwgt-wrt-tests/widget-app-box-size-null/config.xml
new file mode 100644 (file)
index 0000000..ff6437a
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/app-widget-sample" version="1.0.0" viewmodes="maximized">
+    <tizen:application id="wrt6wgt003.widgetappboxsizenull" package="wrt6wgt003" required_version="2.1"/>
+    <content src="index.html"/>
+    <icon src="icon.png"/>
+    <tizen:app-widget id="wrt6wgt003.widgetappboxsizenull.default" primary="true">
+        <tizen:box-label>box size null</tizen:box-label>
+        <tizen:box-icon src="icon.png"/>
+        <tizen:box-content src="box/index.html">
+            <tizen:box-size></tizen:box-size>
+            <tizen:pd src="pd/index.html" width="100" height="200"/>
+        </tizen:box-content>
+    </tizen:app-widget>
+    <name>widget-app-box-size-null</name>
+</widget>
diff --git a/tct-appwgt-wrt-tests/widget-app-box-size-null/icon.png b/tct-appwgt-wrt-tests/widget-app-box-size-null/icon.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-appwgt-wrt-tests/widget-app-box-size-null/icon.png differ
diff --git a/tct-appwgt-wrt-tests/widget-app-box-size-null/index.html b/tct-appwgt-wrt-tests/widget-app-box-size-null/index.html
new file mode 100644 (file)
index 0000000..244d1c0
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: widget-app-box-size-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <div>This is the start page file of AppWidget.</div>
+  </body>
+</html>
diff --git a/tct-appwgt-wrt-tests/widget-app-box-size-null/pd/index.html b/tct-appwgt-wrt-tests/widget-app-box-size-null/pd/index.html
new file mode 100644 (file)
index 0000000..c9ee196
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: widget-app-box-size-null</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="." />
+    <meta charset="utf-8">
+        <meta name="viewport" content="initial-scale=1" />
+        <title>Test</title>
+        <script>
+        </script>
+    </head>
+    <body bgcolor="#FF9966" text="#FFFFFF">
+        <br><br>
+        <div id="fromBox"></div>
+        <div>PD index.html</div>
+    </body>
+</html>
index 1f55da0..3346527 100644 (file)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if WRT can update the widget when the widget has been installed." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="PKManagement_WRTVersionLower_Install_1">
+      <testcase purpose="Check if WRT can abort installation when the widget has been installed." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="PKManagement_WRTVersionLower_Install_1">
         <description>
           <pre_condition>Make sure the Sample-widget.wgt is not installed.</pre_condition>
           <post_condition>Get the 'application id' of Sample-widget.wgt with the command :"wrt-launcher -l" and uninstall the Sample-widget.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
             </step>
             <step order="2">
               <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-pm-wrt-tests/the Sample-widget app again.</step_desc>
-              <expected>Pass if the webapp can be installed (for update).</expected>
+              <expected>Pass if the webapp cannot be installed.</expected>
             </step>
           </steps>
           <test_script_entry test_script_expected_result="0"/>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if Web Application resources inside of widget are erased after updated." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="PKManagement_dataStored_Update">
+      <testcase purpose="Check if Web Application resources inside of widget are still available after updated." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P1" id="PKManagement_dataStored_Update">
         <description>
           <pre_condition>Make sure the widget-version-1.wgt and widget-version-1-1.wgt are not installed.</pre_condition>
           <post_condition>Get the 'application id' of widget-version-1.wgt and widget-version-1-1.wgt with the command :"wrt-launcher -l" and uninstall the widget-version-1.wgt and widget-version-1-1.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
             </step>
             <step order="5">
               <step_desc>Access to the widget-version-1-1.wgt resources folder, and check if the 'data' folder exists</step_desc>
-              <expected>Pass if "data" folder is not exist.</expected>
+              <expected>Pass if "data" folder is still there</expected>
             </step>
           </steps>
           <test_script_entry test_script_expected_result="0"/>
index 87ecd6d..8764aa3 100644 (file)
@@ -40,6 +40,6 @@ Authors:
     </script>
   </head>
   <body onload="test();">
-    <p>Pass : is you see the message</p>
+    <p>Pass : if you see this message.</p>
   </body>
 </html>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/config.xml b/tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/config.xml
new file mode 100644 (file)
index 0000000..2552028
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/app-uri-scheme-app-id-not-null" version="1.0.0" viewmodes="maximized">
+    <tizen:application id="wrt3uri092.AppUriSchemeAppIdNotNull" package="wrt3uri092" required_version="2.1"/>
+    <content src="index.html"/>
+    <icon src="icon.png"/>
+    <name>app-uri-scheme-app-id-not-null</name>
+</widget>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/icon.png b/tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/icon.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/icon.png differ
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/index.html b/tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null/index.html
new file mode 100644 (file)
index 0000000..720d472
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+-->
+<html>
+  <head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
+    <title>WRT Test : app-uri-scheme-app-id-not-null</title>
+    <link rel="stylesheet" type="text/css" href="css/style.css"/>
+    <script src="js/main.js"></script>
+    <script type="text/javascript">
+        function test() {
+            var _my_pic_path = "app://tWlcV8KroQ.app-uri-scheme-scheme-is-null/index.html";
+            window.location.href = _my_pic_path;
+        }
+    </script>
+  </head>
+  <body onload="test();">
+    <p>Pass ï¼š If you see a picture on the screen</p>
+  </body>
+</html>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-app-id-null/config.xml b/tct-rt02-wrt-tests/app-uri-scheme-app-id-null/config.xml
new file mode 100644 (file)
index 0000000..8e99460
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/app-uri-scheme-app-id-null" version="1.0.0" viewmodes="maximized">
+    <tizen:application id="wrt3uri091.AppUriSchemeAppIdNull" package="wrt3uri091" required_version="2.1"/>
+    <content src="index.html"/>
+    <icon src="icon.png"/>
+    <name>app-uri-scheme-app-id-null</name>
+</widget>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-app-id-null/icon.png b/tct-rt02-wrt-tests/app-uri-scheme-app-id-null/icon.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-rt02-wrt-tests/app-uri-scheme-app-id-null/icon.png differ
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-app-id-null/index.html b/tct-rt02-wrt-tests/app-uri-scheme-app-id-null/index.html
new file mode 100644 (file)
index 0000000..b4377c0
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+
+-->
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
+    <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
+    <title>WRT Test : app-uri-scheme-app-id-null</title>
+    <link rel="stylesheet" type="text/css" href="css/style.css"/>
+    <script src="js/main.js"></script>
+    <script type="text/javascript">
+        function test() {
+            var _my_pic_path = "app://index.html";
+            window.location.href = _my_pic_path;
+    }
+    </script>
+  </head>
+  <body onload="test();">
+    <p>PASS: If you can not see a picture on the screen</p>
+  </body>
+</html>
index 3cad197..5a2108b 100644 (file)
@@ -53,14 +53,14 @@ Authors:
             var _my_image_path = "widget://Lighthouse.jpg";
             document.getElementById("_img_id").setAttribute("src", _my_image_path);
             if (document.getElementById("_img_id").getAttribute("src") == _my_image_path) {
-                alert("Pass : true");
+                alert("Pass : True");
             }
         }
         function testForButMp3() {
             var _my_mp3_path = "widget://Kalimba.mp3";
             document.getElementById("_my_mp3").setAttribute("src", _my_mp3_path);
             if (document.getElementById("_my_mp3").getAttribute("src") == _my_mp3_path) {
-                alert("Pass : true");
+                alert("Pass : True");
             }
         }
         function changeForTxt() {
@@ -81,16 +81,16 @@ Authors:
   <body onload="test();">
     <table>
        <tr>
-       <td><a onClick="testForButImage();">Pass : When you click me you will see "True"  </a><img alt="" id="_img_id" src=""></td>
+       <td><a onClick="testForButImage();">Pass : when you click me, a dialog with message "Pass : True" will be popped up.</a><img alt="" id="_img_id" src=""></td>
        </tr>
        <tr>
-       <td><a onClick="testForButMp3();">Pass : When you click me you will see "True"</a> <audio src="" id="_my_mp3" controls="controls">Your browser does not support the audio tag.</audio></td>
+       <td><a onClick="testForButMp3();">Pass : when you click me, a dialog with message "Pass : True" will be popped up.</a> <audio src="" id="_my_mp3" controls="controls">Your browser does not support the audio tag.</audio></td>
        </tr>
        <tr>
-       <td> <textarea onchange="changeForTxt();">Pass : when you are change me, you will see "True"</textarea> </td>
+       <td> <textarea onchange="changeForTxt();">Pass : when you change me, a dialog with message "Pass : True" will be popped up.</textarea> </td>
        </tr>
        <tr>
-       <td><button onClick="clickMe();">Pass : When you click me you will see "True"</button></td>
+       <td><button onClick="clickMe();">Pass : when you click me, a dialog with message "Pass : True" will be popped up.</button></td>
        </tr>
     </table>
   </body>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-for-img/config.xml b/tct-rt02-wrt-tests/app-uri-scheme-for-img/config.xml
new file mode 100644 (file)
index 0000000..5410b2b
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/app-uri-scheme-for-img" version="1.0.0" viewmodes="maximized">
+    <tizen:application id="wrt3uri089.AppUriSchemeForImg" package="wrt3uri089" required_version="2.1"/>
+    <content src="index.html"/>
+    <icon src="icon.png"/>
+    <name>app-uri-scheme-for-img</name>
+</widget>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-for-img/icon.png b/tct-rt02-wrt-tests/app-uri-scheme-for-img/icon.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-rt02-wrt-tests/app-uri-scheme-for-img/icon.png differ
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-for-img/index.html b/tct-rt02-wrt-tests/app-uri-scheme-for-img/index.html
new file mode 100644 (file)
index 0000000..3926c75
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+-->
+<html>
+  <head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
+    <title>WRT Test : app-uri-scheme-for-img</title>
+    <link rel="stylesheet" type="text/css" href="css/style.css"/>
+    <script src="js/main.js"></script>
+    <script type="text/javascript">
+        function test() {
+            var _my_pic_path = "app://wrt3uri082.app-uri-scheme-scheme-is-null/Lighthouse.jpg";
+            window.location.href = _my_pic_path;
+        }
+      </script>
+  </head>
+  <body onload="test();">
+    <p> Pass : if you see a picture on the screen</p>
+  </body>
+</html>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/config.xml b/tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/config.xml
new file mode 100644 (file)
index 0000000..2b3fd4d
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/app-uri-scheme-for-root-origin" version="1.0.0" viewmodes="maximized">
+    <tizen:application id="wrt3uri087.AppUriSchemeForRootOrigin" package="wrt3uri087" required_version="2.1"/>
+    <content src="index.html"/>
+    <icon src="icon.png"/>
+    <name>app-uri-scheme-for-root-origin</name>
+</widget>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/icon.png b/tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/icon.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/icon.png differ
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/index.html b/tct-rt02-wrt-tests/app-uri-scheme-for-root-origin/index.html
new file mode 100644 (file)
index 0000000..23c7760
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+-->
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
+    <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
+    <title>WRT Test : app-uri-scheme-for-root-origin</title>
+    <link rel="stylesheet" type="text/css" href="css/style.css"/>
+    <script src="js/main.js"></script>
+    <script type="text/javascript">
+        function test(){
+            var _my_pic_path = "app://wrt3uri082.app-uri-scheme-scheme-is-null/index.html";
+            window.location.href = _my_pic_path;
+        }
+    </script>
+  </head>
+  <body onload="test();">
+    <p>Pass : if you see a picture on the screen</p>
+  </body>
+</html>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-index-html/config.xml b/tct-rt02-wrt-tests/app-uri-scheme-index-html/config.xml
new file mode 100644 (file)
index 0000000..c36027a
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/app-uri-scheme-index-html" version="1.0.0" viewmodes="maximized">
+    <tizen:application id="wrt3uri085.AppUriSchemeIndexHtml" package="wrt3uri085" required_version="2.1"/>
+    <content src="index.html"/>
+    <icon src="icon.png"/>
+    <name>app-uri-scheme-index-html</name>
+</widget>
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-index-html/icon.png b/tct-rt02-wrt-tests/app-uri-scheme-index-html/icon.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-rt02-wrt-tests/app-uri-scheme-index-html/icon.png differ
diff --git a/tct-rt02-wrt-tests/app-uri-scheme-index-html/index.html b/tct-rt02-wrt-tests/app-uri-scheme-index-html/index.html
new file mode 100644 (file)
index 0000000..7625c4d
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        yunfenx.hao <yunfenx.hao@intel.com>
+-->
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
+    <meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>
+    <title>WRT Test : app-uri-scheme-index-html</title>
+    <link rel="stylesheet" type="text/css" href="css/style.css"/>
+    <script src="js/main.js"></script>
+    <script type="text/javascript">
+        function test() {
+            var _my_pic_path = "app://Lighthouse.jpg"
+            document.getElementById("_my_pic_path").setAttribute("src", _my_pic_path);
+        }
+    </script>
+  </head>
+  <body onload="test();">
+    <p>Pass : if you see a picture on the screen</p>  
+    <img alt="" id="_my_pic_path" src="">
+  </body>
+</html>
index 8fea144..658042b 100644 (file)
@@ -66,10 +66,10 @@ Authors:
   </head>
   <body>
     <p><b>CSS3 Animation Test:</b> </br>
-    1.When the moving block turn to yellow color (the right-side of the block arrived in 300px), press the "Home" button on device.</br>
-    Expcted:turn to the home screen.</br>
-    2.Hold on longer than 10 seconds then turn back to this page by click the icon on the home screen or use the command "wrt-launcher -s wrt3css172".</br>
-    Expcted:the block turned into bule color and the right-side of the block arrived at 500px and slowly moving to the right</br>
+    1.When the moving block turns to yellow color (the right-side of the block arrived in 300px), press the "Home" button on device.</br>
+    Expcted:it turned to the home screen.</br>
+    2.Wait for more than 10 seconds and then turn back to this widget by clicking the icon on the home screen or using the command "wrt-launcher -s wrt3css172".</br>
+    Expcted:the block continuously turning the color from yellow to blue, and became dark bule when arrived at 500px.</br>
     </p>
     <p>0px- - - - - - - - - - - - - - - - - - - 300px - - - - - - - - - - - - 500px</p>
     <p style="border-top:1px solid #ccc;width:300px;"   ></p>
@@ -78,4 +78,3 @@ Authors:
     <input type="button" value="RELOAD" onclick="javascript:window.top.location.reload()" />
   </body>
 </html>
-
index 2df6ac9..66e39a1 100644 (file)
@@ -64,10 +64,10 @@ Authors:
   </head>
   <body>
     <p><b>CSS3 Animation Test:</b> </br>
-    1.When the moving block turn to yellow color (the right-side of the block arrived in 300px), press the "Home" button on device.</br>
-    Expcted:turn to the home screen.</br>
-    2.Hold on longer than 10 seconds then turn back to this page by click the icon on the home screen or use the command "wrt-launcher -s wrt3css171".</br>
-    Expcted:the block continue turn the color from yellow to blue, and became really bule when arrived at 500px</br>
+    1.When the moving block turns to yellow color (the right-side of the block arrived in 300px), press the "Home" button on device.</br>
+    Expcted:it turned to the home screen.</br>
+    2.Wait for more than 10 seconds and then turn back to this widget by clicking the icon on the home screen or using the command "wrt-launcher -s wrt3css171".</br>
+    Expcted:the block continuously turning the color from yellow to blue, and became dark bule when arrived at 500px.</br>
     </p>
     <p>0px- - - - - - - - - - - - - - - - - - - 300px - - - - - - - - - - - - 500px</p>
     <p style="border-top:1px solid #ccc;width:300px;"   ></p>
@@ -76,4 +76,3 @@ Authors:
     <input type="button" value="RELOAD" onclick="javascript:window.top.location.reload()" />
   </body>
 </html>
-
index a4511c8..5b65375 100644 (file)
@@ -65,9 +65,9 @@ Authors:
   <body>
     <p><b>CSS3 Animation Test:</b> </br>
     1.When the moving block turn to yellow color (the right-side of the block arrived in 300px), press the "Home" button on device.</br>
-    Expcted:turn to the home screen.</br>
-    2.Hold on longer than 10 seconds then turn back to this page by click the icon on the home screen or use the command "wrt-launcher -s wrt3css170".</br>
-    Expcted:the block turned into bule color and the right-side of the block arrived at 500px and slowly moving to the right</br>
+    Expcted:it turned to the home screen.</br>
+    2.Wait for more than 10 seconds and then turn back to this widget by clicking the icon on the home screen or using the command "wrt-launcher -s wrt3css170".</br>
+    Expcted:the block continuously turning the color from yellow to blue, and became dark bule when arrived at 500px.</br>
     </p>
     <p>0px- - - - - - - - - - - - - - - - - - - 300px - - - - - - - - - - - - 500px</p>
     <p style="border-top:1px solid #ccc;width:300px;"   ></p>
@@ -76,4 +76,3 @@ Authors:
     <input type="button" value="RELOAD" onclick="javascript:window.top.location.reload()" />
   </body>
 </html>
-
index 465548b..6009299 100644 (file)
@@ -34,45 +34,45 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <meta name="viewport"
-       content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 <meta name="description"
-       content="Tizen basic template generated by Tizen Web IDE" />
+    content="Tizen basic template generated by Tizen Web IDE" />
 <title>WRT Test: dom-events-div-mouse-ondrag</title>
 <link rel="stylesheet" type="text/css" href="css/style.css" />
 <style type="text/css">
 #div1 {
-       width: 100px;
-       height: 100px;
-       padding: 10px;
-       border: 1px solid #aaaaaa;
+    width: 100px;
+    height: 100px;
+    padding: 10px;
+    border: 1px solid #aaaaaa;
 }
 </style>
 <script type="text/javascript">
-       function opeFun() {
-               var lab_msg = document.getElementById("lab_msg");
-               lab_msg.innerHTML = "Pass";
-       }
-       function allowDrop(ev) {
-               ev.preventDefault();
-       }
+    function opeFun() {
+        var lab_msg = document.getElementById("lab_msg");
+        lab_msg.innerHTML = "Pass";
+    }
+    function allowDrop(ev) {
+        ev.preventDefault();
+    }
 
-       function drag(ev) {
-               ev.dataTransfer.setData("Text", ev.target.id);
-       }
+    function drag(ev) {
+        ev.dataTransfer.setData("Text", ev.target.id);
+    }
 
-       function drop(ev) {
-               ev.preventDefault();
-               var data = ev.dataTransfer.getData("Text");
-               ev.target.appendChild(document.getElementById(data));
-       }
+    function drop(ev) {
+        ev.preventDefault();
+        var data = ev.dataTransfer.getData("Text");
+        ev.target.appendChild(document.getElementById(data));
+    }
 </script>
 </head>
 <body>
-       <p>Please put the picture drag-and-drop to rectangular:</p>
-       <div id="div1" ondrop="drop(event)"
-                                       ondragover="allowDrop(event)"></div>
-       <img id="drag1" src="icon.png" draggable="true" ondrag="opeFun();"
-               ondragstart="drag(event)" />
-       <label id="lab_msg" style="color: blue"></label>
+    <p>Please drag-and-drop the picture to the rectangular:</p>
+    <div id="div1" ondrop="drop(event)"
+                    ondragover="allowDrop(event)"></div>
+    <img id="drag1" src="icon.png" draggable="true" ondrag="opeFun();"
+        ondragstart="drag(event)" />
+    <label id="lab_msg" style="color: blue"></label>
 </body>
 </html>
index 928d694..5745a15 100644 (file)
@@ -34,45 +34,45 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <meta name="viewport"
-       content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 <meta name="description"
-       content="Tizen basic template generated by Tizen Web IDE" />
+    content="Tizen basic template generated by Tizen Web IDE" />
 <title>WRT Test: dom-events-div-mouse-ondragend</title>
 <link rel="stylesheet" type="text/css" href="css/style.css" />
 <style type="text/css">
 #div1 {
-       width: 100px;
-       height: 100px;
-       padding: 10px;
-       border: 1px solid #aaaaaa;
+    width: 100px;
+    height: 100px;
+    padding: 10px;
+    border: 1px solid #aaaaaa;
 }
 </style>
 <script type="text/javascript">
-       function opeFun() {
-               var lab_msg = document.getElementById("lab_msg");
-               lab_msg.innerHTML = "Pass";
-       }
-       function allowDrop(ev) {
-               ev.preventDefault();
-       }
+    function opeFun() {
+        var lab_msg = document.getElementById("lab_msg");
+        lab_msg.innerHTML = "Pass";
+    }
+    function allowDrop(ev) {
+        ev.preventDefault();
+    }
 
-       function drag(ev) {
-               ev.dataTransfer.setData("Text", ev.target.id);
-       }
+    function drag(ev) {
+        ev.dataTransfer.setData("Text", ev.target.id);
+    }
 
-       function drop(ev) {
-               ev.preventDefault();
-               var data = ev.dataTransfer.getData("Text");
-               ev.target.appendChild(document.getElementById(data));
-       }
+    function drop(ev) {
+        ev.preventDefault();
+        var data = ev.dataTransfer.getData("Text");
+        ev.target.appendChild(document.getElementById(data));
+    }
 </script>
 </head>
 <body>
-       <p>Please put the picture drag-and-drop to rectangular:</p>
-       <div id="div1" ondrop="drop(event)" ondragend="opeFun();"
-                                       ondragover="allowDrop(event)"></div>
-       <img id="drag1" src="icon.png" draggable="true"
-               ondragstart="drag(event)" />
-       <label id="lab_msg" style="color: blue"></label>
+    <p>Please drag-and-drop the picture to the rectangular:</p>
+    <div id="div1" ondrop="drop(event)" ondragend="opeFun();"
+                    ondragover="allowDrop(event)"></div>
+    <img id="drag1" src="icon.png" draggable="true"
+        ondragstart="drag(event)" />
+    <label id="lab_msg" style="color: blue"></label>
 </body>
 </html>
index b56c7ae..96c0946 100644 (file)
@@ -34,45 +34,45 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <meta name="viewport"
-       content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 <meta name="description"
-       content="Tizen basic template generated by Tizen Web IDE" />
+    content="Tizen basic template generated by Tizen Web IDE" />
 <title>WRT Test: dom-events-div-mouse-ondragenter</title>
 <link rel="stylesheet" type="text/css" href="css/style.css" />
 <style type="text/css">
 #div1 {
-       width: 100px;
-       height: 100px;
-       padding: 10px;
-       border: 1px solid #aaaaaa;
+    width: 100px;
+    height: 100px;
+    padding: 10px;
+    border: 1px solid #aaaaaa;
 }
 </style>
 <script type="text/javascript">
-       function opeFun() {
-               var lab_msg = document.getElementById("lab_msg");
-               lab_msg.innerHTML = "Pass";
-       }
-       function allowDrop(ev) {
-               ev.preventDefault();
-       }
+    function opeFun() {
+        var lab_msg = document.getElementById("lab_msg");
+        lab_msg.innerHTML = "Pass";
+    }
+    function allowDrop(ev) {
+        ev.preventDefault();
+    }
 
-       function drag(ev) {
-               ev.dataTransfer.setData("Text", ev.target.id);
-       }
+    function drag(ev) {
+        ev.dataTransfer.setData("Text", ev.target.id);
+    }
 
-       function drop(ev) {
-               ev.preventDefault();
-               var data = ev.dataTransfer.getData("Text");
-               ev.target.appendChild(document.getElementById(data));
-       }
+    function drop(ev) {
+        ev.preventDefault();
+        var data = ev.dataTransfer.getData("Text");
+        ev.target.appendChild(document.getElementById(data));
+    }
 </script>
 </head>
 <body>
-       <p>Please put the picture drag-and-drop to rectangular:</p>
-       <div id="div1" ondrop="drop(event)" ondragenter="opeFun();"
-                                       ondragover="allowDrop(event)"></div>
-       <img id="drag1" src="icon.png" draggable="true"
-               ondragstart="drag(event)" />
-       <label id="lab_msg" style="color: blue"></label>
+    <p>Please drag-and-drop the picture to the rectangular:</p>
+    <div id="div1" ondrop="drop(event)" ondragenter="opeFun();"
+                    ondragover="allowDrop(event)"></div>
+    <img id="drag1" src="icon.png" draggable="true"
+        ondragstart="drag(event)" />
+    <label id="lab_msg" style="color: blue"></label>
 </body>
 </html>
index 625d66c..910bfaa 100644 (file)
@@ -34,45 +34,45 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <meta name="viewport"
-       content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 <meta name="description"
-       content="Tizen basic template generated by Tizen Web IDE" />
+    content="Tizen basic template generated by Tizen Web IDE" />
 <title>WRT Test: dom-events-div-mouse-ondragleave</title>
 <link rel="stylesheet" type="text/css" href="css/style.css" />
 <style type="text/css">
 #div1 {
-       width: 100px;
-       height: 100px;
-       padding: 10px;
-       border: 1px solid #aaaaaa;
+    width: 100px;
+    height: 100px;
+    padding: 10px;
+    border: 1px solid #aaaaaa;
 }
 </style>
 <script type="text/javascript">
-       function opeFun() {
-               var lab_msg = document.getElementById("lab_msg");
-               lab_msg.innerHTML = "Pass";
-       }
-       function allowDrop(ev) {
-               ev.preventDefault();
-       }
+    function opeFun() {
+        var lab_msg = document.getElementById("lab_msg");
+        lab_msg.innerHTML = "Pass";
+    }
+    function allowDrop(ev) {
+        ev.preventDefault();
+    }
 
-       function drag(ev) {
-               ev.dataTransfer.setData("Text", ev.target.id);
-       }
+    function drag(ev) {
+        ev.dataTransfer.setData("Text", ev.target.id);
+    }
 
-       function drop(ev) {
-               ev.preventDefault();
-               var data = ev.dataTransfer.getData("Text");
-               ev.target.appendChild(document.getElementById(data));
-       }
+    function drop(ev) {
+        ev.preventDefault();
+        var data = ev.dataTransfer.getData("Text");
+        ev.target.appendChild(document.getElementById(data));
+    }
 </script>
 </head>
 <body>
-       <p>Please put the picture drag-and-drop to rectangular:</p>
-       <div id="div1" ondrop="drop(event)" ondragleave="opeFun();"
-                                       ondragover="allowDrop(event)"></div>
-       <img id="drag1" src="icon.png" draggable="true"
-               ondragstart="drag(event)" />
-       <label id="lab_msg" style="color: blue"></label>
+    <p>Please drag-and-drop the picture to the rectangular, then drag-and-drop the picture to the rectangular outside:</p>
+    <div id="div1" ondrop="drop(event)" ondragleave="opeFun();"
+                    ondragover="allowDrop(event)"></div>
+    <img id="drag1" src="icon.png" draggable="true"
+        ondragstart="drag(event)" />
+    <label id="lab_msg" style="color: blue"></label>
 </body>
 </html>
index e79aed5..ed92112 100644 (file)
@@ -34,46 +34,46 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <meta name="viewport"
-       content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 <meta name="description"
-       content="Tizen basic template generated by Tizen Web IDE" />
+    content="Tizen basic template generated by Tizen Web IDE" />
 <title>WRT Test: dom-events-div-mouse-ondragover</title>
 <link rel="stylesheet" type="text/css" href="css/style.css" />
 <style type="text/css">
 #div1 {
-       width: 100px;
-       height: 100px;
-       padding: 10px;
-       border: 1px solid #aaaaaa;
+    width: 100px;
+    height: 100px;
+    padding: 10px;
+    border: 1px solid #aaaaaa;
 }
 </style>
 <script type="text/javascript">
-       function opeFun() {
-               var lab_msg = document.getElementById("lab_msg");
-               lab_msg.innerHTML = "Pass";
-       }
-       function allowDrop(ev) {
-           opeFun();
-               ev.preventDefault();
-       }
+    function opeFun() {
+        var lab_msg = document.getElementById("lab_msg");
+        lab_msg.innerHTML = "Pass";
+    }
+    function allowDrop(ev) {
+        opeFun();
+        ev.preventDefault();
+    }
 
-       function drag(ev) {
-               ev.dataTransfer.setData("Text", ev.target.id);
-       }
+    function drag(ev) {
+        ev.dataTransfer.setData("Text", ev.target.id);
+    }
 
-       function drop(ev) {
-               ev.preventDefault();
-               var data = ev.dataTransfer.getData("Text");
-               ev.target.appendChild(document.getElementById(data));
-       }
+    function drop(ev) {
+        ev.preventDefault();
+        var data = ev.dataTransfer.getData("Text");
+        ev.target.appendChild(document.getElementById(data));
+    }
 </script>
 </head>
 <body>
-       <p>Please put the picture drag-and-drop to rectangular:</p>
-       <div id="div1" ondrop="drop(event)"
-                                       ondragover="allowDrop(event)"></div>
-       <img id="drag1" src="icon.png" draggable="true"
-               ondragstart="drag(event)" />
-       <label id="lab_msg" style="color: blue"></label>
+    <p>Please drag-and-drop the picture to the rectangular:</p>
+    <div id="div1" ondrop="drop(event)"
+                    ondragover="allowDrop(event)"></div>
+    <img id="drag1" src="icon.png" draggable="true"
+        ondragstart="drag(event)" />
+    <label id="lab_msg" style="color: blue"></label>
 </body>
 </html>
index 203f313..6b409c2 100644 (file)
@@ -34,46 +34,46 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <meta name="viewport"
-       content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 <meta name="description"
-       content="Tizen basic template generated by Tizen Web IDE" />
+    content="Tizen basic template generated by Tizen Web IDE" />
 <title>WRT Test: dom-events-div-mouse-ondragstart</title>
 <link rel="stylesheet" type="text/css" href="css/style.css" />
 <style type="text/css">
 #div1 {
-       width: 100px;
-       height: 100px;
-       padding: 10px;
-       border: 1px solid #aaaaaa;
+    width: 100px;
+    height: 100px;
+    padding: 10px;
+    border: 1px solid #aaaaaa;
 }
 </style>
 <script type="text/javascript">
-       function opeFun() {
-               var lab_msg = document.getElementById("lab_msg");
-               lab_msg.innerHTML = "Pass";
-       }
-       function allowDrop(ev) {
-               ev.preventDefault();
-       }
+    function opeFun() {
+        var lab_msg = document.getElementById("lab_msg");
+        lab_msg.innerHTML = "Pass";
+    }
+    function allowDrop(ev) {
+        ev.preventDefault();
+    }
 
-       function drag(ev) {
-               opeFun();
-               ev.dataTransfer.setData("Text", ev.target.id);
-       }
+    function drag(ev) {
+        opeFun();
+        ev.dataTransfer.setData("Text", ev.target.id);
+    }
 
-       function drop(ev) {
-               ev.preventDefault();
-               var data = ev.dataTransfer.getData("Text");
-               ev.target.appendChild(document.getElementById(data));
-       }
+    function drop(ev) {
+        ev.preventDefault();
+        var data = ev.dataTransfer.getData("Text");
+        ev.target.appendChild(document.getElementById(data));
+    }
 </script>
 </head>
 <body>
-       <p>Please put the picture drag-and-drop to rectangular:</p>
-       <div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
-       <br />
-       <img id="drag1" src="icon.png" draggable="true"
-               ondragstart="drag(event)" />
-       <label id="lab_msg" style="color: blue"></label>
+    <p>Please drag-and-drop the picture to the rectangular:</p>
+    <div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
+    <br />
+    <img id="drag1" src="icon.png" draggable="true"
+        ondragstart="drag(event)" />
+    <label id="lab_msg" style="color: blue"></label>
 </body>
 </html>
index dab27dc..4b0f948 100644 (file)
@@ -34,46 +34,46 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <meta name="viewport"
-       content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 <meta name="description"
-       content="Tizen basic template generated by Tizen Web IDE" />
+    content="Tizen basic template generated by Tizen Web IDE" />
 <title>WRT Test: dom-events-div-mouse-ondrop</title>
 <link rel="stylesheet" type="text/css" href="css/style.css" />
 <style type="text/css">
 #div1 {
-       width: 100px;
-       height: 100px;
-       padding: 10px;
-       border: 1px solid #aaaaaa;
+    width: 100px;
+    height: 100px;
+    padding: 10px;
+    border: 1px solid #aaaaaa;
 }
 </style>
 <script type="text/javascript">
-       function opeFun() {
-               var lab_msg = document.getElementById("lab_msg");
-               lab_msg.innerHTML = "Pass";
-       }
-       function allowDrop(ev) {
-               ev.preventDefault();
-       }
+    function opeFun() {
+        var lab_msg = document.getElementById("lab_msg");
+        lab_msg.innerHTML = "Pass";
+    }
+    function allowDrop(ev) {
+        ev.preventDefault();
+    }
 
-       function drag(ev) {
-               ev.dataTransfer.setData("Text", ev.target.id);
-       }
+    function drag(ev) {
+        ev.dataTransfer.setData("Text", ev.target.id);
+    }
 
-       function drop(ev) {
-           opeFun();
-               ev.preventDefault();
-               var data = ev.dataTransfer.getData("Text");
-               ev.target.appendChild(document.getElementById(data));
-       }
+    function drop(ev) {
+        opeFun();
+        ev.preventDefault();
+        var data = ev.dataTransfer.getData("Text");
+        ev.target.appendChild(document.getElementById(data));
+    }
 </script>
 </head>
 <body>
-       <p>Please put the picture drag-and-drop to rectangular:</p>
-       <div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
-       <br />
-       <img id="drag1" src="icon.png" draggable="true"
-               ondragstart="drag(event)" />
-       <label id="lab_msg" style="color: blue"></label>
+    <p>Please drag-and-drop the picture to the rectangular:</p>
+    <div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
+    <br />
+    <img id="drag1" src="icon.png" draggable="true"
+        ondragstart="drag(event)" />
+    <label id="lab_msg" style="color: blue"></label>
 </body>
 </html>
index e0867a7..df5e494 100644 (file)
@@ -50,12 +50,10 @@ Authors:
     </script>
   </head>
   <body onload = onloaded()>
-    <p>1.Press the home key to hidden the widget</p>
-    <p>2.Hold on home key for 3 seconds and switch back to the widget</p>
-    <p>3.Look at the result is Pass or Fail</p>
+    <p>1.Press the home key to hide the widget.</p>
+    <p>2.Hold on home key for 3 seconds and switch back to the widget.</p>
+    <p>3.Observe the result.</p>
     <div>Result:</div>
     <div id="result"><p style="color:red">Fail</p></div>
   </body>
 </html>
-
-
index df2d65a..63c5fd0 100644 (file)
@@ -45,8 +45,8 @@ Authors:
     </script>
   </head>
   <body>
-    <p>1.Press the button "Launch"</p>
-    <p>Pass if turn to another page,then the screen shows "pass".</p>
+    <p>1.Press the button "Launch".</p>
+    <p>Pass : if it turns to another page, and the screen shows "Pass" in the new page.</p>
     <input type = "button" value = "Launch" onclick="ClickButton()"/>
   </body>
 </html>
diff --git a/tct-rt02-wrt-tests/other-uri-index/config.xml b/tct-rt02-wrt-tests/other-uri-index/config.xml
new file mode 100644 (file)
index 0000000..b1e5443
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget id="http://tizen.org/other-uri-index" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
+  <content src="index.html"/>
+  <icon src="custom.png" height="123" width="123"/>
+  <name>other-uri-index</name>
+  <tizen:application id="wrt3oui102.OtherUriIndex" package="wrt3oui102" required_version="2.1"/>
+</widget>
\ No newline at end of file
diff --git a/tct-rt02-wrt-tests/other-uri-index/custom.png b/tct-rt02-wrt-tests/other-uri-index/custom.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-rt02-wrt-tests/other-uri-index/custom.png differ
diff --git a/tct-rt02-wrt-tests/other-uri-index/index.html b/tct-rt02-wrt-tests/other-uri-index/index.html
new file mode 100644 (file)
index 0000000..9774fbc
--- /dev/null
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        Hao, Yunfei <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: other-uri-index</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check if WRT allow to access to the index file of the widget." />
+    <meta charset="utf-8">
+    <script language="javascript" type="text/javascript">
+      function ClickButton(){
+        window.open('widget://index2.html');
+      }
+  </script>
+  </head>
+  <body>
+    <p>1.Press the button "Launch".</p>
+    <p>Pass : if it turns to another page.</p>
+    <input type = "button" value = "Launch" onclick="ClickButton()"/>
+  </body>
+</html>
diff --git a/tct-rt02-wrt-tests/other-uri-index/index2.html b/tct-rt02-wrt-tests/other-uri-index/index2.html
new file mode 100644 (file)
index 0000000..707b4fa
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        Hao, Yunfei <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: other-uri-index-test</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Test file." />
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <p><br><br><br></p>
+    <p>Pass</p>
+  </body>
+</html>
index 2191b7f..653568b 100644 (file)
@@ -45,14 +45,14 @@ Authors:
         var img = document.createElement("img");
         img.src = "widget://abcde/custom.png";
         document.body.appendChild(img);
-        document.write("the pictures can not be appeared");
+        document.write("There is no picture can be shown.");
       }
     </script>
   </head>
   <body>
     <div id="div1">
-    <p>1.Press the button "Launch"</p>
-    <p>Pass if the pictures can not be appeared on the screen.</p>
+    <p>1.Press the button "Launch".</p>
+    <p>Pass : if no picture can be shown on the screen.</p>
     <input type = "button" value = "Launch" onclick="ClickButton()"/>
     </div>
   </body>
diff --git a/tct-rt02-wrt-tests/other-uri-port/config.xml b/tct-rt02-wrt-tests/other-uri-port/config.xml
new file mode 100644 (file)
index 0000000..fb29341
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget id="http://tizen.org/other-uri-port" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
+  <content src="index.html"/>
+  <icon src="custom.png" height="123" width="123"/>
+  <name>other-uri-port</name>
+  <tizen:application id="wrt3ouh108.OtherUriPort" package="wrt3ouh108" required_version="2.1"/>
+</widget>
diff --git a/tct-rt02-wrt-tests/other-uri-port/custom.png b/tct-rt02-wrt-tests/other-uri-port/custom.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-rt02-wrt-tests/other-uri-port/custom.png differ
diff --git a/tct-rt02-wrt-tests/other-uri-port/index.html b/tct-rt02-wrt-tests/other-uri-port/index.html
new file mode 100644 (file)
index 0000000..e2d755c
--- /dev/null
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        Hao, Yunfei <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: other-uri-port</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check if WRT supports the widget uri component : port." />
+    <meta charset="utf-8">
+    <script language="javascript" type="text/javascript">
+      function ClickButton(){
+        window.open('widget://index2.html');
+      }
+    </script>
+  </head>
+  <body>
+    <p>1.Press the button "Launch".</p>
+    <p>Pass : if it turns to another page, and the screen shows "Pass" in the new page.</p>
+    <input type = "button" value = "Launch" onclick="ClickButton()"/>
+  </body>
+</html>
diff --git a/tct-rt02-wrt-tests/other-uri-port/index2.html b/tct-rt02-wrt-tests/other-uri-port/index2.html
new file mode 100644 (file)
index 0000000..57ea951
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        Hao, Yunfei <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: other-uri-port-test</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Test file." />
+    <meta charset="utf-8">
+    <script language="javascript" type="text/javascript">
+      if(window.location.port == ""){
+        document.write("<br><br><br>");
+        document.write("Pass");
+      }else{
+        document.write("<br><br><br>");
+        document.write("fail");
+      }
+    </script>
+  </head>
+  <body>
+  </body>
+</html>
index fa6fa83..9233015 100644 (file)
@@ -45,14 +45,14 @@ Authors:
         var img = document.createElement("img");
         img.src = "widg://custom.png";
         document.body.appendChild(img);
-        document.write("the pictures can not be appeared");
+        document.write("No picture can be shown.");
       }
     </script>
   </head>
   <body>
     <div id="div1">
-    <p>Press the button "Launch"</p>
-    <p>Pass if the pictures can not be appeared on the screen.</p>
+    <p>1.Press the button "Launch".</p>
+    <p>Pass : if no picture can be shown on the new page.</p>
     <input type = "button" value = "Launch" onclick="ClickButton()"/>
   </body>
 </html>
index 8953523..e4156d0 100644 (file)
@@ -45,14 +45,14 @@ Authors:
         var img = document.createElement("img");
         img.src = "://custom.png";
         document.body.appendChild(img);
-        document.write("the pictures can not be appeared");
+        document.write("No picture can be shown.");
       }
     </script>
   </head>
   <body>
     <div id="div1">
-    <p>Press the button "Launch"</p>
-    <p>Pass if the pictures can not be appeared on the screen.</p>
+    <p>1.Press the button "Launch".</p>
+    <p>Pass : if no picture can be shown on the new page.</p>
     <input type = "button" value = "Launch" onclick="ClickButton()"/>
   </body>
 </html>
diff --git a/tct-rt02-wrt-tests/other-uri-scheme/config.xml b/tct-rt02-wrt-tests/other-uri-scheme/config.xml
new file mode 100644 (file)
index 0000000..4265dfe
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget id="http://tizen.org/other-uri-scheme" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
+  <content src="index.html"/>
+  <icon src="custom.png" height="123" width="123"/>
+  <name>other-uri-scheme</name>
+  <tizen:application id="wrt3ouh109.OtherUriScheme" package="wrt3ouh109" required_version="2.1"/>
+</widget>
diff --git a/tct-rt02-wrt-tests/other-uri-scheme/custom.png b/tct-rt02-wrt-tests/other-uri-scheme/custom.png
new file mode 100644 (file)
index 0000000..6bdebd1
Binary files /dev/null and b/tct-rt02-wrt-tests/other-uri-scheme/custom.png differ
diff --git a/tct-rt02-wrt-tests/other-uri-scheme/index.html b/tct-rt02-wrt-tests/other-uri-scheme/index.html
new file mode 100644 (file)
index 0000000..5b56238
--- /dev/null
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        Hao, Yunfei <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: other-uri-scheme</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check if WRT supports the widget uri component : scheme." />
+    <meta charset="utf-8">
+    <script language="javascript" type="text/javascript">
+      function ClickButton(){
+        window.open('widget://index2.html');
+      }
+    </script>
+  </head>
+  <body>
+    <p>1.Press the button "Launch".</p>
+    <p>Pass : if it turns to another page, and the screen shows "Pass" in the new page.</p>
+    <input type = "button" value = "Launch" onclick="ClickButton()"/>
+  </body>
+</html>
diff --git a/tct-rt02-wrt-tests/other-uri-scheme/index2.html b/tct-rt02-wrt-tests/other-uri-scheme/index2.html
new file mode 100644 (file)
index 0000000..73f35cd
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 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:
+        Hao, Yunfei <yunfenx.hao@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>WRT Test: other-uri-scheme-test</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Test file." />
+    <meta charset="utf-8">
+    <script language="javascript" type="text/javascript">
+      if(window.location.protocol === "widget:"){
+        document.write("<br><br><br>");
+        document.write("Pass");
+      }else{
+        document.write("<br><br><br>");
+        document.write("fail");
+      }
+    </script>
+  </head>
+  <body>
+  </body>
+</html>
index 9cb7233..b313ba4 100644 (file)
             </step>
             <step order="3">
               <step_desc>Click the link "http://www.baidu.com/gaoji/preferences.html"</step_desc>
-              <expected>"http://www.baidu.com/gaoji/preferences.html" is opened successfully in this widget.</expected>
+              <expected>"http://www.baidu.com/gaoji/preferences.html" is not opened in this widget.</expected>
             </step>
             <step order="4">
               <step_desc>Click the link "http://www.neusoft.com".</step_desc>
       </testcase>
       <testcase component="Web/Runtime/WebApplicationRuntime" id="other-localization-description-default" execution_type="manual" purpose="Check if WRT supports default localization of description." priority="P2" status="approved" type="Functional positive">
         <description>
-          <pre_condition>Make sure WRT is installed;Any language except from Korean and English should be additionally chosen on target device</pre_condition>
+          <pre_condition>Make sure WRT is installed;Make sure the local language is Chinese</pre_condition>
           <post_condition>Get the 'application id' of other-localization-description.wgt with the command :"wrt-launcher -l" and uninstall the other-localization-description.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
           <steps>
             <step order="1">
           </spec>
         </specs>
       </testcase>
+      <testcase purpose="Check if WRT is allowed to access the index file of the widget" type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntime" execution_type="manual" priority="P3" id="other-uri-index">
+        <description>
+          <pre_condition>Make sure the other-uri-index.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/other-uri-index.wgt</pre_condition>
+          <post_condition>Get the 'application id' of other-uri-index.wgt with the command :"wrt-launcher -l" and uninstall the other-uri-index.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Get the 'application id' of other-uri-index.wgt with the command :"wrt-launcher -l" and launch the other-uri-index.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>The widget application is launched.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Click the button "Launch"</step_desc>
+              <expected>Turn to another page.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="0460" specification="Other" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if WRT supports the widget uri component : port" type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntime" execution_type="manual" priority="P3" id="other-uri-port">
+        <description>
+          <pre_condition>Make sure other-uri-port.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/other-uri-port.wgt</pre_condition>
+          <post_condition>Get the 'application id' of other-uri-port.wgt with the command :"wrt-launcher -l" and uninstall the other-uri-port.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Get the 'application id' of other-uri-port.wgt with the command :"wrt-launcher -l" and launch the other-uri-port.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>The widget application is launched.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Click the button "Launch"</step_desc>
+              <expected>Turn to another page,then the screen shows "Pass".</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="0460" specification="Other" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if WRT supports the widget uri component : scheme" type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntime" execution_type="manual" priority="P3" id="other-uri-scheme">
+        <description>
+          <pre_condition/>
+          <post_condition>Get the 'application id' of other-uri-scheme.wgt with the command :"wrt-launcher -l" and uninstall the other-uri-scheme.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/other-uri-scheme.wgt</step_desc>
+              <expected>Widget application is installed, and its icon is displayed on screen.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Get the 'application id' of other-uri-scheme.wgt with the command :"wrt-launcher -l" and launch the other-uri-scheme.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>The widget application is launched.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Click the button "Launch"</step_desc>
+              <expected>Turn to another page,then the screen shows "Pass".</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="0460" specification="Other" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
       <testcase purpose="Check if WRT is unable to access the resourse internal of the widget When widget uri scheme is null." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntime" execution_type="manual" priority="P3" id="other-uri-scheme-null">
         <description>
           <pre_condition/>
           </spec>
         </specs>
       </testcase>
+      <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-app-id-null" execution_type="manual" purpose="Check if WRT does not support Web Application URI when app-id is empty" priority="P2" status="approved" type="Functional positive">
+        <description>
+          <pre_condition>Make sure app-uri-scheme-app-id-null.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-app-id-null.wgt.Download 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".</pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Push the image "Lighthouse.jpg" to device with the command : sdb push Lighthouse.jpg /opt/apps/wrt3uri091/res/wgt/</step_desc>
+              <expected>The image "Lighthouse.jpg" is in path "/opt/apps/wrt3uri091/res/wgt/".</expected>
+            </step>
+            <step order="2">
+              <step_desc>Get the 'application id' of app-uri-scheme-app-id-null.wgt with the command :"wrt-launcher -l" and launch the app-uri-scheme-app-id-null.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>The selected picture is not displayed on the screen.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Get the 'application id' of app-uri-scheme-app-id-null.wgt with the command :"wrt-launcher -l" and uninstall the app-uri-scheme-app-id-null.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
+              <expected>The application is uninstalled successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+          <notes/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="attribute" element_name="N/A" interface="0341" specification="Web Application URI Scheme" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement>The WRT MUST support Web Application URI (WebAppURI) as per following rules.</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-app-id-not-null" execution_type="manual" purpose="Check if WRT supports Web Application URI when app-id is not empty" priority="P0" status="approved" type="Functional positive">
+        <description>
+          <pre_condition>Make sure app-uri-scheme-app-id-not-null.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-app-id-not-null.wgt .WRT is installed.Download 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".</pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Push the image "Lighthouse.jpg" to device with the command : sdb push Lighthouse.jpg /opt/apps/wrt3uri092/res/wgt/</step_desc>
+              <expected>The image "Lighthouse.jpg" is in path "/opt/apps/wrt3uri092/res/wgt/"</expected>
+            </step>
+            <step order="2">
+              <step_desc>Get the 'application id' of app-uri-scheme-app-id-not-null.wgt with the command :"wrt-launcher -l" and launch the app-uri-scheme-app-id-not-null.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>The selected picture is on the screen.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Get the 'application id' of app-uri-scheme-app-id-not-null.wgt with the command :"wrt-launcher -l" and uninstall the app-uri-scheme-app-id-not-null.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
+              <expected>The application is uninstalled successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+          <notes/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="attribute" element_name="N/A" interface="0341" specification="Web Application URI Scheme" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement>The WRT MUST support Web Application URI (WebAppURI) as per following rules.</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
       <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-scheme-is-null" execution_type="manual" purpose="Check if WRT does not support Web Application URI when the scheme is empty" priority="P2" status="approved" type="Functional positive">
         <description>
           <pre_condition>Make sure app-uri-scheme-scheme-is-null.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-scheme-is-null.wgt.Make sure WRT is installed.Download a 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".</pre_condition>
           </spec>
         </specs>
       </testcase>
+      <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-for-img" execution_type="manual" purpose="Check if WRT supports HTML document even if it is a image" priority="P0" status="approved" type="Functional positive">
+        <description>
+          <pre_condition>Make sure app-uri-scheme-for-img.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-for-img.wgt.Make sure WRT is installed.Download a 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".</pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Push the image "Lighthouse.jpg" to device with the command : sdb push Lighthouse.jpg /opt/apps/wrt3uri089/res/wgt/</step_desc>
+              <expected>The image "Lighthouse.jpg" is in path "/opt/apps/wrt3uri089/res/wgt/"</expected>
+            </step>
+            <step order="2">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-img.wgt with the command :"wrt-launcher -l" and launch the app-uri-scheme-for-img.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>The selected picture is on the screen.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-img.wgt with the command :"wrt-launcher -l" and uninstall the app-uri-scheme-for-img.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
+              <expected>The application is uninstalled successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+          <notes/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="attribute" element_name="N/A" interface="0341" specification="Web Application URI Scheme" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
       <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-scheme-is-wrongful" execution_type="manual" purpose="Check if WRT does not support Web Application URI when the Scheme is invalid" priority="P1" status="approved" type="Functional positive">
         <description>
           <pre_condition>Make sure app-uri-scheme-scheme-is-wrongful.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-scheme-is-wrongful.wgt.Make sure WRT is installed.Download a 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".</pre_condition>
           </spec>
         </specs>
       </testcase>
+      <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-for-root-origin" execution_type="manual" purpose="Check if WRT treats the WebAppURI pointing to the WebApplication package root directory as the document's origin." priority="P0" status="approved" type="Functional positive">
+        <description>
+          <pre_condition>Make sure app-uri-scheme-for-root-origin.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-for-root-origin.wgt.Make sure WRT is installed.Download a 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".</pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Push the image "Lighthouse.jpg" to device with the command : sdb push Lighthouse.jpg /opt/apps/wrt3uri087/res/wgt/</step_desc>
+              <expected>The image "Lighthouse.jpg" is in path "/opt/apps/wrt3uri087/res/wgt/"</expected>
+            </step>
+            <step order="2">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-root-origin.wgt with the command :"wrt-launcher -l" and launch the app-uri-scheme-for-root-origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>The selected picture is on the screen.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-root-origin.wgt with the command :"wrt-launcher -l" and uninstall the app-uri-scheme-for-root-origin.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
+              <expected>The application is uninstalled successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+          <notes/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="attribute" element_name="N/A" interface="0342" specification="Web Application URI Scheme" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
       <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-root-origin-wrongful" execution_type="manual" purpose="Check if WRT is unable to support document's origin when WebApplication package root directory is invalid" priority="P2" status="approved" type="Functional positive">
         <description>
           <pre_condition>Make sure app-uri-scheme-for-wrong-package.wgt has been installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-for-wrong-package.wgt.Download a 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "Tulips.jpg".</pre_condition>
           </spec>
         </specs>
       </testcase>
+      <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-for-dom-properties-textarea" execution_type="manual" purpose="Check if WRT supports DOM objects' textarea properties." priority="P0" status="approved" type="Functional positive">
+        <description>
+          <pre_condition>Make sure app-uri-scheme-for-dom-properties.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-for-dom-properties.wgt.Download 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".Download mp3 file to local machine such as "c:/".Rename the downloaded file as "test.mp3".Push the image to device with the command "sdb push c:/test.mp3 /opt/media/Videos/".Rename the downloaded file as "Kalimba.mp3".</pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Push the image "Lighthouse.jpg" to device with the command : sdb push Lighthouse.jpg /opt/apps/wrt3uri090/res/wgt/</step_desc>
+              <expected>The image "Lighthouse.jpg" is in path "/opt/apps/wrt3uri090/res/wgt/"</expected>
+            </step>
+            <step order="2">
+              <step_desc>Push the mp3 file "Kalimba.mp3" to device: with the command : sdb push Kalimba.mp3 /opt/apps/wrt3uri090/res/wgt/</step_desc>
+              <expected>The mp3 file "Kalimba.mp3" is in path "/opt/apps/wrt3uri090/res/wgt/"</expected>
+            </step>
+            <step order="3">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-dom-properties.wgt with the command :"wrt-launcher -l" and launch the app-uri-scheme-for-dom-properties.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>A textarea value is "Pass : when you change me, a dialog with message 'Pass : True' will be popped up".</expected>
+            </step>
+            <step order="4">
+              <step_desc>Change the textarea value of the object</step_desc>
+              <expected>The message(Pass : True) is displayed.</expected>
+            </step>
+            <step order="5">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-dom-properties.wgt with the command :"wrt-launcher -l" and uninstall the app-uri-scheme-for-dom-properties.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
+              <expected>The application is uninstalled successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+          <notes/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="attribute" element_name="N/A" interface="0343" specification="Web Application URI Scheme" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+<testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-for-dom-properties-button" execution_type="manual" purpose="Check if WRT supports the Button of DOM objects properties." priority="P0" status="approved" type="Functional positive">
+        <description>
+          <pre_condition>Make sure app-uri-scheme-for-dom-properties.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-for-dom-properties.wgt and WRT is installed.Download 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to the device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".Download mp3 file to local machine such as "c:/".Rename the downloaded file as "test.mp3".Push the image to the device with the command "sdb push c:/test.mp3 /opt/media/Videos/".Rename the downloaded file as "Kalimba.mp3".</pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Push the image "Lighthouse.jpg" to the device with the command : sdb push Lighthouse.jpg /opt/apps/wrt3uri090/res/wgt/</step_desc>
+              <expected>The image "Lighthouse.jpg" is at the path "/opt/apps/wrt3uri090/res/wgt/"</expected>
+            </step>
+            <step order="2">
+              <step_desc>Push the mp3 file "Kalimba.mp3"to the device : with the command : sdb push Kalimba.mp3 /opt/apps/wrt3uri090/res/wgt/</step_desc>
+              <expected>The mp3 file "Kalimba.mp3" is at the path "/opt/apps/wrt3uri090/res/wgt/"</expected>
+            </step>
+            <step order="3">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-dom-properties.wgt with the command :"wrt-launcher -l" and launch the app-uri-scheme-for-dom-properties.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>A name of the button is "Pass : when you click me, a dialog with message 'Pass : True' will be popped up".</expected>
+            </step>
+            <step order="4">
+              <step_desc>Click the Button(Pass : when you click me, a dialog with message 'Pass : True' will be popped up)</step_desc>
+              <expected>The message(Pass : True).is displayed.</expected>
+            </step>
+            <step order="5">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-dom-properties.wgt with the command :"wrt-launcher -l" and uninstall the app-uri-scheme-for-dom-properties.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
+              <expected>The application is uninstalled successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+          <notes/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="attribute" element_name="N/A" interface="0343" specification="Web Application URI Scheme" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
       <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-for-dom-properties-location" execution_type="manual" purpose="Check if WRT supports DOM objects' Location properties." priority="P0" status="approved" type="Functional positive">
         <description>
           <pre_condition>Make sure app-uri-scheme-for-dom-properties.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-for-dom-properties.wgt and WRT is installed.Download 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to the device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".Download mp3 file to local machine such as "c:/".Rename the downloaded file as "test.mp3".Push the image to the device with the command "sdb push c:/test.mp3 /opt/media/Videos/".Rename the downloaded file as "Kalimba.mp3".</pre_condition>
           </spec>
         </specs>
       </testcase>
+      <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-for-package-rightful" execution_type="manual" purpose="Check if WRT supports the requested resource using WebAppURI located within the requesting WebApplication's package." priority="P0" status="approved" type="Functional positive">
+        <description>
+          <pre_condition>Make sure app-uri-scheme-for-package.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-for-package.wgt.Download 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to the device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".</pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Push the image "Lighthouse.jpg"to the device  with the command : sdb push Lighthouse.jpg /opt/apps/wrt3uri088/res/wgt/</step_desc>
+              <expected>The image "Lighthouse.jpg" is at the path "/opt/apps/wrt3uri088/res/wgt/"</expected>
+            </step>
+            <step order="2">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-package.wgt with the command :"wrt-launcher -l" and launch the app-uri-scheme-for-package.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>The selected picture is on the screen.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Get the 'application id' of app-uri-scheme-for-package.wgt with the command :"wrt-launcher -l" and uninstall the app-uri-scheme-for-package.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
+              <expected>The application is uninstalled successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+          <notes/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="attribute" element_name="N/A" interface="0344" specification="Web Application URI Scheme" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
       <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-for-package-wrongful" execution_type="manual" purpose="Check if WRT does not support the requested resource using WebAppURI breaks out of the package." priority="P2" status="approved" type="Functional positive">
         <description>
           <pre_condition>Make sure app-uri-scheme-for-wrong-package.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-for-wrong-package.wgt.</pre_condition>
           </spec>
         </specs>
       </testcase>
+      <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-index-html" execution_type="manual" purpose="Check if WRT treats access tag specified resources in configuration as origin resource." priority="P2" status="approved" type="Functional positive">
+        <description>
+          <pre_condition>Make sure app-uri-scheme-index-html.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-index-html.wgt.Download 2304x1296 PNG image to local machine such as "c:/".Rename the downloaded image as "test.png".Push the image to the device with the command "sdb push c:/test.png /opt/media/Images/".Rename the downloaded image as "Lighthouse.jpg".</pre_condition>
+          <post_condition></post_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Push the image "Lighthouse.jpg"to the device  with the command : sdb push Lighthouse.jpg /opt/apps/wrt3uri085/res/wgt/</step_desc>
+              <expected>The image "Lighthouse.jpg" is at the path "/opt/apps/wrt3uri085/res/wgt/"</expected>
+            </step>
+            <step order="2">
+              <step_desc>Get the 'application id' of app-uri-scheme-index-html.wgt with the command :"wrt-launcher -l" and launch the app-uri-scheme-index-html.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+              <expected>The selected picture is displayed on the screen.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Get the 'application id' of app-uri-scheme-index-html.wgt with the command :"wrt-launcher -l" and uninstall the app-uri-scheme-index-html.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
+              <expected>The application is uninstalled successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry test_script_expected_result="0"/>
+          <notes/>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="attribute" element_name="N/A" interface="0346" specification="Web Application URI Scheme" section="Web Application Runtime" category="Tizen WRT Core Specifications"/>
+            <spec_url/>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
       <testcase component="Web/Runtime/WebApplicationRuntime" id="app-uri-scheme-access-html" execution_type="manual" purpose="Check if WRT supports Web Application URI when using the access tag to specify the page." priority="P1" status="approved" type="Functional positive">
         <description>
           <pre_condition>Make sure app-uri-scheme-access-html.wgt is installed with the command : wrt-installer -i /opt/tct-rt02-wrt-tests/app-uri-scheme-access-html.wgt.</pre_condition>
index 3150646..4a7e214 100644 (file)
         </spec>
       </specs>
     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntimeUI" id="virtual-keyboard-multi-byte-language" execution_type="manual" purpose="Check if WRT is able to pop up virtual keyboard and input/delete multi-byte language correctly when user edits input area." priority="P1" status="approved" type="Functional positive">
+      <description>
+        <pre_condition></pre_condition>
+        <post_condition>Get the 'application id' of virtual-keyboard-textarea.wgt with the command :"wrt-launcher -l" and uninstall the virtual-keyboard-textarea.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+        <steps>
+          <step order="1">
+            <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ui-wrt-tests/virtual-keyboard-textarea.wgt</step_desc>
+            <expected>The widget package is installed successfully. Its icon appears on screen.</expected>
+          </step>
+          <step order="2">
+            <step_desc>Get the 'application id' of virtual-keyboard-textarea.wgt with the command :"wrt-launcher -l" and launch the virtual-keyboard-textarea.wgt with the command :"wrt-launcher -s 'application id'",touch the textarea to edit, change the input language to chinese and input some words.</step_desc>
+            <expected>The virtual keyboard pops up and is able to input chinese words.</expected>
+          </step>
+        </steps>
+        <test_script_entry test_script_expected_result="0"></test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="attribute" element_name="N/A" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
     <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to Alarm feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="manual" priority="P3" id="multiple-other-alarm">
       <description>
         <pre_condition>Copy the test resources of multiple-test-file widget to "/opt/media/Downloads" with command: cp /opt/apps/wrttesthtm/res/wgt/*.html /opt/media/Downloads;Install the widget with the command : wrt-installer -i /opt/tct-ui-wrt-tests/multiple-other-alarm.wgt</pre_condition >