com.typesafe.slick.testkit.util

Members list

Type members

Classlikes

abstract class AsyncTest[TDB >: Null <: TestDB](implicit TdbClass: ClassTag[TDB]) extends GenericTest[TDB]

Build a table of supported capability flags for the user manual.

Build a table of supported capability flags for the user manual.

Attributes

Source
BuildCapabilitiesTable.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class DBTest

Attributes

Source
DBTest.scala
Supertypes
class Object
trait Matchable
class Any
abstract class DBTestObject(dbs: TestDB*)

Attributes

Source
DBTest.scala
Supertypes
class Object
trait Matchable
class Any
class DelegateConnection(conn: Connection) extends Connection

A delegating wrapper for java.sql.Connection.

A delegating wrapper for java.sql.Connection.

Attributes

Source
DelegateConnection.scala
Supertypes
trait Connection
trait AutoCloseable
trait Wrapper
class Object
trait Matchable
class Any
Show all
class DelegateResultSet(rs: ResultSet) extends ResultSet

An implementation of ResultSet which delegates all calls to another ResultSet. Individual methods can be overridden in subclasses to implement custom behavior. Methods from JDK 7 are declared but they throw a NotImplementedException instead of delegating the call, so that this class can be compiled on both, JDK 6 and JDK 7.

An implementation of ResultSet which delegates all calls to another ResultSet. Individual methods can be overridden in subclasses to implement custom behavior. Methods from JDK 7 are declared but they throw a NotImplementedException instead of delegating the call, so that this class can be compiled on both, JDK 6 and JDK 7.

Attributes

Source
DelegateResultSet.scala
Supertypes
trait ResultSet
trait AutoCloseable
trait Wrapper
class Object
trait Matchable
class Any
Show all
abstract class DerbyDB(confName: String) extends InternalJdbcTestDB

Attributes

Companion
object
Source
StandardTestDBs.scala
Supertypes
class JdbcTestDB
trait SqlTestDB
trait TestDB
class Object
trait Matchable
class Any
Show all
object DerbyDB

Attributes

Companion
class
Source
StandardTestDBs.scala
Supertypes
class Object
trait Matchable
class Any
Self type
DerbyDB.type
abstract class ExternalJdbcTestDB(confName: String) extends JdbcTestDB

Attributes

Source
TestDB.scala
Supertypes
class JdbcTestDB
trait SqlTestDB
trait TestDB
class Object
trait Matchable
class Any
Show all
Known subtypes
class SQLServerDB
sealed abstract class GenericTest[TDB >: Null <: TestDB](implicit TdbClass: ClassTag[TDB])
class GitHubActionsRunListener extends RunListener

Attributes

Source
GitHubActionsRunListener.scala
Supertypes
class RunListener
class Object
trait Matchable
class Any
abstract class H2TestDB(confName: String, keepAlive: Boolean) extends InternalJdbcTestDB

Attributes

Source
StandardTestDBs.scala
Supertypes
class JdbcTestDB
trait SqlTestDB
trait TestDB
class Object
trait Matchable
class Any
Show all
abstract class HsqlDB(confName: String) extends InternalJdbcTestDB

Attributes

Source
StandardTestDBs.scala
Supertypes
class JdbcTestDB
trait SqlTestDB
trait TestDB
class Object
trait Matchable
class Any
Show all
abstract class InternalJdbcTestDB(confName: String) extends JdbcTestDB

Attributes

Source
TestDB.scala
Supertypes
class JdbcTestDB
trait SqlTestDB
trait TestDB
class Object
trait Matchable
class Any
Show all
Known subtypes
class DerbyDB
class H2TestDB
class HsqlDB
class SQLiteTestDB
Self type
abstract class JdbcTestDB(val confName: String) extends SqlTestDB

Attributes

Source
TestDB.scala
Supertypes
trait SqlTestDB
trait TestDB
class Object
trait Matchable
class Any
Show all
Known subtypes
class SQLServerDB
class DerbyDB
class H2TestDB
class HsqlDB
class SQLiteTestDB
Show all
abstract class ProfileTest(val tdb: TestDB)

Attributes

Source
Testkit.scala
Supertypes
class Object
trait Matchable
class Any
trait RelationalTestDB extends TestDB

Attributes

Source
TestDB.scala
Supertypes
trait TestDB
class Object
trait Matchable
class Any
Known subtypes
trait SqlTestDB
class JdbcTestDB
class SQLServerDB
class DerbyDB
class H2TestDB
class HsqlDB
class SQLiteTestDB
Show all
class SQLiteTestDB(dburl: String, confName: String) extends InternalJdbcTestDB

Attributes

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

A macro that ensures that a code snippet does not typecheck.

A macro that ensures that a code snippet does not typecheck.

Attributes

Source
ShouldNotTypecheck.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class SimpleParentRunner[T](testClass: Class[_]) extends Runner, Filterable, Sortable

A JUnit Runner similar to JUnit's own ParentRunner but simpler, more extensible (in the way we need it), and more Scala-like.

A JUnit Runner similar to JUnit's own ParentRunner but simpler, more extensible (in the way we need it), and more Scala-like.

Attributes

Source
SimpleParentRunner.scala
Supertypes
trait Sortable
trait Filterable
class Runner
trait Describable
class Object
trait Matchable
class Any
Show all
Known subtypes
class Testkit
trait SqlTestDB extends RelationalTestDB

Attributes

Source
TestDB.scala
Supertypes
trait TestDB
class Object
trait Matchable
class Any
Known subtypes
class JdbcTestDB
class SQLServerDB
class DerbyDB
class H2TestDB
class HsqlDB
class SQLiteTestDB
Show all

Attributes

Source
StandardTestDBs.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
TestCodeGenerator.scala
Supertypes
class Object
trait Matchable
class Any
class TestCodeRunner(tests: AllTests)

Attributes

Companion
object
Source
TestCodeGenerator.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
TestCodeGenerator.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object TestDB

Attributes

Companion
trait
Source
TestDB.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TestDB.type
trait TestDB

Describes a database against which you can run TestKit tests. It includes features such as reading the configuration file, setting up a DB connection, removing DB files left over by a test run, etc.

Describes a database against which you can run TestKit tests. It includes features such as reading the configuration file, setting up a DB connection, removing DB files left over by a test run, etc.

Attributes

Companion
object
Source
TestDB.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SqlTestDB
class JdbcTestDB
class SQLServerDB
class DerbyDB
class H2TestDB
class HsqlDB
class SQLiteTestDB
Show all
case class TestMethod(name: String, desc: Description, method: Method, cl: Class[_ <: AsyncTest[_ >: Null <: TestDB]])

Attributes

Source
Testkit.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class Testkit(clazz: Class[_ <: ProfileTest], runnerBuilder: RunnerBuilder) extends SimpleParentRunner[TestMethod]

JUnit runner for the Slick driver test kit.

JUnit runner for the Slick driver test kit.

Attributes

Source
Testkit.scala
Supertypes
trait Sortable
trait Filterable
class Runner
trait Describable
class Object
trait Matchable
class Any
Show all
object TestkitConfig

Manages the configuration for TestKit tests.

Manages the configuration for TestKit tests.

The standard config file test-dbs/testkit.conf can be changed through the system property slick.testkit-config. The defaults are loaded from /testkit-reference.conf on the classpath.

Attributes

Source
TestkitConfig.scala
Supertypes
class Object
trait Matchable
class Any
Self type