Bug 117192 [DataBinding] Test failure in TableScenarios.testScenario02 on Linux
Joe, do you have access to a Linux PC with GTK? We need to fix this asap or else we will keep breaking the builds. Another option would be to disable this test until we can fix it. junit.framework.ComparisonFailure: expected:<Bill> but was:<George> at org.eclipse.jface.tests.databinding.scenarios.TableScenarios.testScenario02(TableScenarios.java:145) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.extensions.TestSetup.run(TestSetup.java:23) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:109) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:167) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/TableScenarios.java
new PhoneConverter());
		tableViewerDescription.addColumn("state", null,
				new StateConverter());
		getDbc().bind(tableViewerDescription,
				new PropertyDescription(catalog, "accounts"), null);
		
		tableViewer.getTable().setSelection(0);
		
		Event event = new Event();
		event.button = 1;  
		
		Rectangle firstNameColBounds = tableViewer.getTable().getItem(0).getBounds(0);
		event.x = firstNameColBounds.width/2 + firstNameColBounds.x;
		event.y = firstNameColBounds.height/2 + firstNameColBounds.y;
		tableViewer.getTable().notifyListeners(SWT.MouseDown,event);
		
		CellEditor[] cellEditors = tableViewer.getCellEditors();
		TextCellEditor firstNameEditor = (TextCellEditor) cellEditors[0];
		
		((Text) firstNameEditor.getControl()).setText("Bill");
		
		((Text) ((TextCellEditor) cellEditors[0]).getControl())
				.notifyListeners(SWT.DefaultSelection, null);
		Account account = (Account) accounts[0];
		
		assertEquals("Bill",account.getFirstName());
	}
	
	public void testScenario04() throws BindingException {