FileDocCategorySizeDatePackage
junitTest.javaAPI DocExample380Tue Mar 13 22:36:12 GMT 2001None

junitTest.java

import junit.framework.*;

/** A simple test case for XXX.
 * This class' name should be XXXTest, where XXX is the class it tests.
 */
public class junitTest extends TestCase {

	protected String f;

	/** JUnit test classes require this constructor */
	public junitTest(String name) {
		super(name);
	}

	public void testXXX() {
		f = "...";
		assertEquals("Ian Darwin", f);
	}
}