From 046b472fe5224d1e4b3be713a8d488331a949586 Mon Sep 17 00:00:00 2001 From: Robin Stocker Date: Mon, 21 Oct 2013 02:10:21 +0200 Subject: Change test execution to find all tests instead of using suites There are multiple problems with using suites: * They need to be kept up-to-date manually. There were some test classes which were not referenced by suites and therefore never executed in the Maven build. See parent changes for some examples. Before this change, the output said "Tests run: 266", after: "Tests run: 311". * When executing tests in Eclipse by selecting a project or package, tests in suites are executed twice. In case of hierarchical suites, it's even more than twice. Change-Id: Iaee4b36839e4ae2b3529e82e312d84ed30175b29 Signed-off-by: Robin Stocker --- .../eclipse/egit/ui/submodule/SubmoduleTests.java | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/submodule/SubmoduleTests.java (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/submodule') diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/submodule/SubmoduleTests.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/submodule/SubmoduleTests.java deleted file mode 100644 index 1e4b20fcaf..0000000000 --- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/submodule/SubmoduleTests.java +++ /dev/null @@ -1,27 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2012 GitHub Inc. - * 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: - * Kevin Sawicki (GitHub Inc.) - initial API and implementation - *****************************************************************************/ -package org.eclipse.egit.ui.submodule; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; - -/** - * Search unit test suite - */ -@RunWith(Suite.class) -@SuiteClasses({ SubmoduleAddTest.class, // - SubmoduleSyncTest.class, // - SubmoduleUpdateTest.class, // -}) -public class SubmoduleTests { - // Intentionally left blank -} -- cgit v1.2.3