ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44064] New: - JUnitVersionHelper.getTestCaseClassName should be public
Date Wed, 12 Dec 2007 14:50:29 GMT
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.

Mime
View raw message