From 18cade8fe4d945530e04ae8ac65aae38728e28ae Mon Sep 17 00:00:00 2001 From: Sam Davis Date: Wed, 22 Oct 2014 14:13:14 -0700 Subject: 448427: disable Trac test fixtures Change-Id: Ic0cd3f1cb7637b484fd1560766210d9fce1ca1a8 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=448427 --- .../org/eclipse/mylyn/trac/tests/AllTracTests.java | 10 ++++++++-- .../org/eclipse/mylyn/trac/tests/EmptyTest.java | 22 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/EmptyTest.java (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn') 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"); + } + +} -- cgit v1.2.3