trait SqlTestDB extends RelationalTestDB
- Alphabetic
- By Inheritance
- SqlTestDB
- RelationalTestDB
- TestDB
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type Profile <: SqlProfile
- Definition Classes
- SqlTestDB → RelationalTestDB → TestDB
Abstract Value Members
- abstract def assertNotTablesExist(tables: String*): DBIO[Unit]
- Definition Classes
- RelationalTestDB
- abstract def assertTablesExist(tables: String*): DBIO[Unit]
- Definition Classes
- RelationalTestDB
- abstract val confName: String
The test database name
The test database name
- Definition Classes
- TestDB
- abstract def createDB(): slick.relational.RelationalProfile.Backend.Database
Create the Database object for this test database configuration
Create the Database object for this test database configuration
- Definition Classes
- TestDB
- abstract def dropUserArtifacts(implicit session: slick.relational.RelationalProfile.Backend.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
- TestDB
- abstract val profile: Profile
The profile for the database
The profile for the database
- Definition Classes
- TestDB
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (SqlTestDB, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- TestDB
- 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
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def confOptionalString(path: String): Option[String]
- Definition Classes
- TestDB
- def confString(path: String): String
- Definition Classes
- TestDB
- def confStrings(path: String): Seq[String]
- Definition Classes
- TestDB
- lazy val config: Config
The test configuration
The test configuration
- Definition Classes
- TestDB
- def ensuring(cond: (SqlTestDB) => Boolean, msg: => Any): SqlTestDB
- def ensuring(cond: (SqlTestDB) => Boolean): SqlTestDB
- def ensuring(cond: Boolean, msg: => Any): SqlTestDB
- def ensuring(cond: Boolean): SqlTestDB
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def isEnabled: Boolean
Check if this test database is enabled
Check if this test database is enabled
- Definition Classes
- TestDB
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def testClasses: Seq[Class[_ <: AsyncTest[_ >: Null <: TestDB]]]
The tests to run for this configuration.
The tests to run for this configuration.
- Definition Classes
- TestDB
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SqlTestDB toStringFormat[SqlTestDB] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (SqlTestDB, B)
- Implicit
- This member is added by an implicit conversion from SqlTestDB toArrowAssoc[SqlTestDB] 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.