Rename integration tests, so that they are actually executed by failsafe

rather than by surefire
This commit is contained in:
Andreas Dangel
2017-02-20 18:02:52 +01:00
committed by Juan Martín Sotuyo Dodero
parent d2665bd870
commit 52965a90b3
3 changed files with 25 additions and 7 deletions

View File

@@ -160,7 +160,6 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>

View File

@@ -21,20 +21,15 @@ import org.junit.Test;
import net.sourceforge.pmd.PMD;
public class BinaryDistTest {
public class BinaryDistributionIT {
private File getBinaryDistribution() {
return new File(".", "target/pmd-bin-" + PMD.VERSION + ".zip");
}
private File getSourceDistribution() {
return new File(".", "target/pmd-src-" + PMD.VERSION + ".zip");
}
@Test
public void testFileExistence() {
assertTrue(getBinaryDistribution().exists());
assertTrue(getSourceDistribution().exists());
}
private Set<String> getExpectedFileNames() {

View File

@@ -0,0 +1,24 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.it;
import static org.junit.Assert.assertTrue;
import java.io.File;
import org.junit.Test;
import net.sourceforge.pmd.PMD;
public class SourceDistributionIT {
private File getSourceDistribution() {
return new File(".", "target/pmd-src-" + PMD.VERSION + ".zip");
}
@Test
public void testFileExistence() {
assertTrue(getSourceDistribution().exists());
}
}