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

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

Date:   Mon Jun 16, 2003 @18:15:47 MDT

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

Modified Files:
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


File: TestSAXBuilder.java	Status: Up-to-date

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

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.2)

More information about the jdom-commits mailing list