org.mars_sim.msp.simulation.resource
Class TestAmountResourceStorage

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

public class TestAmountResourceStorage
extends junit.framework.TestCase


Constructor Summary
TestAmountResourceStorage()
           
 
Method Summary
 void testInventoryAmountResourceAllResources()
           
 void testInventoryAmountResourceCapacityNotSet()
           
 void testInventoryAmountResourceComboCapacityGood()
           
 void testInventoryAmountResourcePhaseCapacityGood()
           
 void testInventoryAmountResourcePhaseCapacityNegativeCapacity()
           
 void testInventoryAmountResourcePhaseStoreGood()
           
 void testInventoryAmountResourcePhaseStoreOverload()
           
 void testInventoryAmountResourceRemainingCapacityGood()
           
 void testInventoryAmountResourceRetrieveGood()
           
 void testInventoryAmountResourceRetrieveNegative()
           
 void testInventoryAmountResourceRetrieveNoCapacity()
           
 void testInventoryAmountResourceRetrieveTooMuch()
           
 void testInventoryAmountResourceStoreNegativeAmount()
           
 void testInventoryAmountResourceStoreNoCapacity()
           
 void testInventoryAmountResourceTotalAmount()
           
 void testInventoryAmountResourceTypeCapacityGood()
           
 void testInventoryAmountResourceTypeCapacityNegativeCapacity()
           
 void testInventoryAmountResourceTypeRemainingCapacityNoCapacity()
           
 void testInventoryAmountResourceTypeStoreGood()
           
 void testInventoryAmountResourceTypeStoreOverload()
           
 
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

TestAmountResourceStorage

public TestAmountResourceStorage()
Method Detail

testInventoryAmountResourceTypeCapacityGood

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

testInventoryAmountResourceTypeCapacityNegativeCapacity

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

testInventoryAmountResourcePhaseCapacityGood

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

testInventoryAmountResourcePhaseCapacityNegativeCapacity

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

testInventoryAmountResourceComboCapacityGood

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

testInventoryAmountResourceCapacityNotSet

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

testInventoryAmountResourceTypeStoreGood

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

testInventoryAmountResourceTypeStoreOverload

public void testInventoryAmountResourceTypeStoreOverload()
                                                  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

testInventoryAmountResourceStoreNegativeAmount

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

testInventoryAmountResourceStoreNoCapacity

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

testInventoryAmountResourceRemainingCapacityGood

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

testInventoryAmountResourceTypeRemainingCapacityNoCapacity

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

testInventoryAmountResourceRetrieveGood

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

testInventoryAmountResourceRetrieveTooMuch

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

testInventoryAmountResourceRetrieveNegative

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

testInventoryAmountResourceRetrieveNoCapacity

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

testInventoryAmountResourceTotalAmount

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

testInventoryAmountResourceAllResources

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