Method Summary |
|
public void | createChangeEvent() Creates document event with type of CHANGE . |
protected void | setUp() Sets up the test fixture for changes tests. |
public void | testChangedUpdate01() The view has no children, and updateChildren
is not called as well as other methods involved. |
public void | testChangedUpdate02() The view has children and updateChildren returns
false . |
public void | testChangedUpdate03() The view has children and updateChildren returns
true . |
public void | testChangedUpdate04() As if attributes are changed in the range 7-18:
the second paragraph (6-15), and
the third one (15, 19). |
public void | testChangedUpdate05() As if attributes are changed in the range 7-18:
the second paragraph (6-15), and
the third one (15, 19). |
public void | testForwardUpdateToView() Tests forwardUpdateToView whether it calls
{insert,remove,changed}Update depending on event type. |
public void | testInsertUpdate01() The view has no children, and updateChildren
is not called. |
public void | testInsertUpdate02() The view has children and updateChildren returns
false . |
public void | testInsertUpdate03() The view has children and updateChildren returns
true . |
public void | testInsertUpdate04() Insert text so that structure changes occur at index of 2, while
updateChildren returns true . |
public void | testInsertUpdate05() No structural changes occurred to the root element. |
public void | testInsertUpdate06() viewFactory parameter is null . |
public void | testInsertUpdate07() updateChildren returns true . |
public void | testInsertUpdate08() updateChildren returns false . |
public void | testInsertUpdate09() In this test view representing line is replaced with two
view which represent parts of the line Element.
updateChildren returns true , i.e. |
public void | testInsertUpdate10() In this test view representing line is replaced with two
view which represent parts of the line Element.
(Same as in testInsertUpdate09 except for the below).
updateChildren returns false , i.e. |
public void | testRemoveUpdate01() The view has no children, and updateChildren
is not called as well as other methods involved. |
public void | testRemoveUpdate02() The view has children and updateChildren returns
false . |
public void | testRemoveUpdate03() The view has children and updateChildren returns
true . |
public void | testRemoveUpdate04() The view has children and updateChildren returns
true . |
public void | testRemoveUpdate05() The view has children and updateChildren returns
true . |
public void | testRemoveUpdate06() The view has children and updateChildren returns
false . |
public void | testRemoveUpdate07() This test-method is similar to testRemoveUpdate02, but the text removed
is in the first paragraph. |
public void | testRemoveUpdate08() This test-method is similar to testRemoveUpdate03, but the text removed
is in the first paragraph. |
public void | testUpdateLayout01() Tests updateLayout when element change is not
null . |
public void | testUpdateLayout02() Tests updateLayout when element change is
null : seems like it has no side effects and
probably does nothing in this case. |