mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
3b7da721b6
commit
ab22bbda2d
1 changed files with 27 additions and 34 deletions
|
@ -66,9 +66,6 @@ public class BaseUITestCase extends BaseTestCase {
|
|||
super(name);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.testplugin.util.BaseTestCase#setUp()
|
||||
*/
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
@ -79,9 +76,6 @@ public class BaseUITestCase extends BaseTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.testplugin.util.BaseTestCase#tearDown()
|
||||
*/
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
runEventQueue(0);
|
||||
|
@ -285,7 +279,7 @@ public class BaseUITestCase extends BaseTestCase {
|
|||
final protected TreeItem checkTreeNode(IViewPart part, int i0, String label) {
|
||||
assertNotNull(label); // we don't handle testing for a base node to not appear; can be added if/when needed
|
||||
IViewReference viewRef = part.getViewSite().getPage().findViewReference(part.getViewSite().getId());
|
||||
Control viewControl = ((WorkbenchPartReference)viewRef).getPane().getControl();
|
||||
Control viewControl = ((WorkbenchPartReference) viewRef).getPane().getControl();
|
||||
|
||||
Tree tree= null;
|
||||
TreeItem root= null;
|
||||
|
@ -374,8 +368,7 @@ public class BaseUITestCase extends BaseTestCase {
|
|||
|
||||
if (label == null) {
|
||||
assertFalse("Tree node {" + i0 + "," + i1 + "} exists but shouldn't!", nodePresent);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
fail("Tree node " + label + "{" + i0 + "," + i1 + "} does not exist!");
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue