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 48560] New: FormatterElement have non-public accessors
Date Sun, 17 Jan 2010 19:54:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48560

           Summary: FormatterElement have non-public accessors
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: alexey.v.varlamov@gmail.com


There are unjustified non-public accessor methods in
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement class. Namely,
getUseFile() and setOutfile(), which apparently should be public.
Otherwise they hinder reuse/subclassing of JUnitTestRunner.

As a side note, the junit task appears to be quite stiff, not suited for
extensions. Most evident case, replacing the default JUnitTestRunner with
custom one (e.g. to support fancy JUnit4 features) is nearly impossible w/o
repackaging the whole bunch of classes from that package - too many private or
package methods and spaghetti-style dependencies.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message