Skip to content

Commit 7ad223a

Browse files
committed
Test pom exclusions don't work anymore, now using @ignore
1 parent 08eec04 commit 7ad223a

4 files changed

Lines changed: 9 additions & 11 deletions

File tree

biojava-integrationtest/src/test/java/org/biojava/nbio/structure/test/ecod/EcodInstallationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public void testVersion() throws IOException {
268268
* Hierarchical field warnings are expected for versions prior to develop68.
269269
* @throws IOException
270270
*/
271-
//@Ignore // Very slow parsing test
271+
@Ignore // Very slow parsing test
272272
@Test
273273
public void testAllVersions() throws IOException {
274274
// List all versions

biojava-integrationtest/src/test/java/org/biojava/nbio/structure/test/io/TestAtomCachePerformance.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import org.biojava.nbio.structure.align.util.AtomCache;
2626
import org.biojava.nbio.structure.io.LocalPDBDirectory.FetchBehavior;
2727
import org.junit.BeforeClass;
28+
import org.junit.Ignore;
2829
import org.junit.Test;
2930

3031
import java.io.IOException;
@@ -35,7 +36,7 @@
3536
/**
3637
* A test to check the performance of AtomCache downloading
3738
*
38-
* By default it is excluded from executing by main biojava pom.
39+
* By default it is ignored.
3940
* To execute use:
4041
* <pre>
4142
* mvn -Dtest=TestAtomCachePerformance test
@@ -68,6 +69,7 @@ public static void setUpBeforeClass() {
6869
cache.setFetchBehavior(FetchBehavior.FORCE_DOWNLOAD);
6970
}
7071

72+
@Ignore
7173
@Test
7274
public void testDownload() throws IOException, StructureException {
7375
System.out.println("Starting performance test for "+PDB_IDS.length+" PDB ids");

biojava-integrationtest/src/test/java/org/biojava/nbio/structure/test/io/TestLongPdbVsMmCifParsing.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.junit.After;
3030
import org.junit.BeforeClass;
3131
import org.junit.ComparisonFailure;
32+
import org.junit.Ignore;
3233
import org.junit.Test;
3334
import org.slf4j.Logger;
3435
import org.slf4j.LoggerFactory;
@@ -43,7 +44,7 @@
4344
* A test to make sure both PDB and mmCIF parsers can parse
4445
* properly large samples of the PDB.
4546
*
46-
* Will take very long to run, thus they are excluded by default in the pom.
47+
* Will take very long to run, thus they are ignored by default.
4748
* To run them use, for the 1000 entries one:
4849
* <pre>
4950
* mvn -Dtest=TestLongPdbVsMmCifParsing#testLongPdbVsMmCif test
@@ -106,6 +107,7 @@ public static void setUpBeforeClass() {
106107
cache.setObsoleteBehavior(ObsoleteBehavior.THROW_EXCEPTION);
107108
}
108109

110+
@Ignore
109111
@Test
110112
public void testLongPdbVsMmCif() throws IOException, StructureException {
111113

@@ -115,6 +117,7 @@ public void testLongPdbVsMmCif() throws IOException, StructureException {
115117

116118
}
117119

120+
@Ignore
118121
@Test
119122
public void testVeryLongPdbVsMmCif() throws IOException, StructureException {
120123

@@ -124,6 +127,7 @@ public void testVeryLongPdbVsMmCif() throws IOException, StructureException {
124127

125128
}
126129

130+
@Ignore
127131
@Test
128132
public void testSingle() throws IOException, StructureException {
129133
testAll(Arrays.asList("4kro"));

pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -362,14 +362,6 @@
362362
<argLine>-Xmx1500M</argLine>
363363
<reuseForks>false</reuseForks>
364364
<forkCount>1</forkCount>
365-
366-
<excludes>
367-
<!-- we exclude by default the long parsing tests, they will only be
368-
executed if explicitly called -->
369-
<exclude>**/TestLongPdbVsMmCifParsing.java</exclude>
370-
<exclude>**/TestAtomCachePerformance.java</exclude>
371-
<exclude>**/EcodInstallationTest.java</exclude>
372-
</excludes>
373365
</configuration>
374366
</plugin>
375367

0 commit comments

Comments
 (0)