org.semispace.actor
Class ActorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.semispace.actor.ActorTest
All Implemented Interfaces:
junit.framework.Test

public class ActorTest
extends junit.framework.TestCase


Nested Class Summary
protected  class ActorTest.NotificationTestListener
           
 
Constructor Summary
ActorTest()
           
 
Method Summary
 void setUp()
           
 void testGiveAndTake()
          This test was used to find a bug which was introduced when the scope of a getter was mistakenly set to protected.
 void testListeningForPing()
           
 void testManyCallsForActor()
           
 void testSimpleActor()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Constructor Detail

ActorTest

public ActorTest()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testGiveAndTake

public void testGiveAndTake()
This test was used to find a bug which was introduced when the scope of a getter was mistakenly set to protected.


testSimpleActor

public void testSimpleActor()
                     throws InterruptedException
Throws:
InterruptedException

testManyCallsForActor

public void testManyCallsForActor()
                           throws InterruptedException
Throws:
InterruptedException

testListeningForPing

public void testListeningForPing()
                          throws InterruptedException
Throws:
InterruptedException


Copyright © 2008-2012. All Rights Reserved.