org.ourgrid.peer.manager.allocation
Class AllocationEntryTest

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

public class AllocationEntryTest
extends junit.framework.TestCase
implements PeerFastTest


Field Summary
protected  AllocationEntry allocation
           
 
Constructor Summary
AllocationEntryTest()
           
 
Method Summary
protected  AllocationEntry getAllocationEntry()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAllocateDeallocate()
          Tests for getOurAllocationRegistry() and degetOurAllocationRegistry().
 void testCreateAllocation()
          Tests the constructor.
 
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

allocation

protected AllocationEntry allocation
Constructor Detail

AllocationEntryTest

public AllocationEntryTest()
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

testCreateAllocation

public void testCreateAllocation()
Tests the constructor.


testAllocateDeallocate

public void testAllocateDeallocate()
Tests for getOurAllocationRegistry() and degetOurAllocationRegistry().


getAllocationEntry

protected AllocationEntry getAllocationEntry()