From f1d8ce1dce9502d0d7a6383a1cff9693c178f245 Mon Sep 17 00:00:00 2001 From: Christian Halstrick Date: Wed, 12 Mar 2014 15:52:38 +0100 Subject: [PATCH] Rename test class so it is also executed during maven test phase One specific test was executed when running tests from inside eclipse (e.g. by using one of our checked in launch configurations). But when running tests from maven this test was not executed. Maven (the surefire plugin) looks for Tests only in java files which are named like "Test*.java", "*Test.java" or "*TestCase.java". Tests in files named "*Tests.java" are not found. Change-Id: I62a80fd6e6fda8bd76fdf3f3f2b8cbc56460fb2c --- ...mmitAndLogCommandTests.java => CommitAndLogCommandTest.java} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename org.eclipse.jgit.test/tst/org/eclipse/jgit/api/{CommitAndLogCommandTests.java => CommitAndLogCommandTest.java} (99%) diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTests.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTest.java similarity index 99% rename from org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTests.java rename to org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTest.java index 79d8f6044..7b3d4f690 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTests.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTest.java @@ -72,7 +72,7 @@ import org.junit.Test; /** * Testing the git commit and log commands */ -public class CommitAndLogCommandTests extends RepositoryTestCase { +public class CommitAndLogCommandTest extends RepositoryTestCase { @Test public void testSomeCommits() throws JGitInternalException, IOException, GitAPIException {