[rfc][icedtea-web] Bug annotation
Jiri Vanek
jvanek at redhat.com
Wed Apr 25 08:03:39 PDT 2012
Hi all!
4/5 of browser testing framework. This one is not related to testing of applets in browsers, but is
extension to testing framework as a complex. I got inspired by jtreg and by Pavel and our
documentaries who are always annoyed when tracking some bug in icedtea-web.
This was originally purposed by me in Extending jnlp reproducers for html+applet reproducers in
March [1]:
*@Bug* annotation - can handle IDs of bugs or urls to web which contains more info about "why this
reproducer or unit test was added", are *nicely* propagated also to html report (see attached
report.zip). Name convention is as we are used to from NEWS files."
[1] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017799.html
Best regars
J.
changelog
2012-04-25 Jiri Vanek <jvanek at redhat.com>
Introduced new annotations Bug (to connect test/reproducer with documentation) and NeedsDisplay
which tells the launching engine that this particular test needs Display. Based on ptisnovs's ideas
and jtreg experiences
*Makefile.am: (JUNIT_RUNNER_JAR), (stamps/run-netx-unit-tests.stamp) and
(stamps/run-unit-test-code-coverage.stamp) are now dependent on (stamps/netx-dist-tests-compile) and
classpaths inside them have been enriched for JNLP_TESTS_ENGINE_DIRwhich contains definitions of
those annotations
*tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java: and
*tests/jnlp_tests/simple/ManifestedJar1/testcases/ManifestedJar1Test.java: and
*tests/jnlp_tests/simple/Spaces can be everywhere/testcase/SpacesCanBeEverywhereTests.java: filled
Bug annotations
*tests/junit-runner/JunitLikeXmlOutputListener.java: made to understand Bug annotation
*tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/NeedsDisplay.java: and
*tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/Bug.java: annotations definitions
*tests/report-styles/jreport.xsl" made nice links from bug annotation prepared by
JunitLikeXmlOutputListener
-------------- next part --------------
A non-text attachment was scrubbed...
Name: report.zip
Type: application/zip
Size: 10967 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120425/efa332d5/report.zip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugAnnotation.diff
Type: text/x-patch
Size: 18159 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120425/efa332d5/bugAnnotation.diff
More information about the distro-pkg-dev
mailing list