Segment integration tests in core

This commit is contained in:
str4d
2017-12-02 19:35:33 +00:00
parent 11da21dd67
commit b6298dc091
4 changed files with 5 additions and 3 deletions

View File

@ -20,6 +20,9 @@ sourceSets {
exclude 'net/i2p/AllCoreTests.java'
exclude 'net/i2p/data/DataTestSuite.java'
exclude 'net/i2p/data/i2cp/I2CPTestSuite.java'
exclude {
it.name.endsWith('IT.java')
}
}
resources {
srcDir 'java/test/junit'

View File

@ -326,6 +326,7 @@
<batchtest todir="../../reports/core/junit/">
<fileset dir="./test/junit/">
<include name="**/*Test.java" />
<include name="**/*IT.java" if="runIntegrationTests" />
<exclude name="**/ElGamalAESEngineTest.java" />
<exclude name="**/StructureTest.java" />
<!-- DataHelperTest is *very* slow with cobertura -->

View File

@ -11,7 +11,6 @@ package net.i2p.client;
import junit.framework.Test;
import junit.framework.TestSuite;
import net.i2p.client.datagram.DatagramTest;
import net.i2p.client.impl.I2PSessionTest;
/**
* @author Comwiz
@ -22,7 +21,6 @@ public class I2PClientTestSuite {
TestSuite suite = new TestSuite("net.i2p.client.I2PClientTestSuite");
suite.addTestSuite(I2PClientTest.class);
suite.addTestSuite(I2PSessionTest.class);
suite.addTestSuite(DatagramTest.class);
return suite;

View File

@ -28,7 +28,7 @@ import net.i2p.data.Destination;
* @author Comwiz
*
*/
public class I2PSessionTest extends TestCase implements I2PSessionListener{
public class I2PSessionIT extends TestCase implements I2PSessionListener {
private Set<String> _s;