Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker2013-10-20 20:10:21 -0400
committerMatthias Sohn2013-10-22 09:38:24 -0400
commit046b472fe5224d1e4b3be713a8d488331a949586 (patch)
treec5e37a292e9f1214c03d7aaebcc7b1e56263a878 /org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/submodule
parent1a03fa489d19fb3cfd85160351ae6b17abbd5af9 (diff)
downloadegit-046b472fe5224d1e4b3be713a8d488331a949586.tar.gz
egit-046b472fe5224d1e4b3be713a8d488331a949586.tar.xz
egit-046b472fe5224d1e4b3be713a8d488331a949586.zip
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 <robin@nibor.org>
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/submodule')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/submodule/SubmoduleTests.java27
1 files changed, 0 insertions, 27 deletions
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 1e4b20fca..000000000
--- 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
-}

Back to the top