org.mars_sim.msp.simulation.resource
Class TestAmountResourceTypeStorage

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

public class TestAmountResourceTypeStorage
extends junit.framework.TestCase


Constructor Summary
TestAmountResourceTypeStorage()
           
 
Method Summary
 void testInventoryAmountResourceTypeAllStored()
           
 void testInventoryAmountResourceTypeCapacityGood()
           
 void testInventoryAmountResourceTypeCapacityNegativeCapacity()
           
 void testInventoryAmountResourceTypeCapacityNotSet()
           
 void testInventoryAmountResourceTypeRemainingCapacityGood()
           
 void testInventoryAmountResourceTypeRemainingCapacityNoCapacity()
           
 void testInventoryAmountResourceTypeRetrieveGood()
           
 void testInventoryAmountResourceTypeRetrieveNegative()
           
 void testInventoryAmountResourceTypeRetrieveNoCapacity()
           
 void testInventoryAmountResourceTypeRetrieveTooMuch()
           
 void testInventoryAmountResourceTypeStoreGood()
           
 void testInventoryAmountResourceTypeStoreNegativeAmount()
           
 void testInventoryAmountResourceTypeStoreNoCapacity()
           
 void testInventoryAmountResourceTypeStoreOverload()
           
 void testInventoryAmountResourceTypeTotalAmount()
           
 
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

TestAmountResourceTypeStorage

public TestAmountResourceTypeStorage()
Method Detail

testInventoryAmountResourceTypeCapacityGood

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

testInventoryAmountResourceTypeCapacityNotSet

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

testInventoryAmountResourceTypeCapacityNegativeCapacity

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

testInventoryAmountResourceTypeStoreNegativeAmount

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

testInventoryAmountResourceTypeStoreNoCapacity

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

testInventoryAmountResourceTypeRemainingCapacityGood

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

testInventoryAmountResourceTypeRemainingCapacityNoCapacity

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

testInventoryAmountResourceTypeRetrieveGood

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

testInventoryAmountResourceTypeRetrieveTooMuch

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

testInventoryAmountResourceTypeRetrieveNegative

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

testInventoryAmountResourceTypeRetrieveNoCapacity

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

testInventoryAmountResourceTypeTotalAmount

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

testInventoryAmountResourceTypeAllStored

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