org.mars_sim.msp.simulation.resource
Class TestAmountResourcePhaseStorage

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mars_sim.msp.simulation.resource.TestAmountResourcePhaseStorage
All Implemented Interfaces:
junit.framework.Test

public class TestAmountResourcePhaseStorage
extends junit.framework.TestCase


Constructor Summary
TestAmountResourcePhaseStorage()
           
 
Method Summary
 void testInventoryAmountResourcePhaseCapacityGood()
           
 void testInventoryAmountResourcePhaseCapacityNegativeCapacity()
           
 void testInventoryAmountResourcePhaseCapacityNotSet()
           
 void testInventoryAmountResourcePhaseRemainingCapacityGood()
           
 void testInventoryAmountResourcePhaseRemainingCapacityNoCapacity()
           
 void testInventoryAmountResourcePhaseRetrieveGood()
           
 void testInventoryAmountResourcePhaseRetrieveNegative()
           
 void testInventoryAmountResourcePhaseRetrieveNoCapacity()
           
 void testInventoryAmountResourcePhaseRetrieveTooMuch()
           
 void testInventoryAmountResourcePhaseStoreGood()
           
 void testInventoryAmountResourcePhaseStoreNegativeAmount()
           
 void testInventoryAmountResourcePhaseStoreNoCapacity()
           
 void testInventoryAmountResourcePhaseStoreOverload()
           
 void testInventoryAmountResourcePhaseTotalAmount()
           
 void testInventoryAmountResourcePhaseTypeGood()
           
 void testInventoryAmountResourcePhaseTypeNoResource()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAmountResourcePhaseStorage

public TestAmountResourcePhaseStorage()
Method Detail

testInventoryAmountResourcePhaseCapacityGood

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

testInventoryAmountResourcePhaseCapacityNotSet

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

testInventoryAmountResourcePhaseCapacityNegativeCapacity

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

testInventoryAmountResourcePhaseStoreGood

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

testInventoryAmountResourcePhaseStoreOverload

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

testInventoryAmountResourcePhaseStoreNegativeAmount

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

testInventoryAmountResourcePhaseStoreNoCapacity

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

testInventoryAmountResourcePhaseTypeGood

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

testInventoryAmountResourcePhaseTypeNoResource

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

testInventoryAmountResourcePhaseRemainingCapacityGood

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

testInventoryAmountResourcePhaseRemainingCapacityNoCapacity

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

testInventoryAmountResourcePhaseRetrieveGood

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

testInventoryAmountResourcePhaseRetrieveTooMuch

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

testInventoryAmountResourcePhaseRetrieveNegative

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

testInventoryAmountResourcePhaseRetrieveNoCapacity

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

testInventoryAmountResourcePhaseTotalAmount

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