commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sand...@apache.org
Subject cvs commit: jakarta-commons/digester/src/test/org/apache/commons/digester DigesterTestCase.java
Date Tue, 04 Dec 2001 19:47:01 GMT
sanders     01/12/04 11:47:01

  Modified:    digester/src/test/org/apache/commons/digester
                        DigesterTestCase.java
  Log:
  Updated to JUnit 3.7
  
  Revision  Changes    Path
  1.5       +11 -11    jakarta-commons/digester/src/test/org/apache/commons/digester/DigesterTestCase.java
  
  Index: DigesterTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/DigesterTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DigesterTestCase.java	2001/09/05 18:52:37	1.4
  +++ DigesterTestCase.java	2001/12/04 19:47:00	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/DigesterTestCase.java,v
1.4 2001/09/05 18:52:37 craigmcc Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/09/05 18:52:37 $
  + * $Header: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/DigesterTestCase.java,v
1.5 2001/12/04 19:47:00 sanders Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/12/04 19:47:00 $
    *
    * ====================================================================
    *
  @@ -83,7 +83,7 @@
    * </p>
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.4 $ $Date: 2001/09/05 18:52:37 $
  + * @version $Revision: 1.5 $ $Date: 2001/12/04 19:47:00 $
    */
   
   public class DigesterTestCase extends TestCase {
  @@ -203,28 +203,28 @@
           assertNull("Initial error handler is null",
                      digester.getErrorHandler());
           digester.setErrorHandler((ErrorHandler) digester);
  -        assert("Set error handler is digester",
  +        assertTrue("Set error handler is digester",
                  digester.getErrorHandler() == digester);
           digester.setErrorHandler(null);
           assertNull("Reset error handler is null",
                      digester.getErrorHandler());
   
  -        assert("Initial namespace aware is false",
  +        assertTrue("Initial namespace aware is false",
                  !digester.getNamespaceAware());
           digester.setNamespaceAware(true);
  -        assert("Set namespace aware is true",
  +        assertTrue("Set namespace aware is true",
                  digester.getNamespaceAware());
           digester.setNamespaceAware(false);
  -        assert("Reset namespace aware is false",
  +        assertTrue("Reset namespace aware is false",
                  !digester.getNamespaceAware());
   
  -        assert("Initial validating is false",
  +        assertTrue("Initial validating is false",
                  !digester.getValidating());
           digester.setValidating(true);
  -        assert("Set validating is true",
  +        assertTrue("Set validating is true",
                  digester.getValidating());
           digester.setValidating(false);
  -        assert("Reset validating is false",
  +        assertTrue("Reset validating is false",
                  !digester.getValidating());
   
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message