You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Nathan Beyer <nb...@kc.rr.com> on 2006/01/06 04:55:22 UTC

JUnit Version?

The version of 'junit.jar' in the 'tools' folder seems to be rather old. Is
there any reason that it couldn't be updated to 3.8.1?

If it can be updated, then there is a small change that needs to be made to
one of the tests. The following patch should handle that though.

<patch>
Index: tests/dom/range/TestCompare.java
===================================================================
-- tests/dom/range/TestCompare.java	(revision 366408)
+++ tests/dom/range/TestCompare.java	(working copy)
@@ -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] );
            }
        }
    }

</patch>

-Nathan


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