In order to convert all the testlets to JUnit TestCases,
we need to do the following:

1) Change name from xxxTestlet to xxxTestCase (preferred but not necessary)

2) Change class extended from org.apache.testlet.AbstractTestlet to
   junit.framework.TestCase

3) Global replace "assertEquality(" with "assertEquals("

4) Global replace "assert(" with "assertTrue(".  The assert() method works
   but is deprecated in favor of the more semantically correct version.


Optionally:

Place all initialization code in "setUp()" and disposal code in "tearDown()"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to