Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2014-10-22 17:13:14 -0400
committerSam Davis2014-10-22 18:12:52 -0400
commit18cade8fe4d945530e04ae8ac65aae38728e28ae (patch)
tree0a4a36dddb2cb0bc679fd089d89454603cb5147f
parent58245a766dc25dbe7878dbb2f0ef011995af5cec (diff)
downloadorg.eclipse.mylyn.tasks-18cade8fe4d945530e04ae8ac65aae38728e28ae.tar.gz
org.eclipse.mylyn.tasks-18cade8fe4d945530e04ae8ac65aae38728e28ae.tar.xz
org.eclipse.mylyn.tasks-18cade8fe4d945530e04ae8ac65aae38728e28ae.zip
448427: disable Trac test fixtures
Change-Id: Ic0cd3f1cb7637b484fd1560766210d9fce1ca1a8 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=448427
-rw-r--r--org.eclipse.mylyn.trac.releng/modules/trac/manifests/defaultsites.pp3
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java10
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/EmptyTest.java22
3 files changed, 33 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.releng/modules/trac/manifests/defaultsites.pp b/org.eclipse.mylyn.trac.releng/modules/trac/manifests/defaultsites.pp
index 933021eb0..67b7da981 100644
--- a/org.eclipse.mylyn.trac.releng/modules/trac/manifests/defaultsites.pp
+++ b/org.eclipse.mylyn.trac.releng/modules/trac/manifests/defaultsites.pp
@@ -53,6 +53,8 @@ define trac::defaultsites ($base = $trac::base, $userOwner = $trac::userOwner, $
/* Sites */
+/* Disabling all Sites per bug 448427
+
trac::site { "trac-1.0":
version => "1.0",
require => Trac["1.0"]
@@ -92,5 +94,6 @@ define trac::defaultsites ($base = $trac::base, $userOwner = $trac::userOwner, $
trac::site { "trac-test":
envinfo => "Test",
}
+*/
} \ No newline at end of file
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java
index b02b34ac8..2de3cfef5 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java
@@ -45,16 +45,22 @@ public class AllTracTests {
}
TestSuite suite = new ManagedTestSuite(AllTracTests.class.getName());
- addTests(suite, TestConfiguration.getDefault());
+// addTests(suite, TestConfiguration.getDefault());
+ addEmptyTest(suite, TestConfiguration.getDefault());
return suite;
}
public static Test suite(TestConfiguration configuration) {
TestSuite suite = new TestSuite(AllTracTests.class.getName());
- addTests(suite, configuration);
+// addTests(suite, configuration);
+ addEmptyTest(suite, configuration);
return suite;
}
+ private static void addEmptyTest(TestSuite suite, TestConfiguration default1) {
+ suite.addTestSuite(EmptyTest.class);
+ }
+
public static void addTests(TestSuite suite, TestConfiguration configuration) {
suite.addTest(AllTracHeadlessStandaloneTests.suite(configuration));
suite.addTestSuite(TracUtilTest.class);
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/EmptyTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/EmptyTest.java
new file mode 100644
index 000000000..aa1d910ea
--- /dev/null
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/EmptyTest.java
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * Copyright (c) 2014 Steffen Pingel and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Steffen Pingel - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.mylyn.trac.tests;
+
+import junit.framework.TestCase;
+
+public class EmptyTest extends TestCase {
+
+ public void testNothing() {
+ System.out.println("## Testing Nothing for Trac");
+ }
+
+}

Back to the top