src/test/java/net/christophermerrill/FancyFxTree/FancyTreeTests.java
@Test
	public void delayUpdatesWhileEditing()
	    {
	    createBasicTreeAndData();
	    ExampleDataNode target_node = _model.getNodeByName("1.1.2");
        doubleClickOn(target_node.getName());
        lookup("." + TextCellEditor.NODE_STYLE).query();

        target_node.setName("newnamefor1.1.2");
        waitForUiEvents();
        Assertions.assertFalse(exists("newnamefor1.1.2"), "new name shown in tree");
        lookup("." + TextCellEditor.NODE_STYLE).query();
        }
/**
	 * While editing, changes to the node should be ignored (rather than updating
	 * the cell UI...which would close the editor).
	 */
While editing, changes to the node should be ignored (rather than updating
the cell UI...which would close the editor).
While editing changes to the node should be ignored ( rather than updating the cell UI ... which would close the editor ) .
@Test
	public void delayUpdatesWhileEditing()
	    {
	    createBasicTreeAndData();
	    ExampleDataNode target_node = _model.getNodeByName("1.1.2");
        doubleClickOn(target_node.getName());
        lookup("." + TextCellEditor.NODE_STYLE).query();
        target_node.setName("newnamefor1.1.2");
        waitForUiEvents();
        Assertions.assertFalse(exists("newnamefor1.1.2"), "new name shown in tree");
        lookup("." + TextCellEditor.NODE_STYLE).query();
        }
@ Test public void delayUpdatesWhileEditing ( ) { createBasicTreeAndData ( ) ; ExampleDataNode target_node = _model . getNodeByName ( "1.1.2" ) ; doubleClickOn ( target_node . getName ( ) ) ; lookup ( "." + TextCellEditor . NODE_STYLE ) . query ( ) ; target_node . setName ( "newnamefor1.1.2" ) ; waitForUiEvents ( ) ; Assertions . assertFalse ( exists ( "newnamefor1.1.2" ) , "new name shown in tree" ) ; lookup ( "." + TextCellEditor . NODE_STYLE ) . query ( ) ; }
While editing, changes to the node should be ignored (rather than updating
 the cell UI...which would close the editor).
While editing changes to the node should be ignored ( rather than updating the cell UI ... which would close the editor ) .