Class

com.typesafe.slick.testkit.util

AsyncTest

Related Doc: package util

Permalink

abstract class AsyncTest[TDB >: Null <: TestDB] extends GenericTest[TDB]

Source
Testkit.scala
Linear Supertypes
GenericTest[TDB], AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncTest
  2. GenericTest
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AsyncTest()(implicit TdbClass: ClassTag[TDB])

    Permalink

Type Members

  1. implicit class AssertionExtensionMethods[T] extends AnyRef

    Permalink
  2. implicit class CollectionAssertionExtensionMethods[T] extends AnyRef

    Permalink
  3. implicit class CollectionDBIOActionExtensionMethods[T, +S <: NoStream, -E <: Effect] extends AnyRef

    Permalink
  4. implicit class DBIOActionExtensionMethods[T, +S <: NoStream, -E <: Effect] extends AnyRef

    Permalink
  5. implicit class StringContextExtensionMethods extends AnyRef

    Permalink
    Definition Classes
    GenericTest

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AsyncTest[TDB] to any2stringadd[AsyncTest[TDB]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AsyncTest[TDB], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AsyncTest[TDB] to ArrowAssoc[AsyncTest[TDB]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. object GetSession extends SynchronousDatabaseAction[slick.basic.BasicProfile.Backend.Session, NoStream, TestDB.Profile.Backend, Effect]

    Permalink

    Test Action: Get the current database session

  7. object GetStatementParameters extends SynchronousDatabaseAction[StatementParameters, NoStream, JdbcBackend, Effect]

    Permalink

    Test Action: Get the current statement parameters, except for statementInit which is always set to null

  8. object GetTransactionality extends SynchronousDatabaseAction[(Int, Boolean), NoStream, JdbcBackend, Effect]

    Permalink

    Test Action: Get the current transactionality level and autoCommit flag

  9. object IsPinned extends SynchronousDatabaseAction[Boolean, NoStream, TestDB.Profile.Backend, Effect]

    Permalink

    Test Action: Check if the current database session is pinned

  10. var _tdb: TDB

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenericTest
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def assertNesting(q: Rep[_], exp: Int): Unit

    Permalink
    Definition Classes
    GenericTest
  13. implicit def asyncTestExecutionContext: ExecutionContextExecutor

    Permalink
    Attributes
    protected
  14. final def cleanup(): Unit

    Permalink
    Definition Classes
    GenericTest
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. final def closeKeepAlive(): Unit

    Permalink
    Definition Classes
    GenericTest
  17. lazy val db: slick.basic.BasicProfile.Backend.Database

    Permalink
    Definition Classes
    GenericTest
  18. def ensuring(cond: (AsyncTest[TDB]) ⇒ Boolean, msg: ⇒ Any): AsyncTest[TDB]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AsyncTest[TDB] to Ensuring[AsyncTest[TDB]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (AsyncTest[TDB]) ⇒ Boolean): AsyncTest[TDB]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AsyncTest[TDB] to Ensuring[AsyncTest[TDB]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): AsyncTest[TDB]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AsyncTest[TDB] to Ensuring[AsyncTest[TDB]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): AsyncTest[TDB]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AsyncTest[TDB] to Ensuring[AsyncTest[TDB]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def foreach[T](p: Publisher[T])(f: (T) ⇒ Any): Future[Unit]

    Permalink

    Iterate synchronously over a Reactive Stream.

  26. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AsyncTest[TDB] to StringFormat[AsyncTest[TDB]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. def ifCap[E <: Effect, R](caps: Capability*)(f: ⇒ DBIOAction[R, NoStream, E]): DBIOAction[Unit, NoStream, E]

    Permalink
  30. def ifCapF[R](caps: Capability*)(f: ⇒ Future[R]): Future[Unit]

    Permalink
  31. def ifCapU[T](caps: Capability*)(f: ⇒ T): Unit

    Permalink
  32. def ifNotCap[E <: Effect, R](caps: Capability*)(f: ⇒ DBIOAction[R, NoStream, E]): DBIOAction[Unit, NoStream, E]

    Permalink
  33. def ifNotCapF[R](caps: Capability*)(f: ⇒ Future[R]): Future[Unit]

    Permalink
  34. def ifNotCapU[T](caps: Capability*)(f: ⇒ T): Unit

    Permalink
  35. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  36. def jcap: JdbcCapabilities.type

    Permalink
    Definition Classes
    GenericTest
  37. final def mark[R, S <: NoStream, E <: Effect](id: String, f: ⇒ DBIOAction[R, S, E]): DBIOAction[R, S, E]

    Permalink
    Definition Classes
    GenericTest
  38. final def mark[T](id: String, f: ⇒ T): T

    Permalink
    Definition Classes
    GenericTest
  39. def materialize[T](p: Publisher[T]): Future[Vector[T]]

    Permalink

    Synchronously consume a Reactive Stream and materialize it as a Vector.

  40. def materializeAsync[T, R](p: Publisher[T], tr: (T) ⇒ Future[R], delay: Duration = ...): Future[Vector[R]]

    Permalink

    Asynchronously consume a Reactive Stream and materialize it as a Vector, requesting new elements one by one and transforming them after the specified delay.

    Asynchronously consume a Reactive Stream and materialize it as a Vector, requesting new elements one by one and transforming them after the specified delay. This ensures that the transformation does not run in the synchronous database context but still preserves proper sequencing.

  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  44. def rcap: RelationalCapabilities.type

    Permalink
    Definition Classes
    GenericTest
  45. final val reuseInstance: Boolean(true)

    Permalink
    Definition Classes
    AsyncTestGenericTest
  46. def scap: SqlCapabilities.type

    Permalink
    Definition Classes
    GenericTest
  47. def seq[E <: Effect](actions: DBIOAction[_, NoStream, E]*): DBIOAction[Unit, NoStream, E]

    Permalink
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  49. def tcap: capabilities.type

    Permalink
    Definition Classes
    GenericTest
  50. lazy val tdb: TDB

    Permalink
    Definition Classes
    GenericTest
  51. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  52. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def [B](y: B): (AsyncTest[TDB], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AsyncTest[TDB] to ArrowAssoc[AsyncTest[TDB]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from GenericTest[TDB]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AsyncTest[TDB] to any2stringadd[AsyncTest[TDB]]

Inherited by implicit conversion StringFormat from AsyncTest[TDB] to StringFormat[AsyncTest[TDB]]

Inherited by implicit conversion Ensuring from AsyncTest[TDB] to Ensuring[AsyncTest[TDB]]

Inherited by implicit conversion ArrowAssoc from AsyncTest[TDB] to ArrowAssoc[AsyncTest[TDB]]

Ungrouped