Browse Source

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
stable-3.4
Christian Halstrick 11 years ago
parent
commit
f1d8ce1dce
  1. 2
      org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTest.java

2
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTests.java → 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 * Testing the git commit and log commands
*/ */
public class CommitAndLogCommandTests extends RepositoryTestCase { public class CommitAndLogCommandTest extends RepositoryTestCase {
@Test @Test
public void testSomeCommits() throws JGitInternalException, IOException, public void testSomeCommits() throws JGitInternalException, IOException,
GitAPIException { GitAPIException {
Loading…
Cancel
Save