You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/03/07 05:57:41 UTC

DO NOT REPLY [Bug 17761] New: - TestErrorsTag1 & TestErrorsTag2 do not use formatAndTest() method

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: struts-dev@jakarta.apache.org
        ReportedBy: afreeman@bd.com


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: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org