瀏覽代碼

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
tags/v3.4.0.201405051725-m7
Christian Halstrick 10 年之前
父節點
當前提交
f1d8ce1dce
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitAndLogCommandTest.java

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
*/
public class CommitAndLogCommandTests extends RepositoryTestCase {
public class CommitAndLogCommandTest extends RepositoryTestCase {
@Test
public void testSomeCommits() throws JGitInternalException, IOException,
GitAPIException {

Loading…
取消
儲存