Преглед на файлове

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…
Отказ
Запис