tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Tulley" <>
Subject [Patch] BaseDirContextTestCase depcrecated junit methods
Date Thu, 23 Oct 2003 22:22:15 GMT
Since assert is a reserved keyword, and is now part of the language,
junit moved away from using it for test assertions, opting instead for
things like assertTrue or assertEquals

Here is the patch for BaseDirContextTestCase, to bring it up to par with
junit's and Java's recommended practices.

Jeff Tulley  (
Novell, Inc., The Leading Provider of Net Business Solutions

View raw message