sealed trait Setup extends AnyRef
- Source
- ServiceTest.scala
- Alphabetic
- By Inheritance
- Setup
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
cassandra: Boolean
Whether Cassandra is enabled.
-
abstract
def
cluster: Boolean
Whether clustering is enabled.
-
abstract
def
jdbc: Boolean
Whether JDBC is enabled.
-
abstract
def
withCassandra(enabled: Boolean): Setup
Enable or disable Cassandra.
Enable or disable Cassandra.
- enabled
True if Cassandra should be enabled, or false if disabled. Enabling Cassandra will also enable the cluster.
- returns
A copy of this setup.
-
abstract
def
withCluster(enabled: Boolean): Setup
Enable or disable clustering.
Enable or disable clustering.
Disabling this will automatically disable any persistence plugins, since persistence requires clustering.
- enabled
True if clustering should be enabled, or false if disabled.
- returns
A copy of this setup.
-
abstract
def
withJdbc(enabled: Boolean): Setup
Enable or disable JDBC.
Enable or disable JDBC.
Enabling JDBC will also enable the cluster.
- enabled
True if JDBC should be enabled, or false if disabled.
- returns
A copy of this setup.
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): (Setup, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def ensuring(cond: (Setup) ⇒ Boolean, msg: ⇒ Any): Setup
- def ensuring(cond: (Setup) ⇒ Boolean): Setup
- def ensuring(cond: Boolean, msg: ⇒ Any): Setup
- def ensuring(cond: Boolean): Setup
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withCassandra(): Setup
Enable Cassandra.
Enable Cassandra.
If enabled, this will start an embedded Cassandra server before the tests start, and shut it down afterwards. It will also configure Lagom to use the embedded Cassandra server. Enabling Cassandra will also enable the cluster.
- returns
A copy of this setup.
-
def
withCluster(): Setup
Enable clustering.
Enable clustering.
Disabling this will automatically disable any persistence plugins, since persistence requires clustering.
- returns
A copy of this setup.
-
def
withJdbc(): Setup
Enable JDBC.
Enable JDBC.
Enabling JDBC will also enable the cluster.
- returns
A copy of this setup.
- def →[B](y: B): (Setup, B)