Class

com.typesafe.slick.testkit.util

JdbcTestDB

Related Doc: package util

Permalink

abstract class JdbcTestDB extends SqlTestDB

Source
TestDB.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JdbcTestDB
  2. SqlTestDB
  3. RelationalTestDB
  4. TestDB
  5. AnyRef
  6. 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 JdbcTestDB(confName: String)

    Permalink

Type Members

  1. type Profile = JdbcProfile

    Permalink
    Definition Classes
    JdbcTestDBSqlTestDBRelationalTestDBTestDB

Abstract Value Members

  1. abstract def createDB(): Database

    Permalink

    Create the Database object for this test database configuration

    Create the Database object for this test database configuration

    Definition Classes
    TestDB
  2. abstract val jdbcDriver: String

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from JdbcTestDB to ArrowAssoc[JdbcTestDB] 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 assertNotTablesExist(tables: String*): DBIOAction[Unit, NoStream, Effect]

    Permalink
    Definition Classes
    JdbcTestDBRelationalTestDB
  8. def assertTablesExist(tables: String*): DBIOAction[Unit, NoStream, Effect]

    Permalink
    Definition Classes
    JdbcTestDBRelationalTestDB
  9. def await[T](f: Future[T]): T

    Permalink
    Attributes
    protected[this]
  10. final def blockingRunOnSession[R](f: (ExecutionContext) ⇒ DBIOAction[R, NoStream, Nothing])(implicit session: SessionDef): R

    Permalink
  11. def canGetLocalTables: Boolean

    Permalink
  12. 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
  13. 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
  14. 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
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. val confName: String

    Permalink

    The test database name

    The test database name

    Definition Classes
    JdbcTestDBTestDB
  17. def confOptionalString(path: String): Option[String]

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

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

    Permalink
    Definition Classes
    TestDB
  20. lazy val config: Config

    Permalink

    The test configuration

    The test configuration

    Definition Classes
    TestDB
  21. def createSingleSessionDatabase(implicit session: SessionDef, executor: AsyncExecutor = AsyncExecutor.default()): DatabaseDef

    Permalink
  22. lazy val database: DatabaseFactoryDef

    Permalink
  23. def dropUserArtifacts(implicit session: SessionDef): 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
    JdbcTestDBTestDB
  24. def ensuring(cond: (JdbcTestDB) ⇒ Boolean, msg: ⇒ Any): JdbcTestDB

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def getLocalSequences(implicit session: SessionDef): Vector[String]

    Permalink
  34. final def getLocalTables(implicit session: SessionDef): Vector[String]

    Permalink
  35. def hashCode(): Int

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

    Permalink

    Check if this test database is enabled

    Check if this test database is enabled

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

    Permalink
    Definition Classes
    Any
  38. 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
  39. 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
  40. def localSequences(implicit ec: ExecutionContext): DBIO[Vector[String]]

    Permalink
  41. def localTables(implicit ec: ExecutionContext): DBIO[Vector[String]]

    Permalink
  42. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  46. 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
  47. def toString(): String

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

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

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

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

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

Inherited from SqlTestDB

Inherited from RelationalTestDB

Inherited from TestDB

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped