t

com.typesafe.slick.testkit.util

RelationalTestDB

trait RelationalTestDB extends TestDB

Source
TestDB.scala
Linear Supertypes
TestDB, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RelationalTestDB
  2. TestDB
  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. Protected

Type Members

  1. abstract type Profile <: RelationalProfile
    Definition Classes
    RelationalTestDBTestDB

Abstract Value Members

  1. abstract def assertNotTablesExist(tables: String*): DBIO[Unit]
  2. abstract def assertTablesExist(tables: String*): DBIO[Unit]
  3. abstract val confName: String

    The test database name

    The test database name

    Definition Classes
    TestDB
  4. abstract def createDB(): slick.relational.RelationalProfile.Backend.Database

    Create the Database object for this test database configuration

    Create the Database object for this test database configuration

    Definition Classes
    TestDB
  5. abstract def dropUserArtifacts(implicit session: slick.relational.RelationalProfile.Backend.Session): Unit

    This method is called between individual test methods to remove all database artifacts that were created by the test.

    This method is called between individual test methods to remove all database artifacts that were created by the test.

    Definition Classes
    TestDB
  6. abstract val profile: Profile

    The profile for the database

    The profile for the database

    Definition Classes
    TestDB

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from RelationalTestDB toany2stringadd[RelationalTestDB] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RelationalTestDB, B)
    Implicit
    This member is added by an implicit conversion from RelationalTestDB toArrowAssoc[RelationalTestDB] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def capabilities: Set[Capability]

    The capabilities of the Slick profile, possibly modified for this test configuration.

    The capabilities of the Slick profile, possibly modified for this test configuration.

    Definition Classes
    TestDB
  8. def cleanUpAfter(): Unit

    This method is called to clean up after running all tests.

    This method is called to clean up after running all tests. It defaults to cleanUpBefore().

    Definition Classes
    TestDB
  9. def cleanUpBefore(): Unit

    This method is called to clean up before running all tests.

    This method is called to clean up before running all tests.

    Definition Classes
    TestDB
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  11. def confOptionalString(path: String): Option[String]
    Definition Classes
    TestDB
  12. def confString(path: String): String
    Definition Classes
    TestDB
  13. def confStrings(path: String): Seq[String]
    Definition Classes
    TestDB
  14. lazy val config: Config

    The test configuration

    The test configuration

    Definition Classes
    TestDB
  15. def ensuring(cond: (RelationalTestDB) => Boolean, msg: => Any): RelationalTestDB
    Implicit
    This member is added by an implicit conversion from RelationalTestDB toEnsuring[RelationalTestDB] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (RelationalTestDB) => Boolean): RelationalTestDB
    Implicit
    This member is added by an implicit conversion from RelationalTestDB toEnsuring[RelationalTestDB] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: => Any): RelationalTestDB
    Implicit
    This member is added by an implicit conversion from RelationalTestDB toEnsuring[RelationalTestDB] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): RelationalTestDB
    Implicit
    This member is added by an implicit conversion from RelationalTestDB toEnsuring[RelationalTestDB] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. def isEnabled: Boolean

    Check if this test database is enabled

    Check if this test database is enabled

    Definition Classes
    TestDB
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def isPersistent: Boolean

    Indicates whether the database persists after closing the last connection

    Indicates whether the database persists after closing the last connection

    Definition Classes
    TestDB
  26. def isShared: Boolean

    Indicates whether the database's sessions have shared state.

    Indicates whether the database's sessions have shared state. When a database is shared but not persistent, Testkit keeps a session open to make it persistent.

    Definition Classes
    TestDB
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def testClasses: Seq[Class[_ <: AsyncTest[_ >: Null <: TestDB]]]

    The tests to run for this configuration.

    The tests to run for this configuration.

    Definition Classes
    TestDB
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from RelationalTestDB toStringFormat[RelationalTestDB] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (RelationalTestDB, B)
    Implicit
    This member is added by an implicit conversion from RelationalTestDB toArrowAssoc[RelationalTestDB] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from TestDB

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromRelationalTestDB to any2stringadd[RelationalTestDB]

Inherited by implicit conversion StringFormat fromRelationalTestDB to StringFormat[RelationalTestDB]

Inherited by implicit conversion Ensuring fromRelationalTestDB to Ensuring[RelationalTestDB]

Inherited by implicit conversion ArrowAssoc fromRelationalTestDB to ArrowAssoc[RelationalTestDB]

Ungrouped