Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Brandys2009-04-21 10:51:20 +0000
committerSzymon Brandys2009-04-21 10:51:20 +0000
commit350447aa6c2b12c1af34203caaa1e354dcde9a08 (patch)
tree7d6b30ebaaf4c298e9d3ea2f2626403bb7bd50f2 /tests/org.eclipse.compare.tests
parent0cf2bad12fce3d2890335a73d385c588bfac7031 (diff)
downloadeclipse.platform.team-350447aa6c2b12c1af34203caaa1e354dcde9a08.tar.gz
eclipse.platform.team-350447aa6c2b12c1af34203caaa1e354dcde9a08.tar.xz
eclipse.platform.team-350447aa6c2b12c1af34203caaa1e354dcde9a08.zip
Bug 272870 - testApplyClipboardPatch disabled on Mac
Diffstat (limited to 'tests/org.eclipse.compare.tests')
-rw-r--r--tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUITest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUITest.java b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUITest.java
index 18690aad0..364c60f31 100644
--- a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUITest.java
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUITest.java
@@ -27,6 +27,7 @@ import org.eclipse.core.resources.IStorage;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.viewers.TreePath;
import org.eclipse.jface.viewers.TreeSelection;
@@ -68,6 +69,12 @@ public class PatchUITest extends TestCase {
}
public void testApplyClipboardPatch() throws CoreException {
+ // Clipboard support on Mac OS is not reliable when tests are run
+ // through an SSH session, see bug 272870 for details
+ if (Platform.getOS().equals(Platform.OS_MACOSX)) {
+ return;
+ }
+
copyIntoClipboard("patch_context0.txt");
copyIntoWorkspace("context.txt");

Back to the top