class JavaJournalSpec extends JournalSpec
JAVA API
Java / JUnit API for akka.persistence.journal.JournalSpec.
In case your journal plugin needs some kind of setup or teardown, override the beforeAll
or afterAll
methods (don't forget to call super
in your overridden methods).
- Source
- JavaJournalSpec.scala
- See also
- Alphabetic
- By Inheritance
- JavaJournalSpec
- JournalSpec
- JournalCapabilityFlags
- CapabilityFlags
- OptionalTests
- MayVerb
- PluginSpec
- BeforeAndAfterEach
- BeforeAndAfterAll
- SuiteMixin
- Matchers
- Explicitly
- MatcherWords
- Tolerance
- AnyWordSpecLike
- Documenting
- Alerting
- Notifying
- Informing
- CanVerb
- MustVerb
- ShouldVerb
- TestRegistration
- TestSuite
- Suite
- Serializable
- Assertions
- TripleEquals
- TripleEqualsSupport
- TestKitBase
- AnyRef
- Any
- by convertToEqualizer
- by convertToEqualizer
- by convertToAnyShouldWrapper
- by convertToEqualizer
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new JavaJournalSpec(config: Config)
- config
configures the Journal plugin to be tested
Type Members
- final class AWord extends AnyRef
- Definition Classes
- Matchers
- final class AfterWord extends AnyRef
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- final class AnWord extends AnyRef
- Definition Classes
- Matchers
- sealed class AnyShouldWrapper[T] extends AnyRef
- Definition Classes
- Matchers
- class CheckingEqualizer[L] extends AnyRef
- Definition Classes
- TripleEqualsSupport
- sealed class Collected extends Serializable
- Attributes
- protected
- Definition Classes
- Matchers
- class DecidedByEquality[A] extends Equality[A]
- Definition Classes
- Explicitly
- class DecidedWord extends AnyRef
- Definition Classes
- Explicitly
- class DeterminedByEquivalence[T] extends Equivalence[T]
- Definition Classes
- Explicitly
- class DeterminedWord extends AnyRef
- Definition Classes
- Explicitly
- class Equalizer[L] extends AnyRef
- Definition Classes
- TripleEqualsSupport
- final class HavePropertyMatcherGenerator extends AnyRef
- Definition Classes
- Matchers
- final class ItWord extends AnyRef
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- final class KeyWord extends AnyRef
- Definition Classes
- Matchers
- trait NoArgTest extends () => Outcome with TestData
- Attributes
- protected
- Definition Classes
- TestSuite
- final class PlusOrMinusWrapper[T] extends AnyRef
- Definition Classes
- Tolerance
- final class RegexWord extends AnyRef
- Definition Classes
- Matchers
- final class RegexWrapper extends AnyRef
- Definition Classes
- Matchers
- class ResultOfBeWordForAny[T] extends AnyRef
- Definition Classes
- Matchers
- sealed class ResultOfBeWordForCollectedAny[T] extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfBeWordForCollectedArray[T] extends ResultOfBeWordForCollectedAny[Array[T]]
- Definition Classes
- Matchers
- final class ResultOfCollectedAny[T] extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfContainWordForCollectedAny[T] extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfEndWithWordForCollectedString extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfEndWithWordForString extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfFullyMatchWordForCollectedString extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfFullyMatchWordForString extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfHaveWordForCollectedExtent[A] extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfHaveWordForExtent[A] extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfIncludeWordForCollectedString extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfIncludeWordForString extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfNotWordForCollectedAny[T] extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfStartWithWordForCollectedString extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfStartWithWordForString extends AnyRef
- Definition Classes
- Matchers
- final class ResultOfTaggedAsInvocationOnString extends AnyRef
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- trait StringCanWrapperForVerb extends AnyRef
- Definition Classes
- CanVerb
- trait StringMustWrapperForVerb extends AnyRef
- Definition Classes
- MustVerb
- final class StringShouldWrapper extends AnyShouldWrapper[String] with org.scalatest.matchers.should.Matchers.StringShouldWrapperForVerb
- Definition Classes
- Matchers
- trait StringShouldWrapperForVerb extends AnyRef
- Definition Classes
- ShouldVerb
- class TheAfterWord extends AnyRef
- Definition Classes
- Explicitly
- final class TheSameInstanceAsPhrase extends AnyRef
- Definition Classes
- Matchers
- final class TheyWord extends AnyRef
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- final class ValueWord extends AnyRef
- Definition Classes
- Matchers
- final class WordSpecStringWrapper extends AnyRef
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- trait StringMayWrapperForVerb extends AnyRef
- Definition Classes
- MayVerb
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
- Definition Classes
- TripleEqualsSupport
- def !==(right: Null): TripleEqualsInvocation[Null]
- Definition Classes
- TripleEqualsSupport
- def !==[T](right: T): TripleEqualsInvocation[T]
- Definition Classes
- TripleEqualsSupport
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toany2stringadd[JavaJournalSpec] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (JavaJournalSpec, B)
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toArrowAssoc[JavaJournalSpec] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- def <[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanComparison[T]
- Definition Classes
- Matchers
- def <=[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanOrEqualToComparison[T]
- Definition Classes
- Matchers
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
- Definition Classes
- TripleEqualsSupport
- def ===(right: Null): TripleEqualsInvocation[Null]
- Definition Classes
- TripleEqualsSupport
- def ===[T](right: T): TripleEqualsInvocation[T]
- Definition Classes
- TripleEqualsSupport
- def >[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanComparison[T]
- Definition Classes
- Matchers
- def >=[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanOrEqualToComparison[T]
- Definition Classes
- Matchers
- def a[T](implicit arg0: ClassTag[T]): ResultOfATypeInvocation[T]
- Definition Classes
- Matchers
- val a: AWord
- Definition Classes
- Matchers
- val actorInstanceId: Int
- Attributes
- protected
- Definition Classes
- PluginSpec
- val after: TheAfterWord
- Definition Classes
- Explicitly
- def afterAll(): Unit
- Attributes
- protected
- Definition Classes
- PluginSpec → BeforeAndAfterAll
- def afterEach(): Unit
- Attributes
- protected
- Definition Classes
- BeforeAndAfterEach
- def afterWord(text: String): AfterWord
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- def alert: Alerter
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike → Alerting
- def all(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- Matchers
- def all[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- Matchers
- def all[K, V, MAP[k, v] <: GenMap[k, v]](xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
- Definition Classes
- Matchers
- def all[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- Matchers
- def allElementsOf[R](elements: GenTraversable[R]): ResultOfAllElementsOfApplication
- Definition Classes
- Matchers
- def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAllOfApplication
- Definition Classes
- Matchers
- def an[T](implicit arg0: ClassTag[T]): ResultOfAnTypeInvocation[T]
- Definition Classes
- Matchers
- val an: AnWord
- Definition Classes
- Matchers
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assertCompiles(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
- def assertForDuration[A](a: => A, max: FiniteDuration, interval: Duration = 100.millis): A
Evaluate the given assert every
interval
until exception is thrown ormax
timeout is expired.Evaluate the given assert every
interval
until exception is thrown ormax
timeout is expired.Returns the result of last evaluation of the assertion.
If no timeout is given, take it from the innermost enclosing
within
block.Note that the timeout is scaled using Duration.dilated, which uses the configuration entry "akka.test.timefactor".
- Definition Classes
- TestKitBase
- def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- def assertThrows[T <: AnyRef](f: => Any)(implicit classTag: ClassTag[T], pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assertTypeError(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- def atLeast(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- Matchers
- def atLeast[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- Matchers
- def atLeast[K, V, MAP[k, v] <: GenMap[k, v]](num: Int, xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
- Definition Classes
- Matchers
- def atLeast[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- Matchers
- def atLeastOneElementOf(elements: GenTraversable[Any]): ResultOfAtLeastOneElementOfApplication
- Definition Classes
- Matchers
- def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtLeastOneOfApplication
- Definition Classes
- Matchers
- def atMost(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- Matchers
- def atMost[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- Matchers
- def atMost[K, V, MAP[k, v] <: GenMap[k, v]](num: Int, xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
- Definition Classes
- Matchers
- def atMost[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- Matchers
- def atMostOneElementOf[R](elements: GenTraversable[R]): ResultOfAtMostOneElementOfApplication
- Definition Classes
- Matchers
- def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtMostOneOfApplication
- Definition Classes
- Matchers
- def awaitAssert[A](a: => A, max: Duration = Duration.Undefined, interval: Duration = 100.millis): A
Evaluate the given assert every
interval
until it does not throw an exception and return the result.Evaluate the given assert every
interval
until it does not throw an exception and return the result.If the
max
timeout expires the last exception is thrown.If no timeout is given, take it from the innermost enclosing
within
block.Note that the timeout is scaled using Duration.dilated, which uses the configuration entry "akka.test.timefactor".
- Definition Classes
- TestKitBase
- def awaitCond(p: => Boolean, max: Duration = Duration.Undefined, interval: Duration = 100.millis, message: String = ""): Unit
Await until the given condition evaluates to
true
or the timeout expires, whichever comes first.Await until the given condition evaluates to
true
or the timeout expires, whichever comes first.If no timeout is given, take it from the innermost enclosing
within
block.Note that the timeout is scaled using Duration.dilated, which uses the configuration entry "akka.test.timefactor".
- Definition Classes
- TestKitBase
- val be: BeWord
- Definition Classes
- MatcherWords
- def beforeAll(): Unit
- Attributes
- protected
- Definition Classes
- PluginSpec → BeforeAndAfterAll
- def beforeEach(): Unit
- Attributes
- protected
- Definition Classes
- JournalSpec → PluginSpec → BeforeAndAfterEach
- val behave: BehaveWord
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- def between(from: Int, upTo: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- Matchers
- def between[K, V, JMAP[k, v] <: Map[k, v]](from: Int, upTo: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- Matchers
- def between[E, C[_]](from: Int, upTo: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- Matchers
- def cancel(cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def cancel(message: String)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def cancel()(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def childActorOf(props: Props): ActorRef
Spawns an actor as a child of this test actor with an auto-generated name and stopping supervisor strategy, returning the child's ActorRef.
Spawns an actor as a child of this test actor with an auto-generated name and stopping supervisor strategy, returning the child's ActorRef.
- props
Props to create the child actor
- Definition Classes
- TestKitBase
- def childActorOf(props: Props, name: String): ActorRef
Spawns an actor as a child of this test actor with a stopping supervisor strategy, and returns the child's ActorRef.
Spawns an actor as a child of this test actor with a stopping supervisor strategy, and returns the child's ActorRef.
- props
Props to create the child actor
- name
Actor name for the child actor
- Definition Classes
- TestKitBase
- def childActorOf(props: Props, supervisorStrategy: SupervisorStrategy): ActorRef
Spawns an actor as a child of this test actor with an auto-generated name, and returns the child's ActorRef.
Spawns an actor as a child of this test actor with an auto-generated name, and returns the child's ActorRef.
- props
Props to create the child actor
- supervisorStrategy
Strategy should decide what to do with failures in the actor.
- Definition Classes
- TestKitBase
- def childActorOf(props: Props, name: String, supervisorStrategy: SupervisorStrategy): ActorRef
Spawns an actor as a child of this test actor, and returns the child's ActorRef.
Spawns an actor as a child of this test actor, and returns the child's ActorRef.
- props
Props to create the child actor
- name
Actor name for the child actor
- supervisorStrategy
Strategy should decide what to do with failures in the actor.
- Definition Classes
- TestKitBase
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val compile: CompileWord
- Definition Classes
- MatcherWords
- val config: Config
- Definition Classes
- PluginSpec
- val contain: ContainWord
- Definition Classes
- MatcherWords
- def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]
- Definition Classes
- Tolerance
- implicit def convertSymbolToHavePropertyMatcherGenerator(symbol: Symbol)(implicit prettifier: Prettifier, pos: Position): HavePropertyMatcherGenerator
- Definition Classes
- Matchers
- implicit def convertToAnyShouldWrapper[T](o: T)(implicit pos: Position, prettifier: Prettifier): AnyShouldWrapper[T]
- Definition Classes
- Matchers
- def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- implicit def convertToEqualizer[T](left: T): Equalizer[T]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- implicit def convertToRegexWrapper(o: Regex): RegexWrapper
- Definition Classes
- Matchers
- implicit def convertToStringCanWrapper(o: String)(implicit position: Position): StringCanWrapperForVerb
- Definition Classes
- CanVerb
- implicit def convertToStringMayWrapper(o: String): StringMayWrapperForVerb
Implicitly converts an object of type
String
to aStringMayWrapper
, to enablemay
methods to be invokable on that object.Implicitly converts an object of type
String
to aStringMayWrapper
, to enablemay
methods to be invokable on that object.- Definition Classes
- MayVerb
- implicit def convertToStringMustWrapperForVerb(o: String)(implicit position: Position): StringMustWrapperForVerb
- Definition Classes
- MustVerb
- implicit def convertToStringShouldWrapper(o: String)(implicit pos: Position, prettifier: Prettifier): StringShouldWrapper
- Definition Classes
- Matchers
- implicit def convertToStringShouldWrapperForVerb(o: String)(implicit position: Position): StringShouldWrapperForVerb
- Definition Classes
- ShouldVerb
- implicit def convertToWordSpecStringWrapper(s: String): WordSpecStringWrapper
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- val decided: DecidedWord
- Definition Classes
- Explicitly
- def defaultEquality[A]: Equality[A]
- Definition Classes
- TripleEqualsSupport
- val defined: DefinedWord
- Definition Classes
- MatcherWords
- def definedAt[T](right: T): ResultOfDefinedAt[T]
- Definition Classes
- Matchers
- val determined: DeterminedWord
- Definition Classes
- Explicitly
- val empty: EmptyWord
- Definition Classes
- MatcherWords
- val endWith: EndWithWord
- Definition Classes
- MatcherWords
- def ensuring(cond: (JavaJournalSpec) => Boolean, msg: => Any): JavaJournalSpec
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toEnsuring[JavaJournalSpec] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (JavaJournalSpec) => Boolean): JavaJournalSpec
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toEnsuring[JavaJournalSpec] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): JavaJournalSpec
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toEnsuring[JavaJournalSpec] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): JavaJournalSpec
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toEnsuring[JavaJournalSpec] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equal(o: Null): Matcher[AnyRef]
- Definition Classes
- Matchers
- def equal[T](spread: Spread[T]): Matcher[T]
- Definition Classes
- Matchers
- def equal(right: Any): MatcherFactory1[Any, Equality]
- Definition Classes
- MatcherWords
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def every(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- Matchers
- def every[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- Matchers
- def every[K, V, MAP[k, v] <: Map[k, v]](xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
- Definition Classes
- Matchers
- def every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- Matchers
- def exactly(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- Matchers
- def exactly[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- Matchers
- def exactly[K, V, MAP[k, v] <: GenMap[k, v]](num: Int, xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
- Definition Classes
- Matchers
- def exactly[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- Matchers
- final def execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit
- Definition Classes
- Suite
- val exist: ExistWord
- Definition Classes
- MatcherWords
- def expectMsg[T](max: FiniteDuration, hint: String, obj: T): T
Receive one message from the test actor and assert that it equals the given object.
Receive one message from the test actor and assert that it equals the given object. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
- returns
the received object
- Definition Classes
- TestKitBase
- def expectMsg[T](max: FiniteDuration, obj: T): T
Receive one message from the test actor and assert that it equals the given object.
Receive one message from the test actor and assert that it equals the given object. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
- returns
the received object
- Definition Classes
- TestKitBase
- def expectMsg[T](obj: T): T
Same as
expectMsg(remainingOrDefault, obj)
, but correctly treating the timeFactor.Same as
expectMsg(remainingOrDefault, obj)
, but correctly treating the timeFactor.- Definition Classes
- TestKitBase
- def expectMsgAllClassOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]
Receive a number of messages from the test actor matching the given number of classes and assert that for each given class one is received which is of that class (equality, not conformance).
Receive a number of messages from the test actor matching the given number of classes and assert that for each given class one is received which is of that class (equality, not conformance). This construct is useful when the order in which the objects are received is not fixed. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
- Definition Classes
- TestKitBase
- def expectMsgAllClassOf[T](obj: Class[_ <: T]*): Seq[T]
Same as
expectMsgAllClassOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.Same as
expectMsgAllClassOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.- Definition Classes
- TestKitBase
- def expectMsgAllConformingOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]
Receive a number of messages from the test actor matching the given number of classes and assert that for each given class one is received which conforms to that class (and vice versa).
Receive a number of messages from the test actor matching the given number of classes and assert that for each given class one is received which conforms to that class (and vice versa). This construct is useful when the order in which the objects are received is not fixed. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
Beware that one object may satisfy all given class constraints, which may be counter-intuitive.
- Definition Classes
- TestKitBase
- def expectMsgAllConformingOf[T](obj: Class[_ <: T]*): Seq[T]
Same as
expectMsgAllConformingOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.Same as
expectMsgAllConformingOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.- Definition Classes
- TestKitBase
- def expectMsgAllOf[T](max: FiniteDuration, obj: T*): Seq[T]
Receive a number of messages from the test actor matching the given number of objects and assert that for each given object one is received which equals it and vice versa.
Receive a number of messages from the test actor matching the given number of objects and assert that for each given object one is received which equals it and vice versa. This construct is useful when the order in which the objects are received is not fixed. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
dispatcher ! SomeWork1() dispatcher ! SomeWork2() expectMsgAllOf(1 second, Result1(), Result2())
- Definition Classes
- TestKitBase
- def expectMsgAllOf[T](obj: T*): Seq[T]
Same as
expectMsgAllOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.Same as
expectMsgAllOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.- Definition Classes
- TestKitBase
- def expectMsgAnyClassOf[C](max: FiniteDuration, obj: Class[_ <: C]*): C
Receive one message from the test actor and assert that it conforms to one of the given classes.
Receive one message from the test actor and assert that it conforms to one of the given classes. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
- returns
the received object
- Definition Classes
- TestKitBase
- def expectMsgAnyClassOf[C](obj: Class[_ <: C]*): C
Same as
expectMsgAnyClassOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.Same as
expectMsgAnyClassOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.- Definition Classes
- TestKitBase
- def expectMsgAnyOf[T](max: FiniteDuration, obj: T*): T
Receive one message from the test actor and assert that it equals one of the given objects.
Receive one message from the test actor and assert that it equals one of the given objects. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
- returns
the received object
- Definition Classes
- TestKitBase
- def expectMsgAnyOf[T](obj: T*): T
Same as
expectMsgAnyOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.Same as
expectMsgAnyOf(remainingOrDefault, obj...)
, but correctly treating the timeFactor.- Definition Classes
- TestKitBase
- def expectMsgClass[C](max: FiniteDuration, c: Class[C]): C
Receive one message from the test actor and assert that it conforms to the given class.
Receive one message from the test actor and assert that it conforms to the given class. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
- returns
the received object
- Definition Classes
- TestKitBase
- def expectMsgClass[C](c: Class[C]): C
Same as
expectMsgClass(remainingOrDefault, c)
, but correctly treating the timeFactor.Same as
expectMsgClass(remainingOrDefault, c)
, but correctly treating the timeFactor.- Definition Classes
- TestKitBase
- def expectMsgPF[T](max: Duration = Duration.Undefined, hint: String = "")(f: PartialFunction[Any, T]): T
Receive one message from the test actor and assert that the given partial function accepts it.
Receive one message from the test actor and assert that the given partial function accepts it. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
Use this variant to implement more complicated or conditional processing.
- returns
the received object as transformed by the partial function
- Definition Classes
- TestKitBase
- def expectMsgType[T](max: FiniteDuration)(implicit t: ClassTag[T]): T
Receive one message from the test actor and assert that it conforms to the given type (after erasure).
Receive one message from the test actor and assert that it conforms to the given type (after erasure). Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.
- returns
the received object
- Definition Classes
- TestKitBase
- def expectMsgType[T](implicit t: ClassTag[T]): T
Same as
expectMsgType[T](remainingOrDefault)
, but correctly treating the timeFactor.Same as
expectMsgType[T](remainingOrDefault)
, but correctly treating the timeFactor.- Definition Classes
- TestKitBase
- def expectNoMessage(): Unit
Assert that no message is received.
Assert that no message is received. Waits for the default period configured as
akka.test.expect-no-message-default
. That timeout is scaled using the configuration entry "akka.test.timefactor".- Definition Classes
- TestKitBase
- def expectNoMessage(max: FiniteDuration): Unit
Assert that no message is received for the specified time.
Assert that no message is received for the specified time. Supplied value is not dilated.
- Definition Classes
- TestKitBase
- def expectTerminated(target: ActorRef, max: Duration = Duration.Undefined): Terminated
Receive one message from the test actor and assert that it is the Terminated message of the given ActorRef.
Receive one message from the test actor and assert that it is the Terminated message of the given ActorRef. Before calling this method, you have to
watch
the target actor ref. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.- target
the actor ref expected to be Terminated
- max
wait no more than max time, otherwise throw AssertionFailure
- returns
the received Terminated message
- Definition Classes
- TestKitBase
- def expectedTestCount(filter: Filter): Int
- Definition Classes
- JavaJournalSpec → SuiteMixin → Suite
- def extension: Persistence
- Definition Classes
- PluginSpec
- def fail(cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def fail(message: String)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def fail()(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def fishForMessage(max: Duration = Duration.Undefined, hint: String = "")(f: PartialFunction[Any, Boolean]): Any
Hybrid of expectMsgPF and receiveWhile: receive messages while the partial function matches and returns false.
Hybrid of expectMsgPF and receiveWhile: receive messages while the partial function matches and returns false. Use it to ignore certain messages while waiting for a specific message.
- returns
the last received message, i.e. the first one for which the partial function returned true
- Definition Classes
- TestKitBase
- def fishForSpecificMessage[T](max: Duration = Duration.Undefined, hint: String = "")(f: PartialFunction[Any, T]): T
Waits for specific message that partial function matches while ignoring all other messages coming in the meantime.
Waits for specific message that partial function matches while ignoring all other messages coming in the meantime. Use it to ignore any number of messages while waiting for a specific one.
- returns
result of applying partial function to the last received message, i.e. the first one for which the partial function is defined
- Definition Classes
- TestKitBase
- val fullyMatch: FullyMatchWord
- Definition Classes
- MatcherWords
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val have: HaveWord
- Definition Classes
- MatcherWords
- def ignoreMsg(f: PartialFunction[Any, Boolean]): Unit
Ignore all messages in the test actor for which the given partial function returns true.
Ignore all messages in the test actor for which the given partial function returns true.
- Definition Classes
- TestKitBase
- def ignoreNoMsg(): Unit
Stop ignoring messages in the test actor.
Stop ignoring messages in the test actor.
- Definition Classes
- TestKitBase
- def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderApplication
- Definition Classes
- Matchers
- def inOrderElementsOf[R](elements: GenTraversable[R]): ResultOfInOrderElementsOfApplication
- Definition Classes
- Matchers
- def inOrderOnly[T](firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderOnlyApplication
- Definition Classes
- Matchers
- val include: IncludeWord
- Definition Classes
- MatcherWords
- def info: Informer
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike → Informing
- def intercept[T <: AnyRef](f: => Any)(implicit classTag: ClassTag[T], pos: Position): T
- Definition Classes
- Assertions
- val invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected: Boolean
- Definition Classes
- BeforeAndAfterAll
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val it: ItWord
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- def journal: ActorRef
- Definition Classes
- JournalSpec
- val key: KeyWord
- Definition Classes
- Matchers
- def lastSender: ActorRef
- Definition Classes
- TestKitBase
- val leftSideValue: JavaJournalSpec
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- val length: LengthWord
- Definition Classes
- MatcherWords
- def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- def markup: Documenter
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike → Documenting
- val matchPattern: MatchPatternWord
- Definition Classes
- MatcherWords
- def mayVerbStacktraceContextFrames: Int
Configurable number of frames to be shown when a MAY test fails (is canceled).
Configurable number of frames to be shown when a MAY test fails (is canceled).
Defaults to
3
. Must be greater than0
.- Definition Classes
- MayVerb
- def message(expectedMessage: String): ResultOfMessageWordApplication
- Definition Classes
- Matchers
- def msgAvailable: Boolean
Query queue status.
Query queue status.
- Definition Classes
- TestKitBase
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nestedSuites: IndexedSeq[Suite]
- Definition Classes
- JavaJournalSpec → SuiteMixin → Suite
- def no(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- Matchers
- def no[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- Matchers
- def no[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- Matchers
- def noElementsOf(elements: GenTraversable[Any]): ResultOfNoElementsOfApplication
- Definition Classes
- Matchers
- def noException(implicit pos: Position): NoExceptionWord
- Definition Classes
- MatcherWords
- def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfNoneOfApplication
- Definition Classes
- Matchers
- val not: NotWord
- Definition Classes
- MatcherWords
- def note: Notifier
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike → Notifying
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def now: FiniteDuration
Obtain current time (
System.nanoTime
) as Duration.Obtain current time (
System.nanoTime
) as Duration.- Definition Classes
- TestKitBase
- def of[T](implicit ev: ClassTag[T]): ResultOfOfTypeInvocation[T]
- Definition Classes
- Matchers
- def oneElementOf(elements: GenTraversable[Any]): ResultOfOneElementOfApplication
- Definition Classes
- Matchers
- def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfOneOfApplication
- Definition Classes
- Matchers
- def only(xs: Any*)(implicit pos: Position): ResultOfOnlyApplication
- Definition Classes
- Matchers
- def optional(flag: CapabilityFlag)(test: => Unit): Unit
- Definition Classes
- OptionalTests
- def optional(whenSkippedMessage: String)(body: => Unit): Unit
- Definition Classes
- MayVerb
- def pending: Assertion with PendingStatement
- Definition Classes
- Assertions
- def pendingUntilFixed(f: => Unit)(implicit pos: Position): Assertion with PendingStatement
- Definition Classes
- Assertions
- def pid: String
- Definition Classes
- PluginSpec
- val pos: Position
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def preparePersistenceId(pid: String): Unit
Overridable hook that is called before populating the journal for the next test case.
Overridable hook that is called before populating the journal for the next test case.
pid
is thepersistenceId
that will be used in the test. This method may be needed to clean pre-existing events from the log.- Definition Classes
- JournalSpec
- val prettifier: Prettifier
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- val readable: ReadableWord
- Definition Classes
- MatcherWords
- def receiveN(n: Int, max: FiniteDuration): Seq[AnyRef]
Receive N messages in a row before the given deadline.
Receive N messages in a row before the given deadline.
- Definition Classes
- TestKitBase
- def receiveN(n: Int): Seq[AnyRef]
Same as
receiveN(n, remaining)
but correctly taking into account Duration.timeFactor.Same as
receiveN(n, remaining)
but correctly taking into account Duration.timeFactor.- Definition Classes
- TestKitBase
- def receiveOne(max: Duration): AnyRef
Receive one message from the internal queue of the TestActor.
Receive one message from the internal queue of the TestActor. If the given duration is zero, the queue is polled (non-blocking).
This method does NOT automatically scale its Duration parameter!
- Definition Classes
- TestKitBase
- def receiveWhile[T](max: Duration = Duration.Undefined, idle: Duration = Duration.Inf, messages: Int = Int.MaxValue)(f: PartialFunction[AnyRef, T]): Seq[T]
Receive a series of messages until one does not match the given partial function or the idle timeout is met (disabled by default) or the overall maximum duration is elapsed or expected messages count is reached.
Receive a series of messages until one does not match the given partial function or the idle timeout is met (disabled by default) or the overall maximum duration is elapsed or expected messages count is reached. Returns the sequence of messages.
Note that it is not an error to hit the
max
duration in this case.One possible use of this method is for testing whether messages of certain characteristics are generated at a certain rate:
test ! ScheduleTicks(100 millis) val series = receiveWhile(750 millis) { case Tick(count) => count } assert(series == (1 to 7).toList)
- Definition Classes
- TestKitBase
- val regex: RegexWord
- Definition Classes
- Matchers
- final def registerIgnoredTest(testText: String, testTags: Tag*)(testFun: => Any)(implicit pos: Position): Unit
- Definition Classes
- AnyWordSpecLike → TestRegistration
- final def registerTest(testText: String, testTags: Tag*)(testFun: => Any)(implicit pos: Position): Unit
- Definition Classes
- AnyWordSpecLike → TestRegistration
- def remaining: FiniteDuration
Obtain time remaining for execution of the innermost enclosing
within
block or throw an AssertionError if nowithin
block surrounds this call.Obtain time remaining for execution of the innermost enclosing
within
block or throw an AssertionError if nowithin
block surrounds this call.- Definition Classes
- TestKitBase
- def remainingOr(duration: FiniteDuration): FiniteDuration
Obtain time remaining for execution of the innermost enclosing
within
block or missing that it returns the given duration.Obtain time remaining for execution of the innermost enclosing
within
block or missing that it returns the given duration.- Definition Classes
- TestKitBase
- def remainingOrDefault: FiniteDuration
Obtain time remaining for execution of the innermost enclosing
within
block or missing that it returns the properly dilated default for this case from settings (key "akka.test.single-expect-default").Obtain time remaining for execution of the innermost enclosing
within
block or missing that it returns the properly dilated default for this case from settings (key "akka.test.single-expect-default").- Definition Classes
- TestKitBase
- def replayedMessage(snr: Long, deleted: Boolean = false): ReplayedMessage
- Definition Classes
- JournalSpec
- def rerunner: Option[String]
- Definition Classes
- JavaJournalSpec → SuiteMixin → Suite
- def run(testName: Option[String], args: Args): Status
- Definition Classes
- JavaJournalSpec → BeforeAndAfterAll → SuiteMixin → AnyWordSpecLike → Suite
- def runNestedSuites(args: Args): Status
- Definition Classes
- JavaJournalSpec → SuiteMixin → Suite
- def runTest(testName: String, args: Args): Status
- Definition Classes
- JavaJournalSpec → BeforeAndAfterEach → SuiteMixin → AnyWordSpecLike → TestSuite → Suite
- def runTests(testName: Option[String], args: Args): Status
- Definition Classes
- JavaJournalSpec → SuiteMixin → AnyWordSpecLike → Suite
- def setAutoPilot(pilot: AutoPilot): Unit
Install an AutoPilot to drive the testActor: the AutoPilot will be run for each received message and can be used to send or forward messages, etc.
Install an AutoPilot to drive the testActor: the AutoPilot will be run for each received message and can be used to send or forward messages, etc. Each invocation must return the AutoPilot for the next round.
- Definition Classes
- TestKitBase
- def should(endWithWord: EndWithWord)(implicit ev: <:<[JavaJournalSpec, String]): org.scalatest.matchers.should.Matchers.ResultOfEndWithWordForString
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(startWithWord: StartWithWord)(implicit ev: <:<[JavaJournalSpec, String]): org.scalatest.matchers.should.Matchers.ResultOfStartWithWordForString
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(includeWord: IncludeWord)(implicit ev: <:<[JavaJournalSpec, String]): org.scalatest.matchers.should.Matchers.ResultOfIncludeWordForString
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(notExist: ResultOfNotExist)(implicit existence: Existence[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(existWord: ExistWord)(implicit existence: Existence[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(containWord: ContainWord): ResultOfContainWord[JavaJournalSpec]
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(haveWord: HaveWord): org.scalatest.matchers.should.Matchers.ResultOfHaveWordForExtent[JavaJournalSpec]
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(beWord: BeWord): org.scalatest.matchers.should.Matchers.ResultOfBeWordForAny[JavaJournalSpec]
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(inv: TripleEqualsInvocationOnSpread[JavaJournalSpec])(implicit ev: Numeric[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should[U](inv: TripleEqualsInvocation[U])(implicit constraint: CanEqual[JavaJournalSpec, U]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(notWord: NotWord): ResultOfNotWordForAny[JavaJournalSpec]
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should[TYPECLASS1[_], TYPECLASS2[_]](rightMatcherFactory2: MatcherFactory2[JavaJournalSpec, TYPECLASS1, TYPECLASS2])(implicit typeClass1: TYPECLASS1[JavaJournalSpec], typeClass2: TYPECLASS2[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[JavaJournalSpec, TYPECLASS1])(implicit typeClass1: TYPECLASS1[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def should(rightMatcherX1: Matcher[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe[U >: T](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U])(implicit ev: <:<[JavaJournalSpec, AnyRef]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe[U >: T](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U])(implicit ev: <:<[JavaJournalSpec, AnyRef]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(bePropertyMatcher: BePropertyMatcher[JavaJournalSpec])(implicit ev: <:<[JavaJournalSpec, AnyRef]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(resultOfAnWordApplication: ResultOfAnWordToSymbolApplication)(implicit toAnyRef: <:<[JavaJournalSpec, AnyRef]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(resultOfAWordApplication: ResultOfAWordToSymbolApplication)(implicit toAnyRef: <:<[JavaJournalSpec, AnyRef]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(symbol: Symbol)(implicit toAnyRef: <:<[JavaJournalSpec, AnyRef]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication)(implicit toAnyRef: <:<[JavaJournalSpec, AnyRef]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(right: Null)(implicit ev: <:<[JavaJournalSpec, AnyRef]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(right: DefinedWord)(implicit definition: Definition[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(right: EmptyWord)(implicit emptiness: Emptiness[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(right: WritableWord)(implicit writability: Writability[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(right: ReadableWord)(implicit readability: Readability[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- macro def shouldBe(anType: ResultOfAnTypeInvocation[_]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- macro def shouldBe(aType: ResultOfATypeInvocation[_]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(right: SortedWord)(implicit sortable: Sortable[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(spread: Spread[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(beMatcher: BeMatcher[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(comparison: ResultOfGreaterThanOrEqualToComparison[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(comparison: ResultOfLessThanOrEqualToComparison[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(comparison: ResultOfGreaterThanComparison[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(comparison: ResultOfLessThanComparison[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldBe(right: Any): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldEqual(right: Null)(implicit ev: <:<[JavaJournalSpec, AnyRef]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldEqual(spread: Spread[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldEqual(right: Any)(implicit equality: Equality[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldNot(includeWord: IncludeWord)(implicit ev: <:<[JavaJournalSpec, String]): org.scalatest.matchers.should.Matchers.ResultOfIncludeWordForString
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldNot(endWithWord: EndWithWord)(implicit ev: <:<[JavaJournalSpec, String]): org.scalatest.matchers.should.Matchers.ResultOfEndWithWordForString
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldNot(startWithWord: StartWithWord)(implicit ev: <:<[JavaJournalSpec, String]): org.scalatest.matchers.should.Matchers.ResultOfStartWithWordForString
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldNot(existWord: ExistWord)(implicit existence: Existence[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldNot(contain: ContainWord): ResultOfContainWord[JavaJournalSpec]
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldNot(haveWord: HaveWord): org.scalatest.matchers.should.Matchers.ResultOfHaveWordForExtent[JavaJournalSpec]
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldNot[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[JavaJournalSpec, TYPECLASS1])(implicit typeClass1: TYPECLASS1[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldNot(rightMatcherX1: Matcher[JavaJournalSpec]): Assertion
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shouldNot(beWord: BeWord): org.scalatest.matchers.should.Matchers.ResultOfBeWordForAny[JavaJournalSpec]
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.AnyShouldWrapper[JavaJournalSpec] performed by method convertToAnyShouldWrapper in org.scalatest.matchers.should.Matchers.
- Definition Classes
- AnyShouldWrapper
- def shutdown(actorSystem: ActorSystem = system, duration: Duration = Duration.Undefined, verifySystemShutdown: Boolean = false): Unit
Shut down an actor system and wait for termination.
Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.
If verifySystemShutdown is true, then an exception will be thrown on failure.
- Definition Classes
- TestKitBase
- val size: SizeWord
- Definition Classes
- MatcherWords
- val sorted: SortedWord
- Definition Classes
- MatcherWords
- val startWith: StartWithWord
- Definition Classes
- MatcherWords
- implicit val subjectRegistrationFunction: StringVerbBlockRegistration
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- implicit val subjectWithAfterWordRegistrationFunction: SubjectWithAfterWordRegistration
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- def subscribe[T](subscriber: ActorRef)(implicit arg0: ClassTag[T]): Boolean
- Definition Classes
- PluginSpec
- final val succeed: Assertion
- Definition Classes
- Assertions
- def suiteId: String
- Definition Classes
- JavaJournalSpec → SuiteMixin → Suite
- def suiteName: String
- Definition Classes
- JavaJournalSpec → SuiteMixin → Suite
- def supportsAtomicPersistAllOfSeveralEvents: Boolean
Implementation may override and return false if it does not support atomic writes of several events, as emitted by
persistAll
.Implementation may override and return false if it does not support atomic writes of several events, as emitted by
persistAll
.- Definition Classes
- JournalSpec
- def supportsMetadata: CapabilityFlag
When
true
enables tests which check if the Journal stores and returns metadata for an eventWhen
true
enables tests which check if the Journal stores and returns metadata for an event- Attributes
- protected
- Definition Classes
- JournalSpec → JournalCapabilityFlags
- def supportsRejectingNonSerializableObjects: CapabilityFlag
When
true
enables tests which check if the Journal properly rejects writes of objects which are notjava.lang.Serializable
.When
true
enables tests which check if the Journal properly rejects writes of objects which are notjava.lang.Serializable
.- Attributes
- protected
- Definition Classes
- JavaJournalSpec → JournalCapabilityFlags
- def supportsSerialization: CapabilityFlag
When
true
enables tests which check if the Journal properly serialize and deserialize events.When
true
enables tests which check if the Journal properly serialize and deserialize events.- Attributes
- protected
- Definition Classes
- JavaJournalSpec → JournalSpec → JournalCapabilityFlags
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit lazy val system: ActorSystem
- Definition Classes
- JournalSpec → TestKitBase
- def tags: Map[String, Set[String]]
- Definition Classes
- JavaJournalSpec → SuiteMixin → AnyWordSpecLike → Suite
- lazy val testActor: ActorRef
ActorRef of the test actor.
ActorRef of the test actor. Access is provided to enable e.g. registration as message target.
- Definition Classes
- TestKitBase
- def testActorName: String
Defines the testActor name.
Defines the testActor name.
- Attributes
- protected
- Definition Classes
- TestKitBase
- def testDataFor(testName: String, theConfigMap: ConfigMap): TestData
- Definition Classes
- JavaJournalSpec → SuiteMixin → AnyWordSpecLike → Suite
- def testKitSettings: TestKitSettings
- Definition Classes
- TestKitBase
- def testNames: Set[String]
- Definition Classes
- JavaJournalSpec → SuiteMixin → AnyWordSpecLike → Suite
- def the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]
- Definition Classes
- Matchers
- def theSameElementsAs(xs: GenTraversable[_]): ResultOfTheSameElementsAsApplication
- Definition Classes
- Matchers
- def theSameElementsInOrderAs(xs: GenTraversable[_]): ResultOfTheSameElementsInOrderAsApplication
- Definition Classes
- Matchers
- val theSameInstanceAs: TheSameInstanceAsPhrase
- Definition Classes
- Matchers
- val they: TheyWord
- Attributes
- protected
- Definition Classes
- AnyWordSpecLike
- def thrownBy(fun: => Any): ResultOfThrownByApplication
- Definition Classes
- Matchers
- def toString(): String
- Definition Classes
- AnyRef → Any
- val typeCheck: TypeCheckWord
- Definition Classes
- MatcherWords
- def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- def unwatch(ref: ActorRef): ActorRef
Have the testActor stop watching someone (i.e.
Have the testActor stop watching someone (i.e.
context.unwatch(...)
).- Definition Classes
- TestKitBase
- val value: ValueWord
- Definition Classes
- Matchers
- 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])
- def watch(ref: ActorRef): ActorRef
Have the testActor watch someone (i.e.
Have the testActor watch someone (i.e.
context.watch(...)
).- Definition Classes
- TestKitBase
- def withClue[T](clue: Any)(fun: => T): T
- Definition Classes
- Assertions
- def withFixture(test: NoArgTest): Outcome
- Attributes
- protected
- Definition Classes
- TestSuite
- def within[T](max: FiniteDuration)(f: => T): T
Same as calling
within(0 seconds, max)(f)
.Same as calling
within(0 seconds, max)(f)
.- Definition Classes
- TestKitBase
- def within[T](min: FiniteDuration, max: FiniteDuration)(f: => T): T
Execute code block while bounding its execution time between
min
andmax
.Execute code block while bounding its execution time between
min
andmax
.within
blocks may be nested. All methods in this trait which take maximum wait times are available in a version which implicitly uses the remaining time governed by the innermost enclosingwithin
block.Note that the timeout is scaled using Duration.dilated, which uses the configuration entry "akka.test.timefactor", while the min Duration is not.
val ret = within(50 millis) { test ! "ping" expectMsgClass(classOf[String]) }
- Definition Classes
- TestKitBase
- val writable: WritableWord
- Definition Classes
- MatcherWords
- def writeMessages(fromSnr: Int, toSnr: Int, pid: String, sender: ActorRef, writerUuid: String): Unit
- Definition Classes
- JournalSpec
- def writerUuid: String
- Definition Classes
- PluginSpec
Shadowed Implicit Value Members
- def !==(literalNull: Null): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.Assertions.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.Assertions.Equalizer[JavaJournalSpec]).!==(literalNull)
- Definition Classes
- Equalizer
- def !==(spread: Spread[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.Assertions.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.Assertions.Equalizer[JavaJournalSpec]).!==(spread)
- Definition Classes
- Equalizer
- def !==(rightSide: Any)(implicit equality: Equality[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.Assertions.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.Assertions.Equalizer[JavaJournalSpec]).!==(rightSide)(equality)
- Definition Classes
- Equalizer
- def !==(literalNull: Null): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalactic.TripleEquals.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalactic.TripleEquals.Equalizer[JavaJournalSpec]).!==(literalNull)
- Definition Classes
- Equalizer
- def !==(spread: Spread[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalactic.TripleEquals.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalactic.TripleEquals.Equalizer[JavaJournalSpec]).!==(spread)
- Definition Classes
- Equalizer
- def !==(rightSide: Any)(implicit equality: Equality[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalactic.TripleEquals.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalactic.TripleEquals.Equalizer[JavaJournalSpec]).!==(rightSide)(equality)
- Definition Classes
- Equalizer
- def !==(literalNull: Null): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec]).!==(literalNull)
- Definition Classes
- Equalizer
- def !==(spread: Spread[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec]).!==(spread)
- Definition Classes
- Equalizer
- def !==(rightSide: Any)(implicit equality: Equality[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec]).!==(rightSide)(equality)
- Definition Classes
- Equalizer
- def ===(literalNull: Null): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.Assertions.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.Assertions.Equalizer[JavaJournalSpec]).===(literalNull)
- Definition Classes
- Equalizer
- def ===(spread: Spread[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.Assertions.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.Assertions.Equalizer[JavaJournalSpec]).===(spread)
- Definition Classes
- Equalizer
- def ===(rightSide: Any)(implicit equality: Equality[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.Assertions.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.Assertions.Equalizer[JavaJournalSpec]).===(rightSide)(equality)
- Definition Classes
- Equalizer
- def ===(literalNull: Null): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalactic.TripleEquals.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalactic.TripleEquals.Equalizer[JavaJournalSpec]).===(literalNull)
- Definition Classes
- Equalizer
- def ===(spread: Spread[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalactic.TripleEquals.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalactic.TripleEquals.Equalizer[JavaJournalSpec]).===(spread)
- Definition Classes
- Equalizer
- def ===(rightSide: Any)(implicit equality: Equality[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalactic.TripleEquals.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalactic.TripleEquals.Equalizer[JavaJournalSpec]).===(rightSide)(equality)
- Definition Classes
- Equalizer
- def ===(literalNull: Null): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec]).===(literalNull)
- Definition Classes
- Equalizer
- def ===(spread: Spread[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec]).===(spread)
- Definition Classes
- Equalizer
- def ===(rightSide: Any)(implicit equality: Equality[JavaJournalSpec]): Boolean
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec]).===(rightSide)(equality)
- Definition Classes
- Equalizer
- val leftSide: JavaJournalSpec
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.Assertions.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.Assertions.Equalizer[JavaJournalSpec]).leftSide
- Definition Classes
- Equalizer
- val leftSide: JavaJournalSpec
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalactic.TripleEquals.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(javaJournalSpec: org.scalactic.TripleEquals.Equalizer[JavaJournalSpec]).leftSide
- Definition Classes
- Equalizer
- val leftSide: JavaJournalSpec
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toorg.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec] performed by method convertToEqualizer in org.scalactic.TripleEquals.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(javaJournalSpec: org.scalatest.matchers.should.Matchers.Equalizer[JavaJournalSpec]).leftSide
- Definition Classes
- Equalizer
Deprecated Value Members
- def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) => A): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) The conversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
- def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) => B): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) The convertEquivalenceToAToBConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
- def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) => A): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) The convertEquivalenceToBToAConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
- 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 JavaJournalSpec toStringFormat[JavaJournalSpec] 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 lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) => B): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) The lowPriorityConversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
- final val styleName: String
- Definition Classes
- AnyWordSpecLike → Suite
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.
- def →[B](y: B): (JavaJournalSpec, B)
- Implicit
- This member is added by an implicit conversion from JavaJournalSpec toArrowAssoc[JavaJournalSpec] 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.