abstract class H2TestDB extends InternalJdbcTestDB

Source
StandardTestDBs.scala
Type Hierarchy
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. Protected

Instance Constructors

  1. new H2TestDB(confName: String, keepAlive: Boolean)

Type Members

  1. type Profile = JdbcProfile
    Definition Classes
    JdbcTestDBSqlTestDBRelationalTestDBTestDB

Abstract Value Members

  1. abstract val url: String
    Definition Classes
    InternalJdbcTestDB

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
    This member is added by an implicit conversion from H2TestDB toany2stringadd[H2TestDB] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (H2TestDB, B)
    Implicit
    This member is added by an implicit conversion from H2TestDB toArrowAssoc[H2TestDB] 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 assertNotTablesExist(tables: String*): DBIOAction[Unit, NoStream, Effect]
    Definition Classes
    JdbcTestDBRelationalTestDB
  8. def assertTablesExist(tables: String*): DBIOAction[Unit, NoStream, Effect]
    Definition Classes
    JdbcTestDBRelationalTestDB
  9. def await[T](f: Future[T]): T
    Attributes
    protected[this]
    Definition Classes
    JdbcTestDB
  10. final def blockingRunOnSession[R](f: (ExecutionContext) => DBIOAction[R, NoStream, Nothing])(implicit session: Session): R
    Definition Classes
    JdbcTestDB
  11. def canGetLocalTables: Boolean
    Definition Classes
    JdbcTestDB
  12. def capabilities: Set[Capability]

    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

    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

    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
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  16. val confName: String

    The test database name

    The test database name

    Definition Classes
    JdbcTestDBTestDB
  17. def confOptionalString(path: String): Option[String]
    Definition Classes
    TestDB
  18. def confString(path: String): String
    Definition Classes
    TestDB
  19. def confStrings(path: String): Seq[String]
    Definition Classes
    TestDB
  20. lazy val config: Config

    The test configuration

    The test configuration

    Definition Classes
    TestDB
  21. def createDB(): Database

    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: Session, executor: AsyncExecutor = AsyncExecutor.default()): Database
    Definition Classes
    JdbcTestDB
  23. lazy val database: DatabaseFactory
    Definition Classes
    JdbcTestDB
  24. def dropUserArtifacts(implicit session: 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
    JdbcTestDBTestDB
  25. def ensuring(cond: (H2TestDB) => Boolean, msg: => Any): H2TestDB
    Implicit
    This member is added by an implicit conversion from H2TestDB toEnsuring[H2TestDB] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: (H2TestDB) => Boolean): H2TestDB
    Implicit
    This member is added by an implicit conversion from H2TestDB toEnsuring[H2TestDB] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean, msg: => Any): H2TestDB
    Implicit
    This member is added by an implicit conversion from H2TestDB toEnsuring[H2TestDB] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: Boolean): H2TestDB
    Implicit
    This member is added by an implicit conversion from H2TestDB toEnsuring[H2TestDB] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  32. final def getLocalSequences(implicit session: Session): Vector[String]
    Definition Classes
    JdbcTestDB
  33. final def getLocalTables(implicit session: Session): Vector[String]
    Definition Classes
    JdbcTestDB
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  35. def isEnabled: Boolean

    Check if this test database is enabled

    Check if this test database is enabled

    Definition Classes
    TestDB
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. 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
  38. 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
  39. val jdbcDriver: String
    Definition Classes
    H2TestDBJdbcTestDB
  40. def localSequences(implicit ec: ExecutionContext): DBIO[Vector[String]]
    Definition Classes
    JdbcTestDB
  41. def localTables(implicit ec: ExecutionContext): DBIO[Vector[String]]
    Definition Classes
    JdbcTestDB
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  45. val profile: Profile

    The profile for the database

    The profile for the database

    Definition Classes
    H2TestDBTestDB
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. def testClasses: Seq[Class[_ <: AsyncTest[_ >: Null <: TestDB]]]

    The tests to run for this configuration.

    The tests to run for this configuration.

    Definition Classes
    TestDB
  48. def toString(): String
    Definition Classes
    InternalJdbcTestDB → AnyRef → Any
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from H2TestDB toStringFormat[H2TestDB] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (H2TestDB, B)
    Implicit
    This member is added by an implicit conversion from H2TestDB toArrowAssoc[H2TestDB] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

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 fromH2TestDB to any2stringadd[H2TestDB]

Inherited by implicit conversion StringFormat fromH2TestDB to StringFormat[H2TestDB]

Inherited by implicit conversion Ensuring fromH2TestDB to Ensuring[H2TestDB]

Inherited by implicit conversion ArrowAssoc fromH2TestDB to ArrowAssoc[H2TestDB]

Ungrouped