com.typesafe.slick.testkit.util

SqlTestDB

Related Doc: package util

trait SqlTestDB extends RelationalTestDB

Source
TestDB.scala
Linear Supertypes
RelationalTestDB, TestDB, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SqlTestDB
  2. RelationalTestDB
  3. TestDB
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Driver <: SqlDriver

    Definition Classes
    SqlTestDBRelationalTestDBTestDB

Abstract Value Members

  1. abstract def assertNotTablesExist(tables: String*)(implicit session: slick.profile.RelationalProfile.Backend.Session): Unit

    Definition Classes
    RelationalTestDB
  2. abstract def assertTablesExist(tables: String*)(implicit session: slick.profile.RelationalProfile.Backend.Session): Unit

    Definition Classes
    RelationalTestDB
  3. abstract val confName: String

    The test database name

    The test database name

    Definition Classes
    TestDB
  4. abstract def createDB(): slick.profile.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 val driver: Driver

    The Slick driver for the database

    The Slick driver for the database

    Definition Classes
    TestDB
  6. abstract def dropUserArtifacts(implicit session: slick.profile.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

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 information
    This member is added by an implicit conversion from SqlTestDB to any2stringadd[SqlTestDB] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SqlTestDB, B)

    Implicit information
    This member is added by an implicit conversion from SqlTestDB to ArrowAssoc[SqlTestDB] 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 driver, possibly modified for this test configuration.

    The capabilities of the Slick driver, 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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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: (SqlTestDB) ⇒ Boolean, msg: ⇒ Any): SqlTestDB

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

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

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

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

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

    Definition Classes
    AnyRef → Any
  25. def isEnabled: Boolean

    Check if this test database is enabled

    Check if this test database is enabled

    Definition Classes
    TestDB
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. 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
  28. 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
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. lazy val profile: Driver.profile.type

    The Slick driver for the database

    The Slick driver for the database

    Definition Classes
    TestDB
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def testClasses: Seq[Class[_ <: GenericTest[_ >: Null <: TestDB]]]

    The tests to run for this configuration.

    The tests to run for this configuration.

    Definition Classes
    TestDB
  35. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def [B](y: B): (SqlTestDB, B)

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

Inherited from RelationalTestDB

Inherited from TestDB

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SqlTestDB to any2stringadd[SqlTestDB]

Inherited by implicit conversion StringFormat from SqlTestDB to StringFormat[SqlTestDB]

Inherited by implicit conversion Ensuring from SqlTestDB to Ensuring[SqlTestDB]

Inherited by implicit conversion ArrowAssoc from SqlTestDB to ArrowAssoc[SqlTestDB]

Ungrouped