=pro #15178 enable junit tests in akka-streams again

The junit-interface is treating "anything it cannot understand" as a
globbing pattern, thus when it didn't understand ScalaTest options, it
used them for globbing, and of course none of our junit tests matched
the "-oDF" pattern for example.

Debugged this with Stefan and we've opened an issue to improve the
integration in this respect:
https://github.com/sbt/junit-interface/issues/60

Resolves #15178
This commit is contained in:
Konrad 'ktoso' Malawski 2014-10-08 13:39:55 +02:00
parent afd45a09f4
commit ec3cecb896
4 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,6 @@
package akka.stream.actor; package akka.stream.actor;
import org.junit.Ignore;
import org.reactivestreams.Publisher; import org.reactivestreams.Publisher;
import org.junit.ClassRule; import org.junit.ClassRule;
import org.junit.Test; import org.junit.Test;
@ -17,6 +18,7 @@ import akka.japi.Procedure;
import static akka.stream.actor.ActorPublisherMessage.Request; import static akka.stream.actor.ActorPublisherMessage.Request;
@Ignore
public class ActorPublisherTest { public class ActorPublisherTest {
@ClassRule @ClassRule

View file

@ -1,5 +1,6 @@
package akka.stream.actor; package akka.stream.actor;
import org.junit.Ignore;
import org.reactivestreams.Subscriber; import org.reactivestreams.Subscriber;
import org.junit.ClassRule; import org.junit.ClassRule;
import org.junit.Test; import org.junit.Test;
@ -19,6 +20,7 @@ import akka.japi.Procedure;
import static akka.stream.actor.ActorSubscriberMessage.OnNext; import static akka.stream.actor.ActorSubscriberMessage.OnNext;
import static akka.stream.actor.ActorSubscriberMessage.OnError; import static akka.stream.actor.ActorSubscriberMessage.OnError;
@Ignore
public class ActorSubscriberTest { public class ActorSubscriberTest {
@ClassRule @ClassRule

View file

@ -3,6 +3,7 @@ package akka.stream.javadsl;
import java.util.Arrays; import java.util.Arrays;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import org.junit.ClassRule; import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.reactivestreams.Publisher; import org.reactivestreams.Publisher;
import org.reactivestreams.Subscriber; import org.reactivestreams.Subscriber;
@ -21,6 +22,7 @@ import akka.stream.MaterializerSettings;
import akka.stream.testkit.AkkaSpec; import akka.stream.testkit.AkkaSpec;
import akka.testkit.JavaTestKit; import akka.testkit.JavaTestKit;
@Ignore
public class DuctTest { public class DuctTest {
@ClassRule @ClassRule

View file

@ -9,6 +9,7 @@ import akka.stream.*;
import akka.stream.testkit.AkkaSpec; import akka.stream.testkit.AkkaSpec;
import akka.testkit.JavaTestKit; import akka.testkit.JavaTestKit;
import org.junit.ClassRule; import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.reactivestreams.Publisher; import org.reactivestreams.Publisher;
import scala.Option; import scala.Option;
@ -22,6 +23,7 @@ import java.util.concurrent.TimeUnit;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
@Ignore
public class FlowTest { public class FlowTest {
@ClassRule @ClassRule