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. ;-)
}
}
|