org.ourgrid.peer.community.obtainer
Class EBCommunityObtainerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ourgrid.peer.community.obtainer.EBCommunityObtainerTest
All Implemented Interfaces:
junit.framework.Test, FastTest, PeerFastTest, PeerPreCommitTest, PreCommitTest, SelectiveTest, StressTest

public class EBCommunityObtainerTest
extends junit.framework.TestCase
implements PeerFastTest


Field Summary
protected  CommunicationLayer mockCommunicationLayer
           
protected  EBGumpClient mockConsumer
           
 
Constructor Summary
EBCommunityObtainerTest()
           
 
Method Summary
protected  EBCommunityObtainer getEBCommunityObtainer()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testHereIsGuMAndDisposeOf()
           
 void testHereIsGuMAndFinishRequest()
           
 void testHereIsGuMAndUnwanted()
           
 void testNoMoreGuMs()
           
 void testPeerRemovalFromFD()
           
 void testPeerRemovalFromFD2()
           
 void testResumeWannaGuMs()
           
 void testSuspendWannaGuMs()
           
 void testWannaGuMs()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Field Detail

mockConsumer

protected EBGumpClient mockConsumer

mockCommunicationLayer

protected CommunicationLayer mockCommunicationLayer
Constructor Detail

EBCommunityObtainerTest

public EBCommunityObtainerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testWannaGuMs

public void testWannaGuMs()
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

testNoMoreGuMs

public void testNoMoreGuMs()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testSuspendWannaGuMs

public void testSuspendWannaGuMs()
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

testResumeWannaGuMs

public void testResumeWannaGuMs()
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

testHereIsGuMAndDisposeOf

public void testHereIsGuMAndDisposeOf()
                               throws java.lang.InterruptedException,
                                      java.rmi.RemoteException
Throws:
java.lang.InterruptedException
java.rmi.RemoteException

testHereIsGuMAndUnwanted

public void testHereIsGuMAndUnwanted()
                              throws java.lang.InterruptedException,
                                     java.rmi.RemoteException
Throws:
java.lang.InterruptedException
java.rmi.RemoteException

testHereIsGuMAndFinishRequest

public void testHereIsGuMAndFinishRequest()
                                   throws java.lang.InterruptedException,
                                          java.rmi.RemoteException
Throws:
java.lang.InterruptedException
java.rmi.RemoteException

testPeerRemovalFromFD

public void testPeerRemovalFromFD()
                           throws java.lang.InterruptedException,
                                  java.rmi.RemoteException,
                                  java.net.URISyntaxException
Throws:
java.lang.InterruptedException
java.rmi.RemoteException
java.net.URISyntaxException

testPeerRemovalFromFD2

public void testPeerRemovalFromFD2()
                            throws java.lang.InterruptedException,
                                   java.rmi.RemoteException,
                                   java.net.URISyntaxException
Throws:
java.lang.InterruptedException
java.rmi.RemoteException
java.net.URISyntaxException

getEBCommunityObtainer

protected EBCommunityObtainer getEBCommunityObtainer()
Returns: