org.mars_sim.msp.simulation
Class TestInventory
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.mars_sim.msp.simulation.TestInventory
- All Implemented Interfaces:
- junit.framework.Test
public class TestInventory
- extends junit.framework.TestCase
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 |
TestInventory
public TestInventory()
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
testInventoryAmountResourcePhaseStoreDeep
public void testInventoryAmountResourcePhaseStoreDeep()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryAmountResourceTypeStoreDeep
public void testInventoryAmountResourceTypeStoreDeep()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryAmountResourceTypeStoreDeepOverload
public void testInventoryAmountResourceTypeStoreDeepOverload()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryAmountResourceRemainingCapacityGood
public void testInventoryAmountResourceRemainingCapacityGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryAmountResourceRemainingCapacityMultiple
public void testInventoryAmountResourceRemainingCapacityMultiple()
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
testInventoryAmountResourcePhaseRetrieveDeep
public void testInventoryAmountResourcePhaseRetrieveDeep()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryAmountResourceTypeRetrieveDeep
public void testInventoryAmountResourceTypeRetrieveDeep()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryAmountResourceAllResources
public void testInventoryAmountResourceAllResources()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryAddGeneralCapacity
public void testInventoryAddGeneralCapacity()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceStoreGood
public void testInventoryItemResourceStoreGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceStoreDeep
public void testInventoryItemResourceStoreDeep()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceStoreOverload
public void testInventoryItemResourceStoreOverload()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceStoreNegativeNumber
public void testInventoryItemResourceStoreNegativeNumber()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceStoreNoCapacity
public void testInventoryItemResourceStoreNoCapacity()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceStoreDeepOverload
public void testInventoryItemResourceStoreDeepOverload()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceRemainingCapacityGood
public void testInventoryItemResourceRemainingCapacityGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceRemainingCapacityNoCapacity
public void testInventoryItemResourceRemainingCapacityNoCapacity()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceRetrieveGood
public void testInventoryItemResourceRetrieveGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceRetrieveDeep
public void testInventoryItemResourceRetrieveDeep()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceRetrieveTooMuch
public void testInventoryItemResourceRetrieveTooMuch()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceRetrieveNegative
public void testInventoryItemResourceRetrieveNegative()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryItemResourceRetrieveNoItem
public void testInventoryItemResourceRetrieveNoItem()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryUnitStoreGood
public void testInventoryUnitStoreGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryUnitStoredDuplicate
public void testInventoryUnitStoredDuplicate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryUnitStoredNoCapacity
public void testInventoryUnitStoredNoCapacity()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryUnitStoredUnitContains
public void testInventoryUnitStoredUnitContains()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryUnitStoredItself
public void testInventoryUnitStoredItself()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryUnitStoredNull
public void testInventoryUnitStoredNull()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryUnitStoreDeepOverload
public void testInventoryUnitStoreDeepOverload()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryGetTotalUnitMassStored
public void testInventoryGetTotalUnitMassStored()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryGetContainedUnits
public void testInventoryGetContainedUnits()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryContainsUnitGood
public void testInventoryContainsUnitGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryContainsUnitFail
public void testInventoryContainsUnitFail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryContainsUnitClassGood
public void testInventoryContainsUnitClassGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryContainsUnitClassFail
public void testInventoryContainsUnitClassFail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryFindUnitGood
public void testInventoryFindUnitGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryFindUnitFail
public void testInventoryFindUnitFail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryFindAllUnitsGood
public void testInventoryFindAllUnitsGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryFindAllUnitsFail
public void testInventoryFindAllUnitsFail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryFindNumUnitsGood
public void testInventoryFindNumUnitsGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryFindNumUnitsFail
public void testInventoryFindNumUnitsFail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryRetrieveUnitGood
public void testInventoryRetrieveUnitGood()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryRetrieveUnitBad
public void testInventoryRetrieveUnitBad()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInventoryRetrieveUnitDouble
public void testInventoryRetrieveUnitDouble()
throws java.lang.Exception
- Throws:
java.lang.Exception