Class

com.typesafe.slick.testkit.util

H2TestDB

Related Doc: package util

Permalink

abstract class H2TestDB extends InternalJdbcTestDB

Source
StandardTestDBs.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. H2TestDB
  2. InternalJdbcTestDB
  3. JdbcTestDB
  4. SqlTestDB
  5. RelationalTestDB
  6. TestDB
  7. AnyRef
  8. 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 H2TestDB(confName: String, keepAlive: Boolean)

    Permalink

Type Members

  1. type Profile = JdbcProfile

    Permalink
    Definition Classes
    JdbcTestDBSqlTestDBRelationalTestDBTestDB

Abstract Value Members

  1. abstract val url: String

    Permalink
    Definition Classes
    InternalJdbcTestDB

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from H2TestDB to ArrowAssoc[H2TestDB] 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]
    Definition Classes
    JdbcTestDB
  10. final def blockingRunOnSession[R](f: (ExecutionContext) ⇒ DBIOAction[R, NoStream, Nothing])(implicit session: SessionDef): R

    Permalink
    Definition Classes
    JdbcTestDB
  11. def canGetLocalTables: Boolean

    Permalink
    Definition Classes
    JdbcTestDB
  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
    H2TestDBTestDB
  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 createDB(): DatabaseDef

    Permalink

    Create the Database object for this test database configuration

    Create the Database object for this test database configuration

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

    Permalink
    Definition Classes
    JdbcTestDB
  23. lazy val database: DatabaseFactoryDef

    Permalink
    Definition Classes
    JdbcTestDB
  24. 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
  25. def ensuring(cond: (H2TestDB) ⇒ Boolean, msg: ⇒ Any): H2TestDB

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    JdbcTestDB
  35. final def getLocalTables(implicit session: SessionDef): Vector[String]

    Permalink
    Definition Classes
    JdbcTestDB
  36. def hashCode(): Int

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

    Permalink

    Check if this test database is enabled

    Check if this test database is enabled

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

    Permalink
    Definition Classes
    Any
  39. 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
  40. 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
  41. val jdbcDriver: String

    Permalink
    Definition Classes
    H2TestDBJdbcTestDB
  42. def localSequences(implicit ec: ExecutionContext): DBIO[Vector[String]]

    Permalink
    Definition Classes
    JdbcTestDB
  43. def localTables(implicit ec: ExecutionContext): DBIO[Vector[String]]

    Permalink
    Definition Classes
    JdbcTestDB
  44. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  47. val profile: Profile

    Permalink

    The profile for the database

    The profile for the database

    Definition Classes
    H2TestDBTestDB
  48. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

Inherited from InternalJdbcTestDB

Inherited from JdbcTestDB

Inherited from SqlTestDB

Inherited from RelationalTestDB

Inherited from TestDB

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped