From c370bc54f755d2e0f80c1d545e7e5764a49537fc Mon Sep 17 00:00:00 2001 From: "yunfeix.hao" Date: Wed, 17 Jul 2013 01:57:14 +0800 Subject: [PATCH] Added 2 TCs and removed 1 TCs according to new spec in tct-sp02-wrt-tests Change-Id: I7bc78ebb70b9f8132b8d1648bdcab890dec0b1b0 Signed-off-by: yunfeix.hao --- .../config-default-header-null/config.xml | 8 +++ .../custom.png | Bin .../config-default-header-null/index.html | 70 +++++++++++++++++++ .../config-default-header-null/pass.js | 4 ++ .../config-default-header-null/w3c/support/COPYING | 11 +++ .../w3c/support/CanvasTest.ttf | Bin 0 -> 2528 bytes .../config-normal-header-null/config.xml | 8 +++ .../config-normal-header-null/custom.png | Bin 0 -> 3777 bytes .../index.html | 72 +++++++++----------- .../config-normal-header-null/w3c/support/COPYING | 11 +++ .../w3c/support/CanvasTest.ttf | Bin 0 -> 2528 bytes .../enforce-csp-to-resource/config.xml | 9 --- .../enforce-csp-to-resource/support/csp.js | 33 --------- tct-sp02-wrt-tests/tests.xml | 75 ++++++++++++++------- 14 files changed, 195 insertions(+), 106 deletions(-) create mode 100644 tct-sp02-wrt-tests/config-default-header-null/config.xml rename tct-sp02-wrt-tests/{enforce-csp-to-resource => config-default-header-null}/custom.png (100%) create mode 100644 tct-sp02-wrt-tests/config-default-header-null/index.html create mode 100644 tct-sp02-wrt-tests/config-default-header-null/pass.js create mode 100644 tct-sp02-wrt-tests/config-default-header-null/w3c/support/COPYING create mode 100644 tct-sp02-wrt-tests/config-default-header-null/w3c/support/CanvasTest.ttf create mode 100644 tct-sp02-wrt-tests/config-normal-header-null/config.xml create mode 100644 tct-sp02-wrt-tests/config-normal-header-null/custom.png rename tct-sp02-wrt-tests/{enforce-csp-to-resource => config-normal-header-null}/index.html (54%) create mode 100644 tct-sp02-wrt-tests/config-normal-header-null/w3c/support/COPYING create mode 100644 tct-sp02-wrt-tests/config-normal-header-null/w3c/support/CanvasTest.ttf delete mode 100644 tct-sp02-wrt-tests/enforce-csp-to-resource/config.xml delete mode 100644 tct-sp02-wrt-tests/enforce-csp-to-resource/support/csp.js diff --git a/tct-sp02-wrt-tests/config-default-header-null/config.xml b/tct-sp02-wrt-tests/config-default-header-null/config.xml new file mode 100644 index 0000000..ace0553 --- /dev/null +++ b/tct-sp02-wrt-tests/config-default-header-null/config.xml @@ -0,0 +1,8 @@ + + + + + + config-default-header-null + + diff --git a/tct-sp02-wrt-tests/enforce-csp-to-resource/custom.png b/tct-sp02-wrt-tests/config-default-header-null/custom.png similarity index 100% rename from tct-sp02-wrt-tests/enforce-csp-to-resource/custom.png rename to tct-sp02-wrt-tests/config-default-header-null/custom.png diff --git a/tct-sp02-wrt-tests/config-default-header-null/index.html b/tct-sp02-wrt-tests/config-default-header-null/index.html new file mode 100644 index 0000000..5a4b49f --- /dev/null +++ b/tct-sp02-wrt-tests/config-default-header-null/index.html @@ -0,0 +1,70 @@ + + + + + + WRT Test: config-normal-header-null + + + + + + + + + +

One:Test passes if the two lines are different in font

+
1234 ABCD
+
1234 ABCD
+

Two:Test passes if the two lines are same in font

+
1234 ABCD
+
1234 ABCD
+

Three:Test passes if text "PASS" appears below.

+
FAIL
+ + diff --git a/tct-sp02-wrt-tests/config-default-header-null/pass.js b/tct-sp02-wrt-tests/config-default-header-null/pass.js new file mode 100644 index 0000000..85c6236 --- /dev/null +++ b/tct-sp02-wrt-tests/config-default-header-null/pass.js @@ -0,0 +1,4 @@ +function show_fail() { + document.getElementById("log").innerHTML = "PASS"; +} + diff --git a/tct-sp02-wrt-tests/config-default-header-null/w3c/support/COPYING b/tct-sp02-wrt-tests/config-default-header-null/w3c/support/COPYING new file mode 100644 index 0000000..c24c22c --- /dev/null +++ b/tct-sp02-wrt-tests/config-default-header-null/w3c/support/COPYING @@ -0,0 +1,11 @@ +CanvasTest.ttf comes from +http://w3c-test.org/html/tests/approved/fonts/CanvasTest.ttf +without any modification. + +These tests are copyright by W3C and/or the author listed in the test +file. The tests are dual-licensed under the W3C Test Suite License: +http://www.w3.org/Consortium/Legal/2008/04-testsuite-license +and the BSD 3-clause License: +http://www.w3.org/Consortium/Legal/2008/03-bsd-license +under W3C's test suite licensing policy: +http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright diff --git a/tct-sp02-wrt-tests/config-default-header-null/w3c/support/CanvasTest.ttf b/tct-sp02-wrt-tests/config-default-header-null/w3c/support/CanvasTest.ttf new file mode 100644 index 0000000000000000000000000000000000000000..9023592ef5aa83a03dd6957398897a585062ca57 GIT binary patch literal 2528 zcmds3+iM(E9RAMC>}--IZHkSlbcJb}Hmx+fn~4|=c}SaNsWzb@-3F9mI_^#~3%fJR z?rbg~7_kpEQi_7Nf1zrjK~Q`sQnW2nkwV|M-@%oK-E?>x_(MpM29?acOqAH}eAZX8>i{v90{QD@UK8 z?l;0S4h7BS^-meAn|!xZ@)uj54c;RECHbzRm$TF>nv6e6K2fq3%b3Ch^~cB?u2r(v zkH7ad5c`2P>9SY#cXvOjFn>GsdB|P~`n~De%#NWyu}z}@xPEE<^GzId1b6hq`YrNJ zpl7(G&#mANPHPA{)^6*E!$^@bL|Q0mLqc}TB|Swb8%8pe2%7wX7*!uCHz~QWfyJ-r z7tPW^=Wn!Ro%h$|>{uSdXvUa|I&fOQrS7LPvS9~Z(v&zMA=;65&=C=`DhY|mZ&Kj!3HhbNxDPn<$e@rAG|9>`>_U%Yaa|m@d0+T+9$}A07}*9%}w^Ondom zl3bI=hUcy>--uAx7wLGEX&Kzn_%3s9JFtg_4YL!pi){|FXP{H;ZW!kJ85v$FZVvZc z=7R1t%y+FTKz4K3D>LVrE9j_0Kg^W>kV`b=3OX8csX3V|_H9EhakU|rxWPtGG$xDs zeRLLqoPhkgUkcxKN!R$Lr8Sp8i&%_ketg8+5v}5Y_$i__v?%)`I)-*-GNN_L7dTC! z$#2##gbi9?mv|+j6|{;sB3i|`_#mP+>{8kyItD{YMzl`3g%NltV+j=$Fb4-d3>-ub zhlow2(MK>aNlgJoLYZ6^7Cnmetngdg!aW6>yiIwPzj@l!;1b)kFc{MzW$@m3p1uag z87D`H8(I%iBJ=u;J%|+dLb#J*WgAu=<5fZ*DXp;5R9MY}C{;>IjO(NK5lxbD9RfzY z@=~QR=lI6K+#$nE_oaaWNmxCd;m?tPvxY zJ8xC9c9rx5g?W}XCSRSBcZdsV~Z&>YL1E97mjWcg0TE4dJ(nei;|UEZ=>^4@JlJ9c3=csI~@nRO6C WZTNf5{_GpcUH|0vRERIFfAlvXi@|mP literal 0 HcmV?d00001 diff --git a/tct-sp02-wrt-tests/config-normal-header-null/config.xml b/tct-sp02-wrt-tests/config-normal-header-null/config.xml new file mode 100644 index 0000000..47907f4 --- /dev/null +++ b/tct-sp02-wrt-tests/config-normal-header-null/config.xml @@ -0,0 +1,8 @@ + + + font-src 'self' + + + config-normal-header-null + + diff --git a/tct-sp02-wrt-tests/config-normal-header-null/custom.png b/tct-sp02-wrt-tests/config-normal-header-null/custom.png new file mode 100644 index 0000000000000000000000000000000000000000..6bdebd113e90aeb44fe9d81c9cdd825071e23af7 GIT binary patch literal 3777 zcmV;y4nFaTP)6?8>dbVG7wVRUJ4ZXi@?ZDjy6F)uhTFgZ_y%On5*4jM^B zK~#90?VZ1G@okr>^5y^?Bp`ziNKhGQ0Sir1@qCgm>3O zpYQv;&-*^lOH$Y|sx6@cpbns6zGVGd18@}ZFxLPE=I>qGzrA5w97StkzM!&hKvb$N zp#j6l4H$+O5zCsOT>_C0aROpW%RuC^su}J&>6PH^Q;@Pirfjn4C0yqULttV zmUpfJoWT%7u7b$i2*5P_OYPgT?l*XT zd?9z!JaK9sfb{ynr0NY)5r8??cW{4#yr_sUM38uFKqq~IYD+i+@C}IZ!yo|o#=Lfk zl9&fD=k@0xE)0L1v25sL^S34j#B8ln^_${RaPV zd?CLH`@zsdfSK6&ChX@3sqnk738YX0FjKlckf1NGhydzgQpsUsfDVZ9^Naw)Mu7<& z1DKUOe+bteLI%|K8$1=XvMA6HKwSUU5qKyFIs|k;jK56;9twN~U`G8UufKgfHEp++ z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uIz1$KwCO`aTj z2I2*F0TF9D^GX2_FR(ML?ES!+heunG8NpWL8Ts1@QfEw_BD%f!+AdJ}Nwp<(5mU(+ zAvG?BZL#6^rl30wnjit;HX$P5BLD*xwv8|3(SC#Hk%QaH5(4qpVOtE8*b7yGNQQ!~ zAdu^~2)o&=2{IJqnZT~!B9s8kRAQ(T5K^V-PWSo|y10FOAz$q`_=f;a!hV*JC|?ZQ zV(5jtjdvlCcpz7V8u#r)*>HXeQbd{u`iSt{=ScgIsx6@oqsBaUJB#lLB7nxQEpEKI zH}Xa_B7)3_YW*}w+K6fsWvNWl0&0v^D^d?@uf$YN1cE?|uLE6ci~kof&bsx9FR zz+aL+&yMoNuq`H9k(J5~X{s&Z6h>V-i3@@u!bt2SzF9Z5I}%k}LJfup$dIs}3v7_p z+mzG#85fQ1 r9#me#c%UY5cVp!)fL`8$xTyRe`)Jg&1RiM`00000NkvXXu0mjfhlveJ literal 0 HcmV?d00001 diff --git a/tct-sp02-wrt-tests/enforce-csp-to-resource/index.html b/tct-sp02-wrt-tests/config-normal-header-null/index.html similarity index 54% rename from tct-sp02-wrt-tests/enforce-csp-to-resource/index.html rename to tct-sp02-wrt-tests/config-normal-header-null/index.html index cdc7381..5adbcc3 100644 --- a/tct-sp02-wrt-tests/enforce-csp-to-resource/index.html +++ b/tct-sp02-wrt-tests/config-normal-header-null/index.html @@ -26,54 +26,48 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: - yunfeix.hao + Hao, Yunfei --> - WRT Test: enforce-csp-to-resource + WRT Test: config-normal-header-null - + - + - - - -

FAIL

-

Test did not run.

- + - + + +

One:Test passes if the two lines are different in font

+
1234 ABCD
+
1234 ABCD
+

Two:Test passes if the two lines are same in font

+
1234 ABCD
+
1234 ABCD
+

Three:Test passes if text "PASS" appears below.

+
PASS
+ diff --git a/tct-sp02-wrt-tests/config-normal-header-null/w3c/support/COPYING b/tct-sp02-wrt-tests/config-normal-header-null/w3c/support/COPYING new file mode 100644 index 0000000..c24c22c --- /dev/null +++ b/tct-sp02-wrt-tests/config-normal-header-null/w3c/support/COPYING @@ -0,0 +1,11 @@ +CanvasTest.ttf comes from +http://w3c-test.org/html/tests/approved/fonts/CanvasTest.ttf +without any modification. + +These tests are copyright by W3C and/or the author listed in the test +file. The tests are dual-licensed under the W3C Test Suite License: +http://www.w3.org/Consortium/Legal/2008/04-testsuite-license +and the BSD 3-clause License: +http://www.w3.org/Consortium/Legal/2008/03-bsd-license +under W3C's test suite licensing policy: +http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright diff --git a/tct-sp02-wrt-tests/config-normal-header-null/w3c/support/CanvasTest.ttf b/tct-sp02-wrt-tests/config-normal-header-null/w3c/support/CanvasTest.ttf new file mode 100644 index 0000000000000000000000000000000000000000..9023592ef5aa83a03dd6957398897a585062ca57 GIT binary patch literal 2528 zcmds3+iM(E9RAMC>}--IZHkSlbcJb}Hmx+fn~4|=c}SaNsWzb@-3F9mI_^#~3%fJR z?rbg~7_kpEQi_7Nf1zrjK~Q`sQnW2nkwV|M-@%oK-E?>x_(MpM29?acOqAH}eAZX8>i{v90{QD@UK8 z?l;0S4h7BS^-meAn|!xZ@)uj54c;RECHbzRm$TF>nv6e6K2fq3%b3Ch^~cB?u2r(v zkH7ad5c`2P>9SY#cXvOjFn>GsdB|P~`n~De%#NWyu}z}@xPEE<^GzId1b6hq`YrNJ zpl7(G&#mANPHPA{)^6*E!$^@bL|Q0mLqc}TB|Swb8%8pe2%7wX7*!uCHz~QWfyJ-r z7tPW^=Wn!Ro%h$|>{uSdXvUa|I&fOQrS7LPvS9~Z(v&zMA=;65&=C=`DhY|mZ&Kj!3HhbNxDPn<$e@rAG|9>`>_U%Yaa|m@d0+T+9$}A07}*9%}w^Ondom zl3bI=hUcy>--uAx7wLGEX&Kzn_%3s9JFtg_4YL!pi){|FXP{H;ZW!kJ85v$FZVvZc z=7R1t%y+FTKz4K3D>LVrE9j_0Kg^W>kV`b=3OX8csX3V|_H9EhakU|rxWPtGG$xDs zeRLLqoPhkgUkcxKN!R$Lr8Sp8i&%_ketg8+5v}5Y_$i__v?%)`I)-*-GNN_L7dTC! z$#2##gbi9?mv|+j6|{;sB3i|`_#mP+>{8kyItD{YMzl`3g%NltV+j=$Fb4-d3>-ub zhlow2(MK>aNlgJoLYZ6^7Cnmetngdg!aW6>yiIwPzj@l!;1b)kFc{MzW$@m3p1uag z87D`H8(I%iBJ=u;J%|+dLb#J*WgAu=<5fZ*DXp;5R9MY}C{;>IjO(NK5lxbD9RfzY z@=~QR=lI6K+#$nE_oaaWNmxCd;m?tPvxY zJ8xC9c9rx5g?W}XCSRSBcZdsV~Z&>YL1E97mjWcg0TE4dJ(nei;|UEZ=>^4@JlJ9c3=csI~@nRO6C WZTNf5{_GpcUH|0vRERIFfAlvXi@|mP literal 0 HcmV?d00001 diff --git a/tct-sp02-wrt-tests/enforce-csp-to-resource/config.xml b/tct-sp02-wrt-tests/enforce-csp-to-resource/config.xml deleted file mode 100644 index bea399e..0000000 --- a/tct-sp02-wrt-tests/enforce-csp-to-resource/config.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - connect-src * - - - - enforce-csp-to-resource - - diff --git a/tct-sp02-wrt-tests/enforce-csp-to-resource/support/csp.js b/tct-sp02-wrt-tests/enforce-csp-to-resource/support/csp.js deleted file mode 100644 index de46ff6..0000000 --- a/tct-sp02-wrt-tests/enforce-csp-to-resource/support/csp.js +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright (c) 2013 Intel Corporation. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of works must retain the original copyright notice, this list - of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the original copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -* Neither the name of Intel Corporation nor the names of its contributors - may be used to endorse or promote products derived from this work without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Authors: - Zhang, Zhiqiang - -*/ - -var X = 10; -var Y = eval(X + 17); \ No newline at end of file diff --git a/tct-sp02-wrt-tests/tests.xml b/tct-sp02-wrt-tests/tests.xml index 5ea9a1d..a89e328 100644 --- a/tct-sp02-wrt-tests/tests.xml +++ b/tct-sp02-wrt-tests/tests.xml @@ -127,31 +127,6 @@ - - - Make sure enforce-csp-to-resource.wgt is installed with the command : wrt-installer -i /opt/tct-sp02-wrt-tests/enforce-csp-to-resource.wgt - Get the 'application id' of enforce-csp-to-resource.wgt with the command : wrt-launcher -l, then uninstall the enforce-csp-to-resource.wgt with the command : wrt-installer -un 'application id' - - - Install enforce-csp-to-resource.wgt application with the command : wrt-installer -i /opt/tct-sp02-wrt-tests/enforce-csp-to-resource.wgt - Widget application is able to be installed successfully - - - Get the 'application id' of enforce-csp-to-resource.wgt with the command :"wrt-launcher -l" and launch the enforce-csp-to-resource.wgt with the command :"wrt-launcher -s 'application id'". - The screen shows "PASS" on green background. - - - /opt/tct-sp02-wrt-tests/enforce-csp-to-resource.wgt - - - - - - - - - - Make sure config-xml-with-csp.wgt is installed with the command : wrt-installer -i /opt/tct-sp02-wrt-tests/config-xml-with-csp.wgt @@ -258,6 +233,56 @@ + + + + Uninstall the widget with the command: wrt-installer -up /opt/tct-sp02-wrt-tests/config-normal-header-null.wgt + + + Install /opt/tct-sp02-wrt-tests/config-normal-header-null.wgt application with the command : wrt-installer -i /opt/tct-sp02-wrt-tests/config-normal-header-null.wgt + Widget application is able to be installed successfully + + + Get the 'application id' of config-normal-header-null.wgt with the command :"wrt-launcher -l" and launch the config-normal-header-null.wgt with the command :"wrt-launcher -s 'application id'". + For Test One, two lines are different in font; For Test Two, two lines are same in font;For Test Three, a "PASS" shows on the screen. + + + /opt/tct-sp02-wrt-tests/config-normal-header-null.wgt + + + + + + + + + + + + + + Uninstall the widget with the command: wrt-installer -up /opt/tct-sp02-wrt-tests/config-default-header-null.wgt + + + Install /opt/tct-sp02-wrt-tests/config-default-header-null.wgt application with the command : wrt-installer -i /opt/tct-sp02-wrt-tests/config-default-header-null.wgt + Widget application is able to be installed successfully + + + Get the 'application id' of config-default-header-null.wgt with the command :"wrt-launcher -l" and launch the config-default-header-null.wgt with the command :"wrt-launcher -s 'application id'". + For Test One, two lines are different in font; For Test Two, two lines are same in font;For Test Three, a "PASS" shows on the screen. + + + /opt/tct-sp02-wrt-tests/config-default-header-null.wgt + + + + + + + + + + -- 2.7.4