HsqlDB

com.typesafe.slick.testkit.util.HsqlDB
abstract class HsqlDB(confName: String) extends InternalJdbcTestDB

Attributes

Source
StandardTestDBs.scala
Graph
Supertypes
class JdbcTestDB
trait SqlTestDB
trait TestDB
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type Profile = JdbcProfile

Attributes

Inherited from:
JdbcTestDB
Source
TestDB.scala

Value members

Concrete methods

override 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.

Attributes

Definition Classes
Source
StandardTestDBs.scala
override def createDB(): Database

Create the Database object for this test database configuration

Create the Database object for this test database configuration

Attributes

Definition Classes
Source
StandardTestDBs.scala
override def localTables(implicit ec: ExecutionContext): DBIO[Vector[String]]

Attributes

Definition Classes
Source
StandardTestDBs.scala

Inherited methods

override def assertNotTablesExist(tables: String*): DBIOAction[Unit, NoStream, Effect]

Attributes

Definition Classes
Inherited from:
JdbcTestDB
Source
TestDB.scala
override def assertTablesExist(tables: String*): DBIOAction[Unit, NoStream, Effect]

Attributes

Definition Classes
Inherited from:
JdbcTestDB
Source
TestDB.scala
final def blockingRunOnSession[R](f: ExecutionContext => DBIOAction[R, NoStream, Nothing])(implicit session: Session): R

Attributes

Inherited from:
JdbcTestDB
Source
TestDB.scala
def canGetLocalTables: Boolean

Attributes

Inherited from:
JdbcTestDB
Source
TestDB.scala
def cleanUpAfter(): Unit

This method is called to clean up after running all tests. It defaults to cleanUpBefore().

This method is called to clean up after running all tests. It defaults to cleanUpBefore().

Attributes

Inherited from:
TestDB
Source
TestDB.scala
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.

Attributes

Inherited from:
TestDB
Source
TestDB.scala
def confOptionalString(path: String): Option[String]

Attributes

Inherited from:
TestDB
Source
TestDB.scala
def confString(path: String): String

Attributes

Inherited from:
TestDB
Source
TestDB.scala
def confStrings(path: String): Seq[String]

Attributes

Inherited from:
TestDB
Source
TestDB.scala
def createSingleSessionDatabase(implicit session: Session, executor: AsyncExecutor): Database

Attributes

Inherited from:
JdbcTestDB
Source
TestDB.scala
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.

Attributes

Inherited from:
JdbcTestDB
Source
TestDB.scala
final def getLocalSequences(implicit session: Session): Vector[String]

Attributes

Inherited from:
JdbcTestDB
Source
TestDB.scala
final def getLocalTables(implicit session: Session): Vector[String]

Attributes

Inherited from:
JdbcTestDB
Source
TestDB.scala
def isEnabled: Boolean

Check if this test database is enabled

Check if this test database is enabled

Attributes

Inherited from:
TestDB
Source
TestDB.scala
def isPersistent: Boolean

Indicates whether the database persists after closing the last connection

Indicates whether the database persists after closing the last connection

Attributes

Inherited from:
TestDB
Source
TestDB.scala
def isShared: Boolean

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.

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.

Attributes

Inherited from:
TestDB
Source
TestDB.scala
def localSequences(implicit ec: ExecutionContext): DBIO[Vector[String]]

Attributes

Inherited from:
JdbcTestDB
Source
TestDB.scala
def testClasses: Seq[Class[_ <: AsyncTest[_ >: Null <: TestDB]]]

The tests to run for this configuration.

The tests to run for this configuration.

Attributes

Inherited from:
TestDB
Source
TestDB.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Inherited from:
InternalJdbcTestDB
Source
TestDB.scala

Concrete fields

val jdbcDriver: String

Attributes

Source
StandardTestDBs.scala
val profile: HsqldbProfile

The profile for the database

The profile for the database

Attributes

Source
StandardTestDBs.scala

Inherited fields

lazy val config: Config

The test configuration

The test configuration

Attributes

Inherited from:
TestDB
Source
TestDB.scala
lazy val database: DatabaseFactory

Attributes

Inherited from:
JdbcTestDB
Source
TestDB.scala
val url: String

Attributes

Inherited from:
InternalJdbcTestDB
Source
TestDB.scala