abstract class DerbyDB extends InternalJdbcTestDB
- Alphabetic
- By Inheritance
- DerbyDB
- InternalJdbcTestDB
- JdbcTestDB
- SqlTestDB
- RelationalTestDB
- TestDB
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DerbyDB(confName: String)
Type Members
- type Profile = JdbcProfile
- Definition Classes
- JdbcTestDB → SqlTestDB → RelationalTestDB → TestDB
Abstract Value Members
- abstract val url: String
- Definition Classes
- InternalJdbcTestDB
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): (DerbyDB, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assertNotTablesExist(tables: String*): DBIOAction[Unit, NoStream, Effect]
- Definition Classes
- JdbcTestDB → RelationalTestDB
- def assertTablesExist(tables: String*): DBIOAction[Unit, NoStream, Effect]
- Definition Classes
- JdbcTestDB → RelationalTestDB
- def await[T](f: Future[T]): T
- Attributes
- protected[this]
- Definition Classes
- JdbcTestDB
- final def blockingRunOnSession[R](f: (ExecutionContext) => DBIOAction[R, NoStream, Nothing])(implicit session: Session): R
- Definition Classes
- JdbcTestDB
- def canGetLocalTables: Boolean
- Definition Classes
- JdbcTestDB
- 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.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val confName: String
The test database name
The test database name
- Definition Classes
- JdbcTestDB → TestDB
- 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 createDB(): Database
Create the Database object for this test database configuration
Create the Database object for this test database configuration
- Definition Classes
- InternalJdbcTestDB → TestDB
- def createSingleSessionDatabase(implicit session: Session, executor: AsyncExecutor = AsyncExecutor.default()): Database
- Definition Classes
- JdbcTestDB
- lazy val database: DatabaseFactory
- Definition Classes
- JdbcTestDB
- 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
- DerbyDB → JdbcTestDB → TestDB
- def ensuring(cond: (DerbyDB) => Boolean, msg: => Any): DerbyDB
- def ensuring(cond: (DerbyDB) => Boolean): DerbyDB
- def ensuring(cond: Boolean, msg: => Any): DerbyDB
- def ensuring(cond: Boolean): DerbyDB
- 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()
- final def getLocalSequences(implicit session: Session): Vector[String]
- Definition Classes
- JdbcTestDB
- final def getLocalTables(implicit session: Session): Vector[String]
- Definition Classes
- JdbcTestDB
- 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
- val jdbcDriver: String
- Definition Classes
- DerbyDB → JdbcTestDB
- def localSequences(implicit ec: ExecutionContext): DBIO[Vector[String]]
- Definition Classes
- JdbcTestDB
- def localTables(implicit ec: ExecutionContext): DBIO[Vector[String]]
- Definition Classes
- DerbyDB → JdbcTestDB
- 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()
- val profile: DerbyProfile
The profile for the database
- 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
- InternalJdbcTestDB → 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 DerbyDB toStringFormat[DerbyDB] 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): (DerbyDB, B)
- Implicit
- This member is added by an implicit conversion from DerbyDB toArrowAssoc[DerbyDB] 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.