You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2007/12/12 15:50:29 UTC
DO NOT REPLY [Bug 44064] New: - JUnitVersionHelper.getTestCaseClassName should be public
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44064>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44064
Summary: JUnitVersionHelper.getTestCaseClassName should be public
Product: Ant
Version: 1.7.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: ed.randall@ingenotech.com
I'm trying to create my own version of XMLJUintResultFormatter with a couple of
minor features that we need.
Ideally I'd ought to to be able to do this simply by overriding "endTest", where
I would call "super.endTest" then do my stuff.
This was not as easy as it ought to be though, because all of the XML-related
members are private and there are no accessors for them.
So I tried simply copying the entire body of XMLJUnitResultFormatter in to my
own class and adding a few imports.
Unfortunately the method JUintVersionHelper.getTestCaseClassName is "default
access" so I can't use it unless I put myself in the same packqage (silly).
So I have to copy that method in-line as well.
All the other methods in JUnitVersionHelper are public, it would be useful if
this one was too.
Thanks
Ed
(Really becase the
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 44064] - JUnitVersionHelper.getTestCaseClassName should be public
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44064>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44064
------- Additional Comments From stevel@apache.org 2007-12-13 05:44 -------
-seems reasonable; its probably an oversight.
I'm actually planning some enhancements to the xml reporting, because the XML
output itself has limitations, though some of the big ones (building a DOM)
arent fixable without breaking the basic XML.
have a look at and comment on :
http://wiki.apache.org/ant/Proposals/EnhancedTestReports
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.