FileDocCategorySizeDatePackage
TestExample.javaAPI DocExample661Wed Nov 20 17:21:42 GMT 2002com.oreilly.javaxp.xdoclet.perf

TestExample.java

package com.oreilly.javaxp.xdoclet.perf;

import junit.framework.TestCase;

/**
 * @author Brian M. Coyner
 * @version $Id: TestExample.java,v 1.2 2002/11/20 00:09:16 jepc Exp $
 */
public class TestExample extends TestCase {

    /**
     * @junitperf.timedtest maxElapsedTime="1000"
     *                      waitForCompletion="false"
     */
    public void testExampleOneSecondTimedTest() throws Exception {
        Thread.sleep(1000);
    }

    /**
     * @junitperf.loadtest numberOfUsers="100"
     *                     numberOfIterations="5"
     */
    public void testExampleLoad() {
        // does nothing. ;-)
    }
}