org.ourgrid.peer.manager.gummanager
Class GumManagerEntryTest

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

public class GumManagerEntryTest
extends junit.framework.TestCase
implements PeerFastTest


Constructor Summary
GumManagerEntryTest(java.lang.String arg0)
          Constructor for GridMachineEntryTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAllocateDeallocateIsAllocated()
          Tests the allocate(), deallocate() and isAllocated() methods.
 void testGetAttributes()
          Tests the getAttributes() method.
 void testGetGridMachine()
          Tests the getGridMachine() method.
 void testIsAvailable()
          Tests the isAvailable() method.
 void testUpDownIsUp()
          Tests the up(), down() and isUp() methods.
 
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
 

Constructor Detail

GumManagerEntryTest

public GumManagerEntryTest(java.lang.String arg0)
Constructor for GridMachineEntryTest.

Parameters:
arg0 -
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

testGetAttributes

public void testGetAttributes()
Tests the getAttributes() method.


testGetGridMachine

public void testGetGridMachine()
Tests the getGridMachine() method.


testIsAvailable

public void testIsAvailable()
Tests the isAvailable() method.


testUpDownIsUp

public void testUpDownIsUp()
Tests the up(), down() and isUp() methods.


testAllocateDeallocateIsAllocated

public void testAllocateDeallocateIsAllocated()
Tests the allocate(), deallocate() and isAllocated() methods.