|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.xisemele.impl.WriterEditorImplTest
public class WriterEditorImplTest
Casos de testes para a classe WriterEditorImpl.
| Constructor Summary | |
|---|---|
WriterEditorImplTest()
|
|
| Method Summary | |
|---|---|
void |
testAttribute()
Testa o método WriterEditorImpl.attribute(String, Object). |
void |
testAttributeForDate()
Testa o método WriterEditorImpl.attribute(String, Date, String). |
void |
testAttributeWithAttributeNotPermittedException()
Testa se dispara a exceção AttributeNotPermittedException ao chamar o método
WriterEditorImpl.attribute(String, Object); |
void |
testContainsElement()
Testa o método WriterEditorImpl.containsElement(String). |
void |
testDefineAsCurrent()
Testa o método WriterEditorImpl.defineAsCurrent(String). |
void |
testDocument()
Testa o método WriterEditorImpl.document(). |
void |
testeAttributeForDateWithAttributeNotPermittedException()
Testa se dispara a exceção AttributeNotPermittedException ao chamar o método
WriterEditorImpl.attribute(String, Date, String). |
void |
testElement()
Testa o método WriterEditorImpl.element(String). |
void |
testElementWithRootDuplicateException()
Testa se dispara a exceção RootDuplicateException ao chamar o método WriterEditorImpl.element(String). |
void |
testElementWithWithinContextEnabled()
Testa o método WriterEditorImpl.element(String) no caso em que o contexto within está habilitado. |
void |
testEndWithin()
Testa o método WriterEditorImpl.endWithin(). |
void |
testEndWithinForParent()
Testa o método WriterEditorImpl.endWithin() para o caso em que o elemento pai do element corrente passa ser o
elemento corrente. |
void |
testEndWithinWithNotWithinContextException()
Testa se dispara a exceção NotWithinContextException ao chamar o método WriterEditorImpl.endWithin(). |
void |
testGetCurrent()
Testa o método WriterEditorImpl.getCurrent(). |
void |
testNode()
Testa o método WriterEditorImpl.node(org.w3c.dom.Node). |
void |
testNodeWithRootDuplicateException()
Testa se dispara a exceção RootDuplicateException ao chamar o método WriterEditorImpl.node(org.w3c.dom.Node). |
void |
testNodeWithWithinContextEnabled()
Testa o método WriterEditorImpl.node(org.w3c.dom.Node) no caso em que o contexto within está habilitado. |
void |
testRemove()
Testa o método WriterEditorImpl.remove(). |
void |
testRemoveAttribute()
Testa o método WriterEditorImpl.removeAttribute(String). |
void |
testRemoveAttributes()
Testa o método WriterEditorImpl.removeAttributes(). |
void |
testRemoveChildForName()
Testa o método WriterEditorImpl.removeChild(String). |
void |
testRemoveChildren()
Testa o método WriterEditorImpl.removeChildren(). |
void |
testRemoveChildrenForName()
Testa o método WriterEditorImpl.removeChildren(String). |
void |
testRemoveWithRemoveRootNotPermittedException()
Testa se dispara a exceção RemoveRootNotPermittedException ao chamar o método WriterEditorImpl.remove(). |
void |
testRename()
Testa o método WriterEditorImpl.rename(String). |
void |
testResult()
Testa o método WriterEditorImpl.result(). |
void |
testValue()
Testa o método WriterEditorImpl.value(Object). |
void |
testValueForDate()
Testa o método WriterEditorImpl.value(Date, String). |
void |
testValueForDateWithValueNotPermittedException()
Testa se dispara a exceção ValueNotPermittedException ao chamar o método WriterEditorImpl.value(Date, String). |
void |
testValueNull()
Testa o método WriterEditorImpl.value(Object) no caso de especificar o valor null por parâmetro. |
void |
testValueWithValueNotPermittedExceptionCase1()
Testa se dispara a exceção ValueNotPermittedException ao chamar o método WriterEditorImpl.value(Object) para
um elemento que já contenha elementos filhos. |
void |
testValueWithValueNotPermittedExceptionCase2()
Testa se dispara a exceção ValueNotPermittedException ao chamar o método WriterEditorImpl.value(Object) para
um contexto within iniciado. |
void |
testWithin()
Testa o método WriterEditorImpl.within(). |
void |
testWithinWithWithinContextDuplicateException()
Testa se dispara a exceção WithinContextDuplicateException ao chamar o método WriterEditorImpl.within(). |
void |
testWithinWithWithinContextNotPermittedException()
Testa se dispara a exceção WithinContextNotPermittedException ao chamar o método WriterEditorImpl.within(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriterEditorImplTest()
| Method Detail |
|---|
public void testDocument()
WriterEditorImpl.document().
public void testResult()
WriterEditorImpl.result().
public void testGetCurrent()
WriterEditorImpl.getCurrent().
public void testContainsElement()
WriterEditorImpl.containsElement(String).
public void testWithin()
WriterEditorImpl.within().
public void testWithinWithWithinContextDuplicateException()
WithinContextDuplicateException ao chamar o método WriterEditorImpl.within().
public void testWithinWithWithinContextNotPermittedException()
WithinContextNotPermittedException ao chamar o método WriterEditorImpl.within().
public void testEndWithin()
WriterEditorImpl.endWithin().
public void testEndWithinWithNotWithinContextException()
NotWithinContextException ao chamar o método WriterEditorImpl.endWithin().
public void testEndWithinForParent()
WriterEditorImpl.endWithin() para o caso em que o elemento pai do element corrente passa ser o
elemento corrente.
public void testElement()
WriterEditorImpl.element(String).
public void testElementWithWithinContextEnabled()
WriterEditorImpl.element(String) no caso em que o contexto within está habilitado.
public void testElementWithRootDuplicateException()
RootDuplicateException ao chamar o método WriterEditorImpl.element(String).
public void testNode()
WriterEditorImpl.node(org.w3c.dom.Node).
public void testNodeWithWithinContextEnabled()
WriterEditorImpl.node(org.w3c.dom.Node) no caso em que o contexto within está habilitado.
public void testNodeWithRootDuplicateException()
RootDuplicateException ao chamar o método WriterEditorImpl.node(org.w3c.dom.Node).
public void testValue()
WriterEditorImpl.value(Object).
public void testValueWithValueNotPermittedExceptionCase1()
ValueNotPermittedException ao chamar o método WriterEditorImpl.value(Object) para
um elemento que já contenha elementos filhos.
public void testValueWithValueNotPermittedExceptionCase2()
ValueNotPermittedException ao chamar o método WriterEditorImpl.value(Object) para
um contexto within iniciado.
public void testValueNull()
WriterEditorImpl.value(Object) no caso de especificar o valor null por parâmetro.
public void testValueForDate()
WriterEditorImpl.value(Date, String).
public void testValueForDateWithValueNotPermittedException()
ValueNotPermittedException ao chamar o método WriterEditorImpl.value(Date, String).
public void testAttribute()
WriterEditorImpl.attribute(String, Object).
public void testAttributeWithAttributeNotPermittedException()
AttributeNotPermittedException ao chamar o método
WriterEditorImpl.attribute(String, Object);
public void testAttributeForDate()
WriterEditorImpl.attribute(String, Date, String).
public void testeAttributeForDateWithAttributeNotPermittedException()
AttributeNotPermittedException ao chamar o método
WriterEditorImpl.attribute(String, Date, String).
public void testRemove()
WriterEditorImpl.remove().
public void testRemoveWithRemoveRootNotPermittedException()
RemoveRootNotPermittedException ao chamar o método WriterEditorImpl.remove().
public void testRemoveChildForName()
WriterEditorImpl.removeChild(String).
public void testRemoveChildrenForName()
WriterEditorImpl.removeChildren(String).
public void testRemoveChildren()
WriterEditorImpl.removeChildren().
public void testRemoveAttribute()
WriterEditorImpl.removeAttribute(String).
public void testRemoveAttributes()
WriterEditorImpl.removeAttributes().
public void testRename()
WriterEditorImpl.rename(String).
public void testDefineAsCurrent()
WriterEditorImpl.defineAsCurrent(String).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||