Merge pull request #19619 from agolubev/agolubev-#19291-TestGraphStage

=str #19291 add TestGraphStages for Sink and Source
This commit is contained in:
Roland Kuhn 2016-02-12 14:30:29 +01:00
commit 432b77a9a2
8 changed files with 118 additions and 121 deletions

View file

@ -285,7 +285,7 @@ private[akka] final class SeqStage[T] extends GraphStageWithMaterializedValue[Si
/**
* INTERNAL API
*/
private[akka] class QueueSink[T]() extends GraphStageWithMaterializedValue[SinkShape[T], SinkQueue[T]] {
final private[stream] class QueueSink[T]() extends GraphStageWithMaterializedValue[SinkShape[T], SinkQueue[T]] {
type Requested[E] = Promise[Option[E]]
val in = Inlet[T]("queueSink.in")