FileDocCategorySizeDatePackage
FailTest.javaAPI DocphoneME MR2 API (J2ME)1610Wed May 02 18:00:00 BST 2007com.sun.midp.util

FailTest

public class FailTest extends com.sun.midp.i3test.TestCase
An i3test that fails. Useful for ensuring that i3test runs that include a failure report their exit status properly. Note that this class doesn't follow the typical naming conventions, so it isn't included as part of the normal test run. To invoke it, you must name the class explicitly on the i3test command line.

Fields Summary
Constructors Summary
Methods Summary
public voidrunTests()

        declare("testFail");
        fail("testFail has failed as expected");