[common][canvas][delete 5 TCs and update 1 TC] 46/125646/1
authorwei.ji <wei.ji@samsung.com>
Tue, 18 Apr 2017 07:56:00 +0000 (15:56 +0800)
committerwei.ji <wei.ji@samsung.com>
Tue, 18 Apr 2017 07:56:05 +0000 (15:56 +0800)
- update tests.xml to annotate 5 tcs that are failed in latest Firefox and chromium
- update tc canvas2d_measureText_basic.html

Change-Id: I8b45d47ef66aaa9048d6faf8fb7f68b9323b0901
Signed-off-by: wei.ji <wei.ji@samsung.com>
common/tct-canvas-html5-tests/canvas/canvas2d_measureText_basic.html
common/tct-canvas-html5-tests/tests.xml

index c6f29b79f990a8b417e6bfa029701712d4055e33..2fd598972c51a691a4cefd6a1d478433beaeb38f 100755 (executable)
@@ -32,7 +32,7 @@ Authors:
   </head>
   <body>
     <div id="log"></div>
-    <canvas id="canvas" width="300" height="200" style="border:1px solid #c3c3c3;">
+    <canvas id="canvas" width="300" height="200" style="border:1px solid #c3c3c3; font-kerning:none;">
       Your browser does not support the canvas element.
     </canvas>
     <script>
@@ -45,4 +45,4 @@ Authors:
       });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index fb9af5d417e904564e00712469ed6ad85fb7f35e..6aa1983957adbbdf50153b4332f62ff77389091b 100755 (executable)
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.shadow.stroke.cap.1.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_line" purpose="Check if Zero-leight line segments from lineTo are removed before stroking">
+<!--      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_line" purpose="Check if Zero-leight line segments from lineTo are removed before stroking">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.path.stroke.prune.line.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_imageData_get_tiny" purpose="Check if getImageData() works for sizes smaller than one pixel">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.imageData.get.tiny.html</test_script_entry>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.transformation.scale.negative.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_closed" purpose="Check if Zero-length line segments from closed paths are removed before stroking">
+<!--      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_closed" purpose="Check if Zero-length line segments from closed paths are removed before stroking">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.path.stroke.prune.closed.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_fillStyle_parse_1transparent" purpose="Check if the image can be displayed correctly with fillStyle = 'transparent'">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.fillStyle.parse.transparent-1.html</test_script_entry>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.composite.uncovered.image.source-in.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_curve" purpose="Check if Zero-length line segments from quadraticCurveTo and bezierCurveTo are removed before stroking">
+<!--      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_curve" purpose="Check if Zero-length line segments from quadraticCurveTo and bezierCurveTo are removed before stroking">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.path.stroke.prune.curve.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_drawImage_9arg_destsize" purpose="Check if the image can be displayed correctly after setting the drawImage 5 times">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.drawImage.9arg.destsize.html</test_script_entry>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.path.arcTo.zero.2.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_arc" purpose="Check zero-length line segments from arcTo and arc are removed before stroking">
+<!--      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_arc" purpose="Check zero-length line segments from arcTo and arc are removed before stroking">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.path.stroke.prune.arc.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_rect_zero_width_2" purpose="Check  rect function with zero width works">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.path.rect.zero.2.html</test_script_entry>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.fillStyle.parse.invalid.rgba-1.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_rect" purpose="Check if Zero-leight line segments from rect and strokeRect are removed before stroking">
+<!--      <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_path_stroke_prune_rect" purpose="Check if Zero-leight line segments from rect and strokeRect are removed before stroking">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.path.stroke.prune.rect.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="W3C_HTML5 APIs/Graphics/HTML5 The canvas element (Partial)" execution_type="auto" id="2d_text_font_default" purpose="Check if the text can be displayed correctly with font default settings">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-canvas-html5-tests/canvas/w3c/2d.text.font.default.html</test_script_entry>
       </testcase>
     </set>
   </suite>
-</test_definition>
\ No newline at end of file
+</test_definition>