DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17761>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17761

TestErrorsTag1 & TestErrorsTag2 do not use formatAndTest() method

           Summary: TestErrorsTag1 & TestErrorsTag2 do not use
                    formatAndTest() method
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Test
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The org.apache.struts.taglib.html.TestErrorsTag1 & 
org.apache.struts.taglib.html.TestErrorsTag2 classes each have a method called 
formatAndTest that they do not use.  Here is the code from each class:

        private void formatAndTest(String compare, String output) {
                //fix for introduced carriage return / line feeds
                output = output.replaceAll("\r","");
                output = output.replaceAll("\n","");
                output = output.trim();
            assertEquals(compare, output);
        }

Are there plans to use these methods still?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to