jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pier...@locus.apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/classes/tags TestTag.java
Date Thu, 07 Dec 2000 21:10:23 GMT
pierred     00/12/07 13:10:22

  Modified:    src/server/jsp-tests/WEB-INF/classes/tags TestTag.java
  Log:
  Fixed a broken test condition that made the test fail.
  
  Revision  Changes    Path
  1.2       +3 -1      jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/classes/tags/TestTag.java
  
  Index: TestTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/classes/tags/TestTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestTag.java	2000/10/17 21:05:56	1.1
  +++ TestTag.java	2000/12/07 21:10:19	1.2
  @@ -199,7 +199,9 @@
          		TagSupport ts = new TagSupport();
          		setParent(this);
          		Tag tt = getParent();
  -			if(tt.toString().regionMatches(true,9,"examples.TestTag",9,7)) {
  +		// FIXME this looks wrong (pierred) replaced by line below
  +		//	if(tt.toString().regionMatches(true,9,"examples.TestTag",9,7)) {
  +		if (tt == this) {
          			TestString = TestString + "Pass";
          		}
          		else {
  
  
  

Mime
View raw message