Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2017-10-11 04:13:29 -0400
committerDani Megert2017-10-11 04:13:29 -0400
commita1cbc79ad422c2d367c26bee361f4689dea1fc33 (patch)
tree9615c0938297a563c3449cb4dbf4cdce517ee598
parent072ddd9fd516d1b6116087c4c4d9ea5a81ad77c6 (diff)
downloadeclipse.platform.team-a1cbc79ad422c2d367c26bee361f4689dea1fc33.tar.gz
eclipse.platform.team-a1cbc79ad422c2d367c26bee361f4689dea1fc33.tar.xz
eclipse.platform.team-a1cbc79ad422c2d367c26bee361f4689dea1fc33.zip
Fixed bug 525817: Disable CVS tests on Mac
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllCoreTests.java11
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllTests.java15
2 files changed, 16 insertions, 10 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllCoreTests.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllCoreTests.java
index 2e55e5724..138e92e3a 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllCoreTests.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllCoreTests.java
@@ -34,10 +34,13 @@ public class AllCoreTests extends EclipseTest {
public static Test suite() {
TestSuite suite = new TestSuite();
- if (!Util.isMac()) { // Bug 525817: Disable CVS tests on Mac
- suite.addTest(AllTestsCVSResources.suite());
- suite.addTest(AllJschTests.suite());
- }
+
+ // Bug 525817: Disable CVS tests on Mac
+ if (Util.isMac())
+ return suite;
+
+ suite.addTest(AllTestsCVSResources.suite());
+ suite.addTest(AllJschTests.suite());
return new TestSetup(suite);
}
}
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllTests.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllTests.java
index 9123a2c7f..927649fd2 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllTests.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/AllTests.java
@@ -31,12 +31,15 @@ public class AllTests extends EclipseTest {
public static Test suite() {
TestSuite suite = new TestSuite();
- if (!Util.isMac()) { // Bug 525817: Disable CVS tests on Mac
- suite.addTest(AllTestsProvider.suite());
- suite.addTest(AllTestsTeamSubscriber.suite());
- suite.addTest(AllUITests.suite());
- suite.addTest(ResourceMapperTests.suite());
- }
+
+ // Bug 525817: Disable CVS tests on Mac
+ if (Util.isMac())
+ return suite;
+
+ suite.addTest(AllTestsProvider.suite());
+ suite.addTest(AllTestsTeamSubscriber.suite());
+ suite.addTest(AllUITests.suite());
+ suite.addTest(ResourceMapperTests.suite());
return new CVSUITestSetup(suite);
}
}

Back to the top