ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48560] New: FormatterElement have non-public accessors
Date Sun, 17 Jan 2010 19:54:11 GMT

           Summary: FormatterElement have non-public accessors
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Optional Tasks

There are unjustified non-public accessor methods in 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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message