make Map a GraphStage

This commit is contained in:
Endre Sándor Varga 2016-07-20 13:26:27 +02:00
parent b498347933
commit 5382014133
10 changed files with 108 additions and 75 deletions

View file

@ -310,8 +310,6 @@ trait GraphInterpreterSpecKit extends StreamSpec {
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): _*)
val upstream = new UpstreamOneBoundedProbe[T]
val downstream = new DownstreamOneBoundedPortProbe[T]
var lastEvent = Set.empty[TestEvent]