[jdom-commits] CVS Update: jdom-test/src/java/org/jdom/test/cases

nobody nobody at chimbo.servlets.com
Mon Jun 16 17:15:47 PDT 2003


****************************************
Date:   Mon Jun 16, 2003 @18:15:46 MDT
Author: 

Update of /home/cvs/jdom-test/src/java/org/jdom/test/cases
In directory chimbo:/tmp/cvs-serv14992

Modified Files:
TestAttribute.java TestComment.java TestDocument.java
TestElement.java TestFilterList.java TestNamespace.java
TestVerifier.java
Log Message:
Patch from Brad for jdom-test:

Noticed a bunch of 'assertTrue("xxx", true)' in the tests which will never
print the intended message. Cleaned up and updated jdom-test to use current
JUnit methods by changing

assertTrue("xxx", true) => fail("xxx")
assertTrue("xxx", false) => fail("xxx")
assertTrue("xxx", yyy == true) => assertTrue("xxx", yyy)
assertTrue("xxx", yyy != true) => assertFalse("xxx", yyy)
assertTrue("xxx", yyy == null) => assertNull("xxx", yyy)
assertTrue("xxx", yyy != null) => assertNotNull("xxx", yyy)
assertTrue(true) => not needed and has no effect, removed

Brad

===================================================================
File: TestAttribute.java	Status: Up-to-date

   Working revision:	1.6	Tue Jun 17 00:15:40 2003
   Repository revision:	1.6	/home/cvs/jdom-test/src/java/org/jdom/test/cases/TestAttribute.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.5)

===================================================================
File: TestComment.java 	Status: Up-to-date

   Working revision:	1.5	Tue Jun 17 00:15:40 2003
   Repository revision:	1.5	/home/cvs/jdom-test/src/java/org/jdom/test/cases/TestComment.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.4)

===================================================================
File: TestDocument.java	Status: Up-to-date

   Working revision:	1.9	Tue Jun 17 00:15:40 2003
   Repository revision:	1.9	/home/cvs/jdom-test/src/java/org/jdom/test/cases/TestDocument.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.8)

===================================================================
File: TestElement.java 	Status: Up-to-date

   Working revision:	1.12	Tue Jun 17 00:15:43 2003
   Repository revision:	1.12	/home/cvs/jdom-test/src/java/org/jdom/test/cases/TestElement.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.9)

===================================================================
File: TestFilterList.java	Status: Up-to-date

   Working revision:	1.5	Tue Jun 17 00:15:45 2003
   Repository revision:	1.5	/home/cvs/jdom-test/src/java/org/jdom/test/cases/TestFilterList.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.4)

===================================================================
File: TestNamespace.java	Status: Up-to-date

   Working revision:	1.6	Tue Jun 17 00:15:45 2003
   Repository revision:	1.6	/home/cvs/jdom-test/src/java/org/jdom/test/cases/TestNamespace.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.5)

===================================================================
File: TestVerifier.java	Status: Up-to-date

   Working revision:	1.9	Tue Jun 17 00:15:46 2003
   Repository revision:	1.9	/home/cvs/jdom-test/src/java/org/jdom/test/cases/TestVerifier.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.7)




More information about the jdom-commits mailing list