net.sf.farrago.test
Class FarragoTimerTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
net.sf.farrago.test.FarragoTimerTest
- All Implemented Interfaces:
- Test
public class FarragoTimerTest
- extends TestCase
FarragoTimerTest tests FarragoTimerAllocation
and FarragoTimerTask
.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/test/FarragoTimerTest.java#4 $
- Author:
- John Sichi
Field Summary |
(package private) int |
nTicks
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
nTicks
int nTicks
FarragoTimerTest
public FarragoTimerTest(String testName)
throws Exception
- Creates a new FarragoTimerTest object.
- Throws:
Exception
testGoodTask
public void testGoodTask()
testBadTask
public void testBadTask()
executeTask
private void executeTask(FarragoTimerTask task)