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/TextControlScenario.java
newName = "Austria";
		for (int i = 0; i < newName.length(); i++) {
			text.setText(newName.substring(0,i+1));
						
			assertEquals(newName.substring(0,i+1),adventure.getName());
		}
		
		text.notifyListeners(SWT.FocusOut,null);
			
		text.notifyListeners(SWT.KeyDown,event);		
		
		assertEquals(newName,adventure.getName());		
	}
/**		
	public void testScenario05(){
		// Show that nesting of properties works.  Adventure has defaultLodging and Lodging has name
		getDbc().bind(text,new Property(adventure,"defaultLodging.name"),null);
		// Verify the GUI is showing the model value
		assertEquals(text.getText(),adventure.getDefaultLodging().getName());
		
	}
**/
	public void testScenario06(){
		
				
		getSWTUpdatableFactory().setUpdateTime(IDataBindingContext.TIME_EARLY);		
		getDbc().bind(text, new Property(account, "phone"), new BindSpec(new PhoneConverter(),new PhoneValidator()));
		
		assertTrue(((String)getDbc().getPartialValidationMessage().getValue()).length() == 0);
		assertTrue(((String)getDbc().getValidationMessage().getValue()).length() == 0);