com.typesafe.slick.testkit.util

JdbcTestDB

abstract class JdbcTestDB extends SqlTestDB

Source
TestDB.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
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 any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JdbcTestDB(confName: String)

Type Members

  1. type Driver = JdbcDriver

    Definition Classes
    JdbcTestDBSqlTestDBRelationalTestDBTestDB

Abstract Value Members

  1. abstract def createDB(): Database

    Create the Database object for this test database configuration

    Create the Database object for this test database configuration

    Definition Classes
    TestDB
  2. abstract val driver: Driver

    The Slick driver for the database

    The Slick driver for the database

    Definition Classes
    TestDB
  3. abstract val jdbcDriver: String

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def assertNotTablesExist(tables: String*)(implicit session: SessionDef): Unit

    Definition Classes
    JdbcTestDBRelationalTestDB
  10. def assertTablesExist(tables: String*)(implicit session: SessionDef): Unit

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

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

  13. def canGetLocalTables: Boolean

  14. 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
  15. 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
  16. 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
  17. def clone(): AnyRef

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

    The test database name

    The test database name

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

    Definition Classes
    TestDB
  20. def confString(path: String): String

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

    Definition Classes
    TestDB
  22. lazy val config: Config

    The test configuration

    The test configuration

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

  24. lazy val database: DatabaseFactoryDef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  35. def getLocalSequences(implicit session: SessionDef): List[String]

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

  37. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  38. def isEnabled: Boolean

    Check if this test database is enabled

    Check if this test database is enabled

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

    Definition Classes
    Any
  40. 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
  41. 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
  42. def localTables(implicit ec: ExecutionContext): DBIO[Vector[String]]

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

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

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

    Definition Classes
    AnyRef
  46. lazy val profile: slick.driver.JdbcDriver.profile.type

    The Slick driver for the database

    The Slick driver for the database

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

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

    The tests to run for this configuration.

    The tests to run for this configuration.

    Definition Classes
    TestDB
  49. def toString(): String

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

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

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

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

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from JdbcTestDB to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jdbcTestDB: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from JdbcTestDB to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jdbcTestDB: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: JdbcTestDB

    Implicit information
    This member is added by an implicit conversion from JdbcTestDB to ArrowAssoc[JdbcTestDB] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jdbcTestDB: ArrowAssoc[JdbcTestDB]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: JdbcTestDB

    Implicit information
    This member is added by an implicit conversion from JdbcTestDB to Ensuring[JdbcTestDB] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jdbcTestDB: Ensuring[JdbcTestDB]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from SqlTestDB

Inherited from RelationalTestDB

Inherited from TestDB

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JdbcTestDB to StringAdd

Inherited by implicit conversion any2stringfmt from JdbcTestDB to StringFormat

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

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

Ungrouped