Converts the Scan-operation from PushPullStage to GraphStage

This commit is contained in:
Viktor Klang 2016-04-14 17:33:19 +02:00
parent a1423b6e7d
commit 455805cda9
7 changed files with 54 additions and 80 deletions

View file

@ -310,9 +310,7 @@ trait GraphInterpreterSpecKit extends AkkaSpec {
abstract class OneBoundedSetup[T](_ops: GraphStageWithMaterializedValue[Shape, Any]*) extends Builder {
val ops = _ops.toArray
def this(op: Seq[Stage[_, _]], dummy: Int = 42) = {
this(op.map(_.toGS): _*)
}
def this(op: Seq[Stage[_, _]], dummy: Int = 42) = this(op.map(_.toGS): _*)
val upstream = new UpstreamOneBoundedProbe[T]
val downstream = new DownstreamOneBoundedPortProbe[T]