Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2016-01-31 11:34:44 +0000
committerStephan Herrmann2016-01-31 11:34:44 +0000
commitaa2713a20f5166f30e12095e580f37fff2c77fd0 (patch)
tree3538b87a323ac270cb1f24120391ec55d915c6ea
parent0e14225bb9145f718974fdc4b90d903b3d192554 (diff)
downloadorg.eclipse.objectteams-aa2713a20f5166f30e12095e580f37fff2c77fd0.tar.gz
org.eclipse.objectteams-aa2713a20f5166f30e12095e580f37fff2c77fd0.tar.xz
org.eclipse.objectteams-aa2713a20f5166f30e12095e580f37fff2c77fd0.zip
Tests: try to increase robustness by looking into SUBENTRIES, too.
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/callinmarker/CallinMarkerTests.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/callinmarker/CallinMarkerTests.java b/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/callinmarker/CallinMarkerTests.java
index a18bb6f02..987a7fc0f 100644
--- a/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/callinmarker/CallinMarkerTests.java
+++ b/testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/callinmarker/CallinMarkerTests.java
@@ -354,6 +354,8 @@ public class CallinMarkerTests extends FileBasedUITest
List<IStatus> status = new ArrayList<IStatus>();
public void logging(IStatus status, String plugin) {
this.status.add(status);
+ for (IStatus sub : status.getChildren())
+ this.status.add(sub);
}
}
@@ -390,6 +392,8 @@ public class CallinMarkerTests extends FileBasedUITest
List<IStatus> status = new ArrayList<IStatus>();
public void logging(IStatus status, String plugin) {
this.status.add(status);
+ for (IStatus sub : status.getChildren())
+ this.status.add(sub);
}
}
@@ -429,7 +433,9 @@ public class CallinMarkerTests extends FileBasedUITest
List<IStatus> status = new ArrayList<IStatus>();
public void logging(IStatus status, String plugin) {
if (status.getSeverity() == IStatus.ERROR)
- this.status.add(status);
+ this.status.add(status);
+ for (IStatus sub : status.getChildren())
+ this.status.add(sub);
}
}

Back to the top