1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 22:35:43 +02:00

[fix][175160] RSE Unit Tests fail in I20070222-1133 and I20070223-0730

This commit is contained in:
Uwe Stieber 2007-02-23 15:36:46 +00:00
parent eaed5b7258
commit 827c847c73

View file

@ -150,13 +150,12 @@ public class TestSubsystemTestCase extends RSEBaseConnectionTestCase {
RSEWaitAndDispatchUtil.waitAndDispatch(1000);
rseSystemView.setSelection(new StructuredSelection(firstNode));
RSEWaitAndDispatchUtil.waitAndDispatch(1000);
selection = rseSystemView.getSelection();
assertTrue("missing selection", selection != null); //$NON-NLS-1$
assertTrue("not a structured selection", selection instanceof IStructuredSelection); //$NON-NLS-1$
structSel = (IStructuredSelection)selection;
assertEquals("invalid number of selected items", 1, structSel.size()); //$NON-NLS-1$
assertEquals("invalid number of selected items", structSel.size(), structSel.size()); //$NON-NLS-1$
}
public void testBugzilla170728() {