Skip to content

Commit

Permalink
=pro akka#15178 enable junit tests in akka-streams again
Browse files Browse the repository at this point in the history
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:
sbt/junit-interface#60

Resolves akka#15178
  • Loading branch information
ktoso committed Jan 11, 2016
1 parent 64a7086 commit 6e695a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package akka.stream.actor;

import org.junit.Ignore;
import org.reactivestreams.Publisher;
import org.junit.ClassRule;
import org.junit.Test;
Expand All @@ -17,6 +18,7 @@

import static akka.stream.actor.ActorPublisherMessage.Request;

@Ignore
public class ActorPublisherTest {

@ClassRule
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package akka.stream.actor;

import org.junit.Ignore;
import org.reactivestreams.Subscriber;
import org.junit.ClassRule;
import org.junit.Test;
Expand All @@ -19,6 +20,7 @@
import static akka.stream.actor.ActorSubscriberMessage.OnNext;
import static akka.stream.actor.ActorSubscriberMessage.OnError;

@Ignore
public class ActorSubscriberTest {

@ClassRule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.Arrays;
import java.util.concurrent.TimeUnit;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;
import org.reactivestreams.Publisher;
import org.reactivestreams.Subscriber;
Expand All @@ -21,6 +22,7 @@
import akka.stream.testkit.AkkaSpec;
import akka.testkit.JavaTestKit;

@Ignore
public class DuctTest {

@ClassRule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import akka.stream.testkit.AkkaSpec;
import akka.testkit.JavaTestKit;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;
import org.reactivestreams.Publisher;
import scala.Option;
Expand All @@ -22,6 +23,7 @@

import static org.junit.Assert.assertEquals;

@Ignore
public class FlowTest {

@ClassRule
Expand Down

0 comments on commit 6e695a7

Please sign in to comment.