Drop @Ignore from perf/PerformanceTest; instead add to pom surefire excludes

This makes it possible to run the test without needing to edit the source file.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397859 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-10-13 15:30:07 +00:00
parent d99244287c
commit 96a55f1d2b
2 changed files with 11 additions and 4 deletions

11
pom.xml
View File

@ -120,7 +120,16 @@ CSV files of various types.
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/perf/PerformanceTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -33,15 +33,13 @@ import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVRecord;
import org.apache.commons.io.IOUtils;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
/**
* Tests performance.
*
* Only enable for your own development.
* To run this test, use: mvn test -Dtest=PeformanceTest
*/
@Ignore
public class PerformanceTest {
private final int max = 10;