craigmcc 01/08/22 20:38:00
Modified: jxpath PROPOSAL.html
jxpath/src/test/org/apache/commons/jxpath
JXPathTestCase.java
Log:
Add myself to the committers list, and update the JUnit tests to get rid
of the deprecated assert() calls -- replaced by assertTrue() in 3.7.
Revision Changes Path
1.2 +2 -2 jakarta-commons/jxpath/PROPOSAL.html
Index: PROPOSAL.html
===================================================================
RCS file: /home/cvs/jakarta-commons/jxpath/PROPOSAL.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PROPOSAL.html 2001/08/23 00:46:57 1.1
+++ PROPOSAL.html 2001/08/23 03:38:00 1.2
@@ -88,7 +88,7 @@
<h3>
(4) Initial Committers</h3>
-The initial committers on the JXPath component shall be Dmitri Plotnikov
-and James Strachan.
+The initial committers on the JXPath component shall be Dmitri Plotnikov,
+James Strachan, and Craig McClanahan.
</body>
</html>
1.2 +5 -5
jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/JXPathTestCase.java
Index: JXPathTestCase.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/JXPathTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JXPathTestCase.java 2001/08/23 00:47:02 1.1
+++ JXPathTestCase.java 2001/08/23 03:38:00 1.2
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/JXPathTestCase.java,v
1.1 2001/08/23 00:47:02 dmitri Exp $
- * $Revision: 1.1 $
- * $Date: 2001/08/23 00:47:02 $
+ * $Header:
/home/cvs/jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/JXPathTestCase.java,v
1.2 2001/08/23 03:38:00 craigmcc Exp $
+ * $Revision: 1.2 $
+ * $Date: 2001/08/23 03:38:00 $
*
* ====================================================================
* The Apache Software License, Version 1.1
@@ -94,7 +94,7 @@
* </p>
*
* @author Dmitri Plotnikov
- * @version $Revision: 1.1 $ $Date: 2001/08/23 00:47:02 $
+ * @version $Revision: 1.2 $ $Date: 2001/08/23 03:38:00 $
*/
public class JXPathTestCase extends TestCase
@@ -298,7 +298,7 @@
catch (Exception ex){
exception = true;
}
- assert("Evaluating '$none', expected exception - did not get it",
exception);
+ assertTrue("Evaluating '$none', expected exception - did not get it",
exception);
testGetValue(context, "$z/int", new Integer(1));
testGetValue(context, "$z/integers[$x - 5]", new Integer(2));
@@ -370,7 +370,7 @@
catch (Exception ex){
exception = true;
}
- assert("Setting '$y = 1', expected exception - did not get it",
exception);
+ assertTrue("Setting '$y = 1', expected exception - did not get it",
exception);
context.setValue("int", new Integer(3));
assertEquals("Modified <" + "int" + ">", new Integer(3),
context.getValue("int"));