Bug 291934 Sash tests failing over part renderer call
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/MSashTest.java
* MSashForm to update to match*</li>
 * <li>Changing the MSashForm's weights cause the SWT SashForm to update its
 * weights to match*</li>
 * </ol>
 * </p>
 * <Strong>* NOTE:</strong> The SWT SashForm reports its weights based on the
 * actual bounds of the widgets it's hosting. This means that setting the
 * model's weights to 75,25 does <b>not</b> result in the SashForm's weights
 * being 75,25. This means that the tests have to perform 'fuzzy' comparisons,
 * ensuring only that the resulting widget bounds and the SashForm's weights
 * match the MSashForm's weights <b>ratios</b> to some tolerance. Even the
 * simple example of setting the weights to 50,50 may not end up with the child
 * controls not being equally sized because the available area may not be
 * equally divisible amongst its children.
 * 
 */
public class MSashTest extends RenderingTestCase {
	public void testSashWeights() {
		MWindow<MPart<?>> window = createSashWithNViews(2);
		topWidget = createModel(window);
		((Shell) topWidget).layout(true);
		MPart<?> sash = window.getChildren().get(0);
		assertTrue("Should be an MSash", sash instanceof MSashForm);
		MSashForm sf = (MSashForm) sash;
		EList wgts = sf.getWeights();
		assertTrue("weight list muct not be null", wgts != null);
		assertTrue("expected count 2, was " + wgts.size(), wgts.size() == 2);
		Integer first = (Integer) wgts.get(0);
		Integer second = (Integer) wgts.get(1);
		assertTrue("Values should be equal", first.intValue() == second