Bug 117965 [DataBinding] Change tests plugin to pre-req examples
This will allow the UI tests in examples to make use of the pojo model
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/TreeScenarios.java
File root = (File) directoryModelTree.getChildren(null)[0];
		deleteFile(root);
		super.tearDown();
	}
	
	/*
	 * Recursively travere tree levels, and asserts that elements (objects, not col.) 
	 * in a given level are the equal.
	 * 
	 * viewer/model Nodes are the current traverse level.
	 * model, is the model tree.  The viewer is always assumed for the target.
	 * 
	 * Note: a call to this assertion will pull the complete tree to the viewer.
	 */
	private void assertEqualsTreeNode (Object viewerNode, Object modelNode, ITree model) {
		
		assertEquals(viewerNode, modelNode);
		Object[] viewerChildren = ((ITreeContentProvider)tviewer.getContentProvider()).getChildren(viewerNode);
		if (viewerChildren.length==0)
			viewerChildren=null;
		Object[] modelChildren = model.getChildren(modelNode);
		if (modelChildren!=null && modelChildren.length==0)
			modelChildren=null;
		
		if (viewerChildren==null || modelChildren==null) {
			assertEquals(viewerChildren, modelChildren);
			return;
		}
		assertEquals(viewerChildren.length, modelChildren.length);