Trait

com.typesafe.slick.testkit.util

RelationalTestDB

Related Doc: package util

Permalink

trait RelationalTestDB extends TestDB

Source
TestDB.scala
Linear Supertypes
Known Subclasses
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. All

Type Members

  1. abstract type Profile <: RelationalProfile

    Permalink
    Definition Classes
    RelationalTestDBTestDB

Abstract Value Members

  1. abstract def assertNotTablesExist(tables: String*): DBIO[Unit]

    Permalink
  2. abstract def assertTablesExist(tables: String*): DBIO[Unit]

    Permalink
  3. abstract val confName: String

    Permalink

    The test database name

    The test database name

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

    Permalink

    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

    Permalink

    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

    Permalink

    The profile for the database

    The profile for the database

    Definition Classes
    TestDB

Concrete 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 RelationalTestDB to any2stringadd[RelationalTestDB] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RelationalTestDB, B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def capabilities: Set[Capability]

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def confOptionalString(path: String): Option[String]

    Permalink
    Definition Classes
    TestDB
  12. def confString(path: String): String

    Permalink
    Definition Classes
    TestDB
  13. def confStrings(path: String): Seq[String]

    Permalink
    Definition Classes
    TestDB
  14. lazy val config: Config

    Permalink

    The test configuration

    The test configuration

    Definition Classes
    TestDB
  15. def ensuring(cond: (RelationalTestDB) ⇒ Boolean, msg: ⇒ Any): RelationalTestDB

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def isEnabled: Boolean

    Permalink

    Check if this test database is enabled

    Check if this test database is enabled

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

    Permalink
    Definition Classes
    Any
  27. def isPersistent: Boolean

    Permalink

    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

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    The tests to run for this configuration.

    The tests to run for this configuration.

    Definition Classes
    TestDB
  34. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (RelationalTestDB, B)

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

Inherited from TestDB

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped