com.yobotics.simulationconstructionset
Class YoVariableRegistryTest

java.lang.Object
  extended by com.yobotics.simulationconstructionset.YoVariableRegistryTest

public class YoVariableRegistryTest
extends java.lang.Object


Constructor Summary
YoVariableRegistryTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testAddChildAndGetParentAndGetChildren()
           
 void testCannotRegisterSameVariableName()
           
 void testCantAddAChildWithANullNamespace()
           
 void testCantAddChildWithSameName()
           
 void testCantAddDuplicateSubnames()
           
 void testCaseInsensitivityToNameButNotNamespace()
           
 void testCreateVarList()
           
 void testCreateVarListIncludingChildren()
           
 void testDontAllowRepeatRegistryNames()
           
 void testDontLetAChildGetAddedToTwoRegistries()
           
 void testFamilyRelations()
           
 void testGetAllRegistriesIncludingChildren()
           
 void testGetAllVariables()
           
 void testGetAllVariablesIncludingDescendants()
           
 void testGetAllVariablesInThisListOnly()
           
 void testGetName()
           
 void testGetNameSpace()
           
 void testGetNumberOfVariables()
           
 void testGetOrCreateAndAddRegistry()
           
 void testGetRegistry()
           
 void testGetVariable()
           
 void testGetVariable1()
           
 void testGetVariables1()
           
 void testGetVariables2()
           
 void testHasUniqueVariable()
           
 void testHasUniqueVariable1()
           
 void testIllegalAddChild()
           
 void testIllegalName1()
           
 void testIllegalName2()
           
 void testListenersOne()
           
 void testLoggingAndSending()
           
 void testNoDotsAllowed()
           
 void testNullChild()
           
 void testNullNameSpace()
           
 void testRegisterVariable()
           
 void testRegistryTree()
           
 void testThrowExceptionIfAddChildRegistryWithAListener()
           
 void testThrowExceptionIfAttachListenerToNonRoot()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YoVariableRegistryTest

public YoVariableRegistryTest()
Method Detail

setUp

public void setUp()

tearDown

public void tearDown()

testCantAddChildWithSameName

public void testCantAddChildWithSameName()

testGetName

public void testGetName()

testCreateVarList

public void testCreateVarList()

testGetAllVariables

public void testGetAllVariables()

testGetNameSpace

public void testGetNameSpace()

testGetVariable

public void testGetVariable()

testCaseInsensitivityToNameButNotNamespace

public void testCaseInsensitivityToNameButNotNamespace()

testGetVariable1

public void testGetVariable1()

testGetVariables1

public void testGetVariables1()

testGetVariables2

public void testGetVariables2()

testHasUniqueVariable

public void testHasUniqueVariable()

testHasUniqueVariable1

public void testHasUniqueVariable1()

testRegisterVariable

public void testRegisterVariable()

testCannotRegisterSameVariableName

public void testCannotRegisterSameVariableName()

testGetAllVariablesInThisListOnly

public void testGetAllVariablesInThisListOnly()

testAddChildAndGetParentAndGetChildren

public void testAddChildAndGetParentAndGetChildren()

testDontLetAChildGetAddedToTwoRegistries

public void testDontLetAChildGetAddedToTwoRegistries()

testIllegalName1

public void testIllegalName1()

testIllegalName2

public void testIllegalName2()

testNoDotsAllowed

public void testNoDotsAllowed()

testIllegalAddChild

public void testIllegalAddChild()

testGetAllVariablesIncludingDescendants

public void testGetAllVariablesIncludingDescendants()

testFamilyRelations

public void testFamilyRelations()

testCantAddDuplicateSubnames

public void testCantAddDuplicateSubnames()

testNullChild

public void testNullChild()

testRegistryTree

public void testRegistryTree()

testDontAllowRepeatRegistryNames

public void testDontAllowRepeatRegistryNames()

testGetOrCreateAndAddRegistry

public void testGetOrCreateAndAddRegistry()

testNullNameSpace

public void testNullNameSpace()

testCantAddAChildWithANullNamespace

public void testCantAddAChildWithANullNamespace()

testCreateVarListIncludingChildren

public void testCreateVarListIncludingChildren()

testGetAllRegistriesIncludingChildren

public void testGetAllRegistriesIncludingChildren()

testGetRegistry

public void testGetRegistry()

testLoggingAndSending

public void testLoggingAndSending()

testGetNumberOfVariables

public void testGetNumberOfVariables()

testListenersOne

public void testListenersOne()

testThrowExceptionIfAttachListenerToNonRoot

public void testThrowExceptionIfAttachListenerToNonRoot()

testThrowExceptionIfAddChildRegistryWithAListener

public void testThrowExceptionIfAddChildRegistryWithAListener()