org.ourgrid.peer.manager
Class PeerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ourgrid.peer.manager.PeerTest
All Implemented Interfaces:
junit.framework.Test, PeerPreCommitTest, PreCommitTest, SelectiveTest, SpecialCareTest, StressTest

public class PeerTest
extends junit.framework.TestCase
implements SpecialCareTest, PeerPreCommitTest


Constructor Summary
PeerTest()
           
 
Method Summary
protected  void setUp()
          Sets up the environment.
protected  void tearDown()
           
 void testPeerSimpleExecution()
          Tests the peer in a simple execution that it would simply stop responding requests.
 
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
 

Constructor Detail

PeerTest

public PeerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Sets up the environment.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testPeerSimpleExecution

public void testPeerSimpleExecution()
                             throws java.lang.Exception
Tests the peer in a simple execution that it would simply stop responding requests.

Throws:
java.lang.Exception