test_class.file: misc/diff/src/test/java/org/openscience/cdk/tools/diff/tree/AbstractDifferenceListTest.java
test_class.identifier: AbstractDifferenceListTest
test_class.superclass: extends CDKTestCase
test_case.body: @Test
      public void testAddChild() {
          DifferenceClass diffClass = new DifferenceClass();
          diffClass.addChild(StringDifference.construct("Foo", "Bar1", "Bar2"));
          Assert.assertEquals(1, diffClass.childCount());
  
          diffClass.addChild(null);
          Assert.assertEquals(1, diffClass.childCount());
      }
test_case.class_method_signature: AbstractDifferenceListTest.testAddChild()
test_case.full_signature: @Test public void testAddChild()
test_case.identifier: testAddChild
test_case.invocations: addChild construct assertEquals childCount addChild assertEquals childCount
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAddChild()
focal_class.declarator: differences
focal_class.modifier: protected
focal_class.original_string: protected List<IDifference> differences;
focal_class.type: List<IDifference>
focal_class.var_name: differences
focal_class.file: misc/diff/src/main/java/org/openscience/cdk/tools/diff/tree/AbstractDifferenceList.java
focal_class.identifier: AbstractDifferenceList
focal_class.interfaces: implements IDifferenceList
focal_class.class_method_signature: AbstractDifferenceList.AbstractDifferenceList()
focal_class.full_signature: protected  AbstractDifferenceList()
focal_class.identifier: AbstractDifferenceList
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  AbstractDifferenceList()
focal_class.class_method_signature: AbstractDifferenceList.addChild(IDifference childDiff)
focal_class.full_signature: @Override public void addChild(IDifference childDiff)
focal_class.identifier: addChild
focal_class.modifiers: @Override public
focal_class.parameters: (IDifference childDiff)
focal_class.return: void
focal_class.signature: void addChild(IDifference childDiff)
focal_class.class_method_signature: AbstractDifferenceList.addChildren(List<IDifference> children)
focal_class.full_signature: @Override public void addChildren(List<IDifference> children)
focal_class.identifier: addChildren
focal_class.modifiers: @Override public
focal_class.parameters: (List<IDifference> children)
focal_class.return: void
focal_class.signature: void addChildren(List<IDifference> children)
focal_class.class_method_signature: AbstractDifferenceList.getChildren()
focal_class.full_signature: @Override public Iterable<IDifference> getChildren()
focal_class.identifier: getChildren
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterable<IDifference>
focal_class.signature: Iterable<IDifference> getChildren()
focal_class.class_method_signature: AbstractDifferenceList.childCount()
focal_class.full_signature: @Override public int childCount()
focal_class.identifier: childCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int childCount()
focal_method.body: @Override
      public void addChild(IDifference childDiff) {
          if (childDiff != null) {
              differences.add(childDiff);
          }
      }
focal_method.class_method_signature: AbstractDifferenceList.addChild(IDifference childDiff)
focal_method.full_signature: @Override public void addChild(IDifference childDiff)
focal_method.identifier: addChild
focal_method.invocations: add
focal_method.modifiers: @Override public
focal_method.parameters: (IDifference childDiff)
focal_method.return: void
focal_method.signature: void addChild(IDifference childDiff)