Skip to content

Commit 34d3c12

Browse files
author
TheSnoozer
committed
#562: do a better job to indicate which tests are intented for the core-module and which ones are for the maven-plugin
1 parent 84919bc commit 34d3c12

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/test/java/pl/project13/core/jgit/JGitCommonIntegrationTest.java renamed to src/test/java/pl/project13/core/jgit/JGitCommonTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@
1919

2020
import org.junit.Test;
2121
import pl.project13.core.log.StdOutLoggerBridge;
22-
import pl.project13.maven.git.GitIntegrationTest;
2322

2423
import static org.assertj.core.api.Assertions.assertThat;
2524

26-
public class JGitCommonIntegrationTest extends GitIntegrationTest {
25+
public class JGitCommonTest {
2726

2827
@Test
2928
public void trimFullTagName_shouldTrimFullTagNamePrefix() throws Exception {

src/test/java/pl/project13/core/jgit/DescribeCommandAbbrevIntegrationTest.java renamed to src/test/java/pl/project13/maven/jgit/DescribeCommandAbbrevIntegrationTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515
* along with git-commit-id-maven-plugin. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717

18-
package pl.project13.core.jgit;
18+
package pl.project13.maven.jgit;
1919

2020
import org.eclipse.jgit.api.Git;
2121
import org.eclipse.jgit.lib.Repository;
2222
import org.junit.Test;
23+
import pl.project13.core.jgit.DescribeCommand;
24+
import pl.project13.core.jgit.DescribeResult;
2325
import pl.project13.core.log.StdOutLoggerBridge;
2426
import pl.project13.maven.git.AvailableGitTestRepo;
2527
import pl.project13.maven.git.GitIntegrationTest;

src/test/java/pl/project13/core/jgit/DescribeCommandTagsIntegrationTest.java renamed to src/test/java/pl/project13/maven/jgit/DescribeCommandTagsIntegrationTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
* along with git-commit-id-maven-plugin. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717

18-
package pl.project13.core.jgit;
18+
package pl.project13.maven.jgit;
1919

2020
import org.eclipse.jgit.api.Git;
2121
import org.eclipse.jgit.api.ResetCommand;
2222
import org.eclipse.jgit.lib.Repository;
2323
import org.junit.Before;
2424
import org.junit.Test;
25+
import pl.project13.core.jgit.DescribeCommand;
26+
import pl.project13.core.jgit.DescribeResult;
2527
import pl.project13.core.log.StdOutLoggerBridge;
2628
import pl.project13.maven.git.AvailableGitTestRepo;
2729
import pl.project13.maven.git.GitIntegrationTest;

0 commit comments

Comments
 (0)