Author: mrglavas
Date: Sun Jan 15 16:56:42 2006
New Revision: 369294

URL: http://svn.apache.org/viewcvs?rev=369294&view=rev
Log:
The assert(boolean) method was removed in JUnit 3.8.1 so the current
code no longer compiles. Changing assert(boolean) to assertTrue(boolean) 
as per Nathan Beyer's suggestion on [EMAIL PROTECTED]

Modified:
    xerces/java/trunk/tests/dom/range/TestCompare.java

Modified: xerces/java/trunk/tests/dom/range/TestCompare.java
URL: 
http://svn.apache.org/viewcvs/xerces/java/trunk/tests/dom/range/TestCompare.java?rev=369294&r1=369293&r2=369294&view=diff
==============================================================================
--- xerces/java/trunk/tests/dom/range/TestCompare.java (original)
+++ xerces/java/trunk/tests/dom/range/TestCompare.java Sun Jan 15 16:56:42 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000,2004,2005 The Apache Software Foundation.
+ * Copyright 2000,2004-2006 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -171,7 +171,7 @@
             for( int j=0; j<ranges.length; ++j )
             {
                 int result = ranges[i].compareBoundaryPoints( how, ranges[j] );
-                assert( "Compare returned the wrong value i="+i+" j="+j + " 
result="+result, result == results[i][j] );
+                assertTrue( "Compare returned the wrong value i="+i+" j="+j + 
" result="+result, result == results[i][j] );
             }
         }
     }



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

Reply via email to