Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2012-03-17 21:46:08 +0000
committerStephan Herrmann2012-03-17 21:46:08 +0000
commit0d7ab724874049aac4a0a083f2b37d2b6abeafa8 (patch)
tree46ee30758b517e42fbabe8baf18af58c70c7439c /testplugins
parent28de319bbef1d139355f7f771c61e7876f5401f4 (diff)
downloadorg.eclipse.objectteams-0d7ab724874049aac4a0a083f2b37d2b6abeafa8.tar.gz
org.eclipse.objectteams-0d7ab724874049aac4a0a083f2b37d2b6abeafa8.tar.xz
org.eclipse.objectteams-0d7ab724874049aac4a0a083f2b37d2b6abeafa8.zip
adjust expected error for Eclipse 4.2.
Diffstat (limited to 'testplugins')
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.ui.tests/src/org/eclipse/objectteams/otdt/ui/tests/callinmarker/CallinMarkerTests.java12
1 files changed, 7 insertions, 5 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 bb0bee4ee..a18bb6f02 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
@@ -452,13 +452,15 @@ public class CallinMarkerTests extends FileBasedUITest
while(this._creator.isCreatingMarkersFor(resource))
Thread.sleep(100);
- assertEquals("Unexpeted number of log entries", 1, myLogListener.status.size());
- assertEquals("Unexpected Log",
- "Status ERROR: org.eclipse.ui code=0 " +
- "Unable to create editor ID org.eclipse.jdt.ui.ClassFileEditorNoSource: " +
+ assertEquals("Unexpeted number of log entries", 2, myLogListener.status.size());
+ assertEquals("Unexpected Log[0]",
+ "Status ERROR: org.eclipse.ui code=4 Unable to create part null",
+ myLogListener.status.get(0).toString());
+ assertEquals("Unexpected Log[1]",
+ "Status ERROR: org.eclipse.jdt.ui code=995 " +
"The class file is not on the classpath " +
"org.eclipse.core.runtime.CoreException: The class file is not on the classpath",
- myLogListener.status.get(0).toString());
+ myLogListener.status.get(1).toString());
IMarker[] markers = getCallinMarkers(resource);
assertEquals("Should have no markers", markers.length, 0);

Back to the top