=str&http - 19142 - Renames all occurrences of mat with materializer

(When referring to a Materializer)
This commit is contained in:
Viktor Klang 2015-12-11 14:45:24 +01:00
parent 15cc65ce9d
commit 33a9257a3b
57 changed files with 95 additions and 95 deletions

View file

@ -148,11 +148,11 @@ class OutputStreamSourceSpec extends AkkaSpec(UnboundedMailboxConfig) {
"use dedicated default-blocking-io-dispatcher by default" in assertAllStagesStopped {
val sys = ActorSystem("dispatcher-testing", UnboundedMailboxConfig)
val mat = ActorMaterializer()(sys)
val materializer = ActorMaterializer()(sys)
try {
Source.outputStream().runWith(TestSink.probe[ByteString])(mat)
mat.asInstanceOf[ActorMaterializerImpl].supervisor.tell(StreamSupervisor.GetChildren, testActor)
Source.outputStream().runWith(TestSink.probe[ByteString])(materializer)
materializer.asInstanceOf[ActorMaterializerImpl].supervisor.tell(StreamSupervisor.GetChildren, testActor)
val ref = expectMsgType[Children].children.find(_.path.toString contains "outputStreamSource").get
assertDispatcher(ref, "akka.stream.default-blocking-io-dispatcher")
} finally shutdown(sys)