|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.axiom.testutils.suite.TestCaseEx
org.apache.axiom.ts.dom.DOMTestCase
org.apache.axiom.ts.dom.element.TestReplaceChildNullNewChild
public class TestReplaceChildNullNewChild
Tests the behavior of Node.replaceChild(Node, Node) if newChild is
null. In this case an exception should be thrown. Note that the DOM doesn't specify
the exception to throw; Xerces throws a NullPointerException.
| Field Summary |
|---|
| Fields inherited from class org.apache.axiom.ts.dom.DOMTestCase |
|---|
dbf |
| Constructor Summary | |
|---|---|
TestReplaceChildNullNewChild(DocumentBuilderFactory dbf)
|
|
| Method Summary | |
|---|---|
protected void |
runTest()
|
| Methods inherited from class org.apache.axiom.testutils.suite.TestCaseEx |
|---|
addTestProperty, getTestProperties |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, 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, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestReplaceChildNullNewChild(DocumentBuilderFactory dbf)
| Method Detail |
|---|
protected void runTest()
throws Throwable
runTest in class org.apache.axiom.testutils.suite.TestCaseExThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||