Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2010-10-13 14:54:06 -0400
committerDarin Wright2010-10-13 14:54:06 -0400
commit0a6a09c545aaa5fd8ec6b242787be87024d4be8d (patch)
treedd7ce2620a4d14151ca2c11842387a5f056d776f
parentc430a195e2308070424637613332c6e29b4887d4 (diff)
downloadeclipse.platform.debug-0a6a09c545aaa5fd8ec6b242787be87024d4be8d.tar.gz
eclipse.platform.debug-0a6a09c545aaa5fd8ec6b242787be87024d4be8d.tar.xz
eclipse.platform.debug-0a6a09c545aaa5fd8ec6b242787be87024d4be8d.zip
Bug 327557 - test failure: testRestoreRevealAfterRevealCancel2
-rw-r--r--org.eclipse.debug.tests/src/org/eclipe/debug/tests/viewer/model/JFaceViewerTopIndexTests.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipe/debug/tests/viewer/model/JFaceViewerTopIndexTests.java b/org.eclipse.debug.tests/src/org/eclipe/debug/tests/viewer/model/JFaceViewerTopIndexTests.java
index e3a1eef41..bcca99001 100644
--- a/org.eclipse.debug.tests/src/org/eclipe/debug/tests/viewer/model/JFaceViewerTopIndexTests.java
+++ b/org.eclipse.debug.tests/src/org/eclipe/debug/tests/viewer/model/JFaceViewerTopIndexTests.java
@@ -16,6 +16,7 @@ import junit.framework.TestCase;
import org.eclipe.debug.tests.viewer.model.TestModel.TestElement;
import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.runtime.Platform;
import org.eclipse.debug.internal.ui.viewers.model.ITreeModelContentProviderTarget;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelDelta;
import org.eclipse.debug.internal.ui.viewers.model.provisional.ModelDelta;
@@ -79,7 +80,7 @@ public class JFaceViewerTopIndexTests extends TestCase implements ITestModelUpda
}
protected ITreeModelContentProviderTarget getCTargetViewer() {
- return (ITreeModelContentProviderTarget)fViewer;
+ return fViewer;
}
protected TreeModelViewer createViewer(Display display, Shell shell) {
@@ -394,6 +395,10 @@ public class JFaceViewerTopIndexTests extends TestCase implements ITestModelUpda
* properly handled when a new reveal delta is received from the model.
*/
public void testRestoreRevealAfterRevealCancel2() {
+ if (Platform.getOS().equals(Platform.OS_MACOSX)) {
+ // skip this test on Mac - see bug 327557
+ return;
+ }
TreeModelViewerAutopopulateAgent autopopulateAgent = new TreeModelViewerAutopopulateAgent(fViewer);
TestModel model = TestModel.simpleMultiLevel();

Back to the top