W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2008

Progress Report on Test Coverage

From: Doug Schepers <schepers@w3.org>
Date: Sun, 20 Jul 2008 03:57:27 -0400
Message-ID: <4882EFE7.7020908@w3.org>
To: SVG WG <public-svg-wg@w3.org>

Hi, SVG WG-

Good work so far... by Thursday, we'd created 14 of the 28 test sets we 
need.  Let's see if we can keep it up, and finish by Tuesday, or at 
latest, Thursday.

I have updated the TestCoverage wiki page to reflect the new situation:
   http://www.w3.org/Graphics/SVG/Group/wiki/TestCoverage

Does anyone need help with any of the remaining tests?  I finished mine, 
so I could probably take on some more, if it means that the test suite 
will get done that much faster.


I took a look at 5.8.2 (switch element for "requiredFormats" and 
"requiredFeatures", "requiredExtensions"); the wiki lists only 
struct-cond-01-t.svg, but there are a bunch of new ones 
(struct-cond-02-t.svg, struct-cond-03-t.svg, struct-cond-204-t.svg, 
struct-cond-205-t.svg, struct-cond-206-t.svg, struct-cond-207-t.svg) 
that seem to cover everything but "requiredFonts", which is also the 
test needed for  5.8.7 ("requiredFonts" attribute test).

The next part of that test set is for the requirement, "Note that the 
values of properties 'display' and 'visibility' have no effect on 
'switch' element processing. In particular, setting 'display' to none on 
a child of a 'switch' element has no effect on the testing associated 
with 'switch' element processing."   This should be easy to test, by 
creating a switch where the first child that evaluates to true also has 
display="none"... the test will be passed if the next child does not render.


The final part of this test set says, "Additionally, elements which 
would not otherwise be rendered due to conditional processing can still 
be referenced by 'id' (e.g. in the 'use' element or as the <XMLRI> of a 
paint server), and will be rendered in that instantiation."  This is 
easy to test, too... we can simply put an element and a gradient in a 
group that shouldn't render, and reference the element with a <use> and 
the gradient as a paint server on a rendering element; the test is 
passed if the elements in the switch don't render, but the referring 
elements do render correctly.

I will try to work on these latter bits in time for Tuesday, unless 
Chris (who the tests are assigned to) has already started on them.  He 
took more tests than I did, so I'm happy to pick them up.

Regards-
-Doug Schepers
W3C Team Contact, WebApps, SVG, and CDF
Received on Sunday, 20 July 2008 07:58:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:09 UTC