mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
[fix][175160] RSE Unit Tests fail in I20070222-1133 and I20070223-0730
This commit is contained in:
parent
eaed5b7258
commit
827c847c73
1 changed files with 1 additions and 2 deletions
|
@ -150,13 +150,12 @@ public class TestSubsystemTestCase extends RSEBaseConnectionTestCase {
|
||||||
RSEWaitAndDispatchUtil.waitAndDispatch(1000);
|
RSEWaitAndDispatchUtil.waitAndDispatch(1000);
|
||||||
|
|
||||||
rseSystemView.setSelection(new StructuredSelection(firstNode));
|
rseSystemView.setSelection(new StructuredSelection(firstNode));
|
||||||
RSEWaitAndDispatchUtil.waitAndDispatch(1000);
|
|
||||||
|
|
||||||
selection = rseSystemView.getSelection();
|
selection = rseSystemView.getSelection();
|
||||||
assertTrue("missing selection", selection != null); //$NON-NLS-1$
|
assertTrue("missing selection", selection != null); //$NON-NLS-1$
|
||||||
assertTrue("not a structured selection", selection instanceof IStructuredSelection); //$NON-NLS-1$
|
assertTrue("not a structured selection", selection instanceof IStructuredSelection); //$NON-NLS-1$
|
||||||
structSel = (IStructuredSelection)selection;
|
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() {
|
public void testBugzilla170728() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue