Rename integration tests, so that they are actually executed by failsafe
rather than by surefire
This commit is contained in:

committed by
Juan Martín Sotuyo Dodero

parent
d2665bd870
commit
52965a90b3
@@ -160,7 +160,6 @@
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.11</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@@ -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() {
|
@@ -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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user