net.sf.farrago.test
Class FarragoTimerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by 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

Nested Class Summary
private  class FarragoTimerTest.BadTask
           
private  class FarragoTimerTest.GoodTask
           
 
Field Summary
(package private)  int nTicks
           
 
Constructor Summary
FarragoTimerTest(String testName)
          Creates a new FarragoTimerTest object.
 
Method Summary
private  void executeTask(FarragoTimerTask task)
           
 void testBadTask()
           
 void testGoodTask()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nTicks

int nTicks
Constructor Detail

FarragoTimerTest

public FarragoTimerTest(String testName)
                 throws Exception
Creates a new FarragoTimerTest object.

Throws:
Exception
Method Detail

testGoodTask

public void testGoodTask()

testBadTask

public void testBadTask()

executeTask

private void executeTask(FarragoTimerTask task)