=all remove unused imports
This commit is contained in:
parent
4fcf08e7e8
commit
b6cbc7f13a
423 changed files with 488 additions and 1223 deletions
|
|
@ -6,9 +6,6 @@ package akka.stream.tck
|
|||
import java.util.concurrent.Executors
|
||||
import java.util.concurrent.ExecutorService
|
||||
import java.util.concurrent.TimeUnit
|
||||
import scala.concurrent.duration._
|
||||
import akka.stream.ActorMaterializer
|
||||
import akka.stream.scaladsl.{ Flow, Sink, Source }
|
||||
import akka.stream.testkit.TestPublisher
|
||||
import org.reactivestreams.{ Subscriber, Subscription, Processor, Publisher }
|
||||
import org.reactivestreams.tck.IdentityProcessorVerification
|
||||
|
|
|
|||
|
|
@ -4,19 +4,12 @@
|
|||
package akka.stream.tck
|
||||
|
||||
import scala.collection.immutable
|
||||
import akka.event.Logging
|
||||
import scala.concurrent.duration._
|
||||
import akka.actor.ActorSystem
|
||||
import akka.stream.ActorMaterializerSettings
|
||||
import akka.stream.ActorMaterializer
|
||||
import akka.stream.testkit.AkkaSpec
|
||||
import akka.stream.testkit.TestPublisher
|
||||
import org.reactivestreams.Publisher
|
||||
import org.reactivestreams.tck.{ PublisherVerification, TestEnvironment }
|
||||
import org.scalatest.testng.TestNGSuiteLike
|
||||
import org.testng.annotations.AfterClass
|
||||
import akka.actor.ActorSystemImpl
|
||||
import java.util.concurrent.TimeoutException
|
||||
|
||||
abstract class AkkaPublisherVerification[T](val env: TestEnvironment, publisherShutdownTimeout: Long)
|
||||
extends PublisherVerification[T](env, publisherShutdownTimeout)
|
||||
|
|
|
|||
|
|
@ -3,22 +3,13 @@
|
|||
*/
|
||||
package akka.stream.tck
|
||||
|
||||
import akka.event.Logging
|
||||
|
||||
import scala.collection.immutable
|
||||
import scala.concurrent.duration._
|
||||
import akka.actor.ActorSystem
|
||||
import akka.stream.ActorMaterializerSettings
|
||||
import akka.stream.ActorMaterializer
|
||||
import akka.stream.scaladsl.Sink
|
||||
import akka.stream.scaladsl.Source
|
||||
import akka.stream.testkit.AkkaSpec
|
||||
import org.reactivestreams.Publisher
|
||||
import org.reactivestreams.tck.SubscriberBlackboxVerification
|
||||
import org.reactivestreams.tck.SubscriberWhiteboxVerification
|
||||
import org.reactivestreams.tck.TestEnvironment
|
||||
import org.scalatest.testng.TestNGSuiteLike
|
||||
import org.testng.annotations.AfterClass
|
||||
|
||||
abstract class AkkaSubscriberBlackboxVerification[T](env: TestEnvironment)
|
||||
extends SubscriberBlackboxVerification[T](env) with TestNGSuiteLike
|
||||
|
|
|
|||
|
|
@ -4,9 +4,6 @@
|
|||
package akka.stream.tck
|
||||
|
||||
import org.reactivestreams.Publisher
|
||||
import org.reactivestreams.Subscriber
|
||||
import akka.stream.scaladsl.Source
|
||||
import akka.stream.scaladsl.Sink
|
||||
import akka.stream.impl.EmptyPublisher
|
||||
|
||||
class EmptyPublisherTest extends AkkaPublisherVerification[Int] {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import java.io.{ File, FileWriter }
|
|||
import akka.actor.ActorSystem
|
||||
import akka.event.Logging
|
||||
import akka.stream.scaladsl.FileIO
|
||||
import akka.stream.scaladsl.{ Source, Sink }
|
||||
import akka.stream.scaladsl.{ Sink }
|
||||
import akka.stream.testkit._
|
||||
import akka.stream.testkit.Utils._
|
||||
import akka.testkit.{ EventFilter, TestEvent }
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
package akka.stream.tck
|
||||
|
||||
import akka.NotUsed
|
||||
import akka.stream.impl.Stages
|
||||
import akka.stream._
|
||||
import akka.stream.impl.fusing.GraphStages
|
||||
import akka.stream.scaladsl.Flow
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
*/
|
||||
package akka.stream.tck
|
||||
|
||||
import scala.collection.immutable
|
||||
import akka.stream.scaladsl.Sink
|
||||
import akka.stream.scaladsl.Source
|
||||
import org.reactivestreams._
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ package akka.stream.tck
|
|||
import akka.stream.ActorMaterializer
|
||||
import akka.stream.scaladsl.Flow
|
||||
import org.reactivestreams.Processor
|
||||
import akka.stream.Attributes
|
||||
|
||||
class MapTest extends AkkaIdentityProcessorVerification[Int] {
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
package akka.stream.tck
|
||||
|
||||
import org.reactivestreams.Publisher
|
||||
import org.reactivestreams.Subscriber
|
||||
import akka.stream.scaladsl.{ Keep, Source, Sink }
|
||||
|
||||
class MaybeSourceTest extends AkkaPublisherVerification[Int] {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
*/
|
||||
package akka.stream.tck
|
||||
|
||||
import scala.collection.immutable
|
||||
import scala.concurrent.Await
|
||||
import scala.concurrent.duration._
|
||||
import akka.stream.scaladsl.Sink
|
||||
|
|
|
|||
|
|
@ -3,10 +3,6 @@
|
|||
*/
|
||||
package akka.stream.tck
|
||||
|
||||
import akka.actor.ActorSystem
|
||||
import scala.concurrent.duration._
|
||||
import akka.testkit._
|
||||
|
||||
/**
|
||||
* Specifies timeouts for the TCK
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -4,11 +4,9 @@
|
|||
package akka.stream.tck
|
||||
|
||||
import akka.stream.{ ActorMaterializer, ActorMaterializerSettings }
|
||||
import akka.stream.impl.ActorMaterializerImpl
|
||||
import akka.stream.scaladsl.Flow
|
||||
import akka.stream.Attributes
|
||||
import akka.stream.stage.{ Context, PushStage }
|
||||
import org.reactivestreams.{ Processor, Publisher }
|
||||
import org.reactivestreams.{ Processor }
|
||||
|
||||
class TransformProcessorTest extends AkkaIdentityProcessorVerification[Int] {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue