You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2005/07/01 01:13:58 UTC

DO NOT REPLY [Bug 35568] New: - log4j 1.2 unit tests have stray imports and test order change

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=35568>.
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=35568

           Summary: log4j 1.2 unit tests have stray imports and test order
                    change
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: carnold@apache.org


When attempting to use the log4j 1.2 unit tests against the CVS HEAD (the future 1.3), several tests fail to 
compile due to unnecessary imports of org.apache.log4j.performance.NullAppender and 
org.apache.log4j.LocationInfo.

Three classes will fail to compile against log4j 1.3, MyPatternLayout, MyPatternParser and DRFATestCase.  
DRFATestCase is a test of the internal implementation of the inner class RollingCalendar which is only 
visible within the org.apache.log4j package which does not make a test of the external log4j API.  
MyPatternLayout and MyPatternParser do test the publically exposed extension points for PatternLayout 
and PatternParser.  These classes have been radically changed do not expose the same extension points.  
These tests are valid and need to be considered as version compatibility becomes closer.

-- 
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org