Class ScalaTestWithActorTestKit

  • All Implemented Interfaces:
    java.io.Serializable, org.scalactic.Explicitly, org.scalactic.Tolerance, org.scalactic.TripleEquals, org.scalactic.TripleEqualsSupport, org.scalatest.Assertions, org.scalatest.BeforeAndAfterAll, org.scalatest.concurrent.AbstractPatienceConfiguration, org.scalatest.concurrent.Eventually, org.scalatest.concurrent.Futures, org.scalatest.concurrent.PatienceConfiguration, org.scalatest.concurrent.ScalaFutures, org.scalatest.concurrent.ScaledTimeSpans, org.scalatest.Matchers, org.scalatest.Suite, org.scalatest.SuiteMixin, org.scalatest.TestSuite, org.scalatest.words.MatcherWords, org.scalatest.words.ShouldVerb, scala.Serializable

    public abstract class ScalaTestWithActorTestKit
    extends ActorTestKitBase
    implements org.scalatest.TestSuite, org.scalatest.Matchers, org.scalatest.BeforeAndAfterAll, org.scalatest.concurrent.ScalaFutures, org.scalatest.concurrent.Eventually
    Use a custom config for the actor system.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.scalatest.concurrent.AbstractPatienceConfiguration

        org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig, org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig$
      • Nested classes/interfaces inherited from interface org.scalatest.Assertions

        org.scalatest.Assertions.AssertionsHelper, org.scalatest.Assertions.NormalResult, org.scalatest.Assertions.NormalResult$
      • Nested classes/interfaces inherited from interface org.scalactic.Explicitly

        org.scalactic.Explicitly.DecidedByEquality<A extends java.lang.Object>, org.scalactic.Explicitly.DecidedWord, org.scalactic.Explicitly.DeterminedByEquivalence<T extends java.lang.Object>, org.scalactic.Explicitly.DeterminedWord, org.scalactic.Explicitly.TheAfterWord
      • Nested classes/interfaces inherited from interface org.scalatest.concurrent.Futures

        org.scalatest.concurrent.Futures.FutureConcept<T extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.scalatest.Matchers

        org.scalatest.Matchers.AllCollected$, org.scalatest.Matchers.AnWord, org.scalatest.Matchers.AnyShouldWrapper<T extends java.lang.Object>, org.scalatest.Matchers.AtLeastCollected, org.scalatest.Matchers.AtLeastCollected$, org.scalatest.Matchers.AtMostCollected, org.scalatest.Matchers.AtMostCollected$, org.scalatest.Matchers.AWord, org.scalatest.Matchers.BetweenCollected, org.scalatest.Matchers.BetweenCollected$, org.scalatest.Matchers.Collected, org.scalatest.Matchers.EveryCollected$, org.scalatest.Matchers.ExactlyCollected, org.scalatest.Matchers.ExactlyCollected$, org.scalatest.Matchers.HavePropertyMatcherGenerator, org.scalatest.Matchers.KeyWord, org.scalatest.Matchers.NoCollected$, org.scalatest.Matchers.RegexWord, org.scalatest.Matchers.RegexWrapper, org.scalatest.Matchers.ResultOfBeWordForAny<T extends java.lang.Object>, org.scalatest.Matchers.ResultOfBeWordForCollectedAny<T extends java.lang.Object>, org.scalatest.Matchers.ResultOfBeWordForCollectedArray<T extends java.lang.Object>, org.scalatest.Matchers.ResultOfCollectedAny<T extends java.lang.Object>, org.scalatest.Matchers.ResultOfContainWordForCollectedAny<T extends java.lang.Object>, org.scalatest.Matchers.ResultOfEndWithWordForCollectedString, org.scalatest.Matchers.ResultOfEndWithWordForString, org.scalatest.Matchers.ResultOfFullyMatchWordForCollectedString, org.scalatest.Matchers.ResultOfFullyMatchWordForString, org.scalatest.Matchers.ResultOfHaveWordForCollectedExtent<A extends java.lang.Object>, org.scalatest.Matchers.ResultOfHaveWordForExtent<A extends java.lang.Object>, org.scalatest.Matchers.ResultOfIncludeWordForCollectedString, org.scalatest.Matchers.ResultOfIncludeWordForString, org.scalatest.Matchers.ResultOfNotWordForCollectedAny<T extends java.lang.Object>, org.scalatest.Matchers.ResultOfStartWithWordForCollectedString, org.scalatest.Matchers.ResultOfStartWithWordForString, org.scalatest.Matchers.ShouldMethodHelper$, org.scalatest.Matchers.StringShouldWrapper, org.scalatest.Matchers.TheSameInstanceAsPhrase, org.scalatest.Matchers.ValueWord
      • Nested classes/interfaces inherited from interface org.scalatest.concurrent.PatienceConfiguration

        org.scalatest.concurrent.PatienceConfiguration.Interval, org.scalatest.concurrent.PatienceConfiguration.Interval$, org.scalatest.concurrent.PatienceConfiguration.PatienceConfigParam, org.scalatest.concurrent.PatienceConfiguration.Timeout, org.scalatest.concurrent.PatienceConfiguration.Timeout$
      • Nested classes/interfaces inherited from interface org.scalatest.words.ShouldVerb

        org.scalatest.words.ShouldVerb.StringShouldWrapperForVerb
      • Nested classes/interfaces inherited from interface org.scalatest.TestSuite

        org.scalatest.TestSuite.NoArgTest, org.scalatest.TestSuite.NoArgTest$
      • Nested classes/interfaces inherited from interface org.scalactic.Tolerance

        org.scalactic.Tolerance.PlusOrMinusWrapper<T extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.scalactic.TripleEqualsSupport

        org.scalactic.TripleEqualsSupport.AToBEquivalenceConstraint<A extends java.lang.Object,​B extends java.lang.Object>, org.scalactic.TripleEqualsSupport.BToAEquivalenceConstraint<A extends java.lang.Object,​B extends java.lang.Object>, org.scalactic.TripleEqualsSupport.CheckingEqualizer<L extends java.lang.Object>, org.scalactic.TripleEqualsSupport.EqualityConstraint<A extends java.lang.Object,​B extends java.lang.Object>, org.scalactic.TripleEqualsSupport.Equalizer<L extends java.lang.Object>, org.scalactic.TripleEqualsSupport.Spread<T extends java.lang.Object>, org.scalactic.TripleEqualsSupport.Spread$, org.scalactic.TripleEqualsSupport.TripleEqualsInvocation<T extends java.lang.Object>, org.scalactic.TripleEqualsSupport.TripleEqualsInvocation$, org.scalactic.TripleEqualsSupport.TripleEqualsInvocationOnSpread<T extends java.lang.Object>, org.scalactic.TripleEqualsSupport.TripleEqualsInvocationOnSpread$
    • Constructor Detail

      • ScalaTestWithActorTestKit

        public ScalaTestWithActorTestKit​(ActorTestKit testKit)
      • ScalaTestWithActorTestKit

        public ScalaTestWithActorTestKit()
      • ScalaTestWithActorTestKit

        public ScalaTestWithActorTestKit​(java.lang.String config)
        Use a custom config for the actor system.
        Parameters:
        config - (undocumented)
      • ScalaTestWithActorTestKit

        public ScalaTestWithActorTestKit​(com.typesafe.config.Config config)
        Use a custom config for the actor system.
        Parameters:
        config - (undocumented)
      • ScalaTestWithActorTestKit

        public ScalaTestWithActorTestKit​(com.typesafe.config.Config config,
                                         TestKitSettings settings)
        Use a custom config for the actor system, and a custom TestKitSettings.
        Parameters:
        config - (undocumented)
        settings - (undocumented)
    • Method Detail

      • NoArgTest

        public org.scalatest.TestSuite.NoArgTest$ NoArgTest()
        Specified by:
        NoArgTest in interface org.scalatest.TestSuite
      • PatienceConfig

        public org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig$ PatienceConfig()
        Specified by:
        PatienceConfig in interface org.scalatest.concurrent.AbstractPatienceConfiguration
      • a

        public org.scalatest.Matchers.AWord a()
        Specified by:
        a in interface org.scalatest.Matchers
      • after

        public org.scalactic.Explicitly.TheAfterWord after()
        Specified by:
        after in interface org.scalactic.Explicitly
      • afterAll

        protected void afterAll()
        Shuts down the ActorTestKit. If override be sure to call super.afterAll or shut down the testkit explicitly with testKit.shutdownTestKit().
        Specified by:
        afterAll in interface org.scalatest.BeforeAndAfterAll
        Specified by:
        afterAll in class ActorTestKitBase
      • an

        public org.scalatest.Matchers.AnWord an()
        Specified by:
        an in interface org.scalatest.Matchers
      • assertionsHelper

        public org.scalatest.Assertions.AssertionsHelper assertionsHelper()
        Specified by:
        assertionsHelper in interface org.scalatest.Assertions
      • be

        public org.scalatest.words.BeWord be()
        Specified by:
        be in interface org.scalatest.words.MatcherWords
      • compile

        public org.scalatest.words.CompileWord compile()
        Specified by:
        compile in interface org.scalatest.words.MatcherWords
      • contain

        public org.scalatest.words.ContainWord contain()
        Specified by:
        contain in interface org.scalatest.words.MatcherWords
      • decided

        public org.scalactic.Explicitly.DecidedWord decided()
        Specified by:
        decided in interface org.scalactic.Explicitly
      • defined

        public org.scalatest.words.DefinedWord defined()
        Specified by:
        defined in interface org.scalatest.words.MatcherWords
      • determined

        public org.scalactic.Explicitly.DeterminedWord determined()
        Specified by:
        determined in interface org.scalactic.Explicitly
      • empty

        public org.scalatest.words.EmptyWord empty()
        Specified by:
        empty in interface org.scalatest.words.MatcherWords
      • endWith

        public org.scalatest.words.EndWithWord endWith()
        Specified by:
        endWith in interface org.scalatest.words.MatcherWords
      • exist

        public org.scalatest.words.ExistWord exist()
        Specified by:
        exist in interface org.scalatest.words.MatcherWords
      • fullyMatch

        public org.scalatest.words.FullyMatchWord fullyMatch()
        Specified by:
        fullyMatch in interface org.scalatest.words.MatcherWords
      • have

        public org.scalatest.words.HaveWord have()
        Specified by:
        have in interface org.scalatest.words.MatcherWords
      • include

        public org.scalatest.words.IncludeWord include()
        Specified by:
        include in interface org.scalatest.words.MatcherWords
      • invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected

        public boolean invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected()
        Specified by:
        invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected in interface org.scalatest.BeforeAndAfterAll
      • jsAdjustment

        public int jsAdjustment()
        Specified by:
        jsAdjustment in interface org.scalatest.concurrent.Futures
      • key

        public org.scalatest.Matchers.KeyWord key()
        Specified by:
        key in interface org.scalatest.Matchers
      • length

        public org.scalatest.words.LengthWord length()
        Specified by:
        length in interface org.scalatest.words.MatcherWords
      • matchPattern

        public org.scalatest.words.MatchPatternWord matchPattern()
        Specified by:
        matchPattern in interface org.scalatest.words.MatcherWords
      • not

        public org.scalatest.words.NotWord not()
        Specified by:
        not in interface org.scalatest.words.MatcherWords
      • org$scalactic$Explicitly$_setter_$after_$eq

        protected void org$scalactic$Explicitly$_setter_$after_$eq​(org.scalactic.Explicitly.TheAfterWord x$1)
        Specified by:
        org$scalactic$Explicitly$_setter_$after_$eq in interface org.scalactic.Explicitly
      • org$scalactic$Explicitly$_setter_$decided_$eq

        protected void org$scalactic$Explicitly$_setter_$decided_$eq​(org.scalactic.Explicitly.DecidedWord x$1)
        Specified by:
        org$scalactic$Explicitly$_setter_$decided_$eq in interface org.scalactic.Explicitly
      • org$scalactic$Explicitly$_setter_$determined_$eq

        protected void org$scalactic$Explicitly$_setter_$determined_$eq​(org.scalactic.Explicitly.DeterminedWord x$1)
        Specified by:
        org$scalactic$Explicitly$_setter_$determined_$eq in interface org.scalactic.Explicitly
      • org$scalatest$Assertions$_setter_$assertionsHelper_$eq

        protected void org$scalatest$Assertions$_setter_$assertionsHelper_$eq​(org.scalatest.Assertions.AssertionsHelper x$1)
        Specified by:
        org$scalatest$Assertions$_setter_$assertionsHelper_$eq in interface org.scalatest.Assertions
      • org$scalatest$Assertions$_setter_$succeed_$eq

        protected final void org$scalatest$Assertions$_setter_$succeed_$eq​(org.scalatest.compatible.Assertion x$1)
        Specified by:
        org$scalatest$Assertions$_setter_$succeed_$eq in interface org.scalatest.Assertions
      • org$scalatest$BeforeAndAfterAll$_setter_$invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected_$eq

        protected void org$scalatest$BeforeAndAfterAll$_setter_$invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected_$eq​(boolean x$1)
        Specified by:
        org$scalatest$BeforeAndAfterAll$_setter_$invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected_$eq in interface org.scalatest.BeforeAndAfterAll
      • org$scalatest$Matchers$_setter_$a_$eq

        protected void org$scalatest$Matchers$_setter_$a_$eq​(org.scalatest.Matchers.AWord x$1)
        Specified by:
        org$scalatest$Matchers$_setter_$a_$eq in interface org.scalatest.Matchers
      • org$scalatest$Matchers$_setter_$an_$eq

        protected void org$scalatest$Matchers$_setter_$an_$eq​(org.scalatest.Matchers.AnWord x$1)
        Specified by:
        org$scalatest$Matchers$_setter_$an_$eq in interface org.scalatest.Matchers
      • org$scalatest$Matchers$_setter_$key_$eq

        protected void org$scalatest$Matchers$_setter_$key_$eq​(org.scalatest.Matchers.KeyWord x$1)
        Specified by:
        org$scalatest$Matchers$_setter_$key_$eq in interface org.scalatest.Matchers
      • org$scalatest$Matchers$_setter_$regex_$eq

        protected void org$scalatest$Matchers$_setter_$regex_$eq​(org.scalatest.Matchers.RegexWord x$1)
        Specified by:
        org$scalatest$Matchers$_setter_$regex_$eq in interface org.scalatest.Matchers
      • org$scalatest$Matchers$_setter_$theSameInstanceAs_$eq

        protected void org$scalatest$Matchers$_setter_$theSameInstanceAs_$eq​(org.scalatest.Matchers.TheSameInstanceAsPhrase x$1)
        Specified by:
        org$scalatest$Matchers$_setter_$theSameInstanceAs_$eq in interface org.scalatest.Matchers
      • org$scalatest$Matchers$_setter_$value_$eq

        protected void org$scalatest$Matchers$_setter_$value_$eq​(org.scalatest.Matchers.ValueWord x$1)
        Specified by:
        org$scalatest$Matchers$_setter_$value_$eq in interface org.scalatest.Matchers
      • org$scalatest$Suite$_setter_$styleName_$eq

        protected void org$scalatest$Suite$_setter_$styleName_$eq​(java.lang.String x$1)
        Specified by:
        org$scalatest$Suite$_setter_$styleName_$eq in interface org.scalatest.Suite
      • org$scalatest$concurrent$Futures$_setter_$jsAdjustment_$eq

        protected void org$scalatest$concurrent$Futures$_setter_$jsAdjustment_$eq​(int x$1)
        Specified by:
        org$scalatest$concurrent$Futures$_setter_$jsAdjustment_$eq in interface org.scalatest.concurrent.Futures
      • org$scalatest$words$MatcherWords$_setter_$be_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$be_$eq​(org.scalatest.words.BeWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$be_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$compile_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$compile_$eq​(org.scalatest.words.CompileWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$compile_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$contain_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$contain_$eq​(org.scalatest.words.ContainWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$contain_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$defined_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$defined_$eq​(org.scalatest.words.DefinedWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$defined_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$empty_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$empty_$eq​(org.scalatest.words.EmptyWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$empty_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$endWith_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$endWith_$eq​(org.scalatest.words.EndWithWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$endWith_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$exist_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$exist_$eq​(org.scalatest.words.ExistWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$exist_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$fullyMatch_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$fullyMatch_$eq​(org.scalatest.words.FullyMatchWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$fullyMatch_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$have_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$have_$eq​(org.scalatest.words.HaveWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$have_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$include_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$include_$eq​(org.scalatest.words.IncludeWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$include_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$length_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$length_$eq​(org.scalatest.words.LengthWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$length_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$matchPattern_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$matchPattern_$eq​(org.scalatest.words.MatchPatternWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$matchPattern_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$not_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$not_$eq​(org.scalatest.words.NotWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$not_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$readable_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$readable_$eq​(org.scalatest.words.ReadableWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$readable_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$size_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$size_$eq​(org.scalatest.words.SizeWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$size_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$sorted_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$sorted_$eq​(org.scalatest.words.SortedWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$sorted_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$startWith_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$startWith_$eq​(org.scalatest.words.StartWithWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$startWith_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$typeCheck_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$typeCheck_$eq​(org.scalatest.words.TypeCheckWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$typeCheck_$eq in interface org.scalatest.words.MatcherWords
      • org$scalatest$words$MatcherWords$_setter_$writable_$eq

        protected void org$scalatest$words$MatcherWords$_setter_$writable_$eq​(org.scalatest.words.WritableWord x$1)
        Specified by:
        org$scalatest$words$MatcherWords$_setter_$writable_$eq in interface org.scalatest.words.MatcherWords
      • patience

        public org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig patience()
        Returns:
        (undocumented)
      • readable

        public org.scalatest.words.ReadableWord readable()
        Specified by:
        readable in interface org.scalatest.words.MatcherWords
      • regex

        public org.scalatest.Matchers.RegexWord regex()
        Specified by:
        regex in interface org.scalatest.Matchers
      • size

        public org.scalatest.words.SizeWord size()
        Specified by:
        size in interface org.scalatest.words.MatcherWords
      • sorted

        public org.scalatest.words.SortedWord sorted()
        Specified by:
        sorted in interface org.scalatest.words.MatcherWords
      • startWith

        public org.scalatest.words.StartWithWord startWith()
        Specified by:
        startWith in interface org.scalatest.words.MatcherWords
      • styleName

        public java.lang.String styleName()
        Specified by:
        styleName in interface org.scalatest.Suite
        Specified by:
        styleName in interface org.scalatest.SuiteMixin
      • succeed

        public final org.scalatest.compatible.Assertion succeed()
        Specified by:
        succeed in interface org.scalatest.Assertions
      • theSameInstanceAs

        public org.scalatest.Matchers.TheSameInstanceAsPhrase theSameInstanceAs()
        Specified by:
        theSameInstanceAs in interface org.scalatest.Matchers
      • typeCheck

        public org.scalatest.words.TypeCheckWord typeCheck()
        Specified by:
        typeCheck in interface org.scalatest.words.MatcherWords
      • value

        public org.scalatest.Matchers.ValueWord value()
        Specified by:
        value in interface org.scalatest.Matchers
      • writable

        public org.scalatest.words.WritableWord writable()
        Specified by:
        writable in interface org.scalatest.words.MatcherWords