test.de.smartics.ci.config.utils
Class JDomUtilsMergeTest

Package class diagram package JDomUtilsMergeTest
java.lang.Object
  extended by test.de.smartics.ci.config.utils.JDomUtilsMergeTest

@Uut(type=de.smartics.ci.config.utils.JDomUtils.class,
     method="merge(Element, Element)")
public class JDomUtilsMergeTest
     
     
extends Object

Tests JDomUtils.merge(Element, Element).


Constructor Summary
JDomUtilsMergeTest()
           
 
Method Summary
 void mergesTwoElementsWithContent()
           
 void mergesTwoElementsWithIdenticalContent()
           
 void mergesTwoElementsWithoutContent()
           
 void recognizesElementDisorders()
           
 void rejectsIfRootElementsDoNotHaveTheSameName()
           
 void rejectsIfTargetIsNull()
           
 void rejectsIfToBeMergedIsNull()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDomUtilsMergeTest

public JDomUtilsMergeTest()
Method Detail

rejectsIfTargetIsNull

public void rejectsIfTargetIsNull()
                           throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

rejectsIfToBeMergedIsNull

public void rejectsIfToBeMergedIsNull()
                               throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

rejectsIfRootElementsDoNotHaveTheSameName

public void rejectsIfRootElementsDoNotHaveTheSameName()
                                               throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

mergesTwoElementsWithoutContent

public void mergesTwoElementsWithoutContent()
                                     throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

mergesTwoElementsWithContent

public void mergesTwoElementsWithContent()
                                  throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

mergesTwoElementsWithIdenticalContent

public void mergesTwoElementsWithIdenticalContent()
                                           throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

recognizesElementDisorders

public void recognizesElementDisorders()
                                throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException


Copyright © 2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.