Interface ScalaTestWithActorTestKitBase

All Superinterfaces:
org.scalatest.concurrent.AbstractPatienceConfiguration, org.scalatest.Assertions, org.scalatest.BeforeAndAfterAll, org.scalatest.concurrent.Eventually, org.scalactic.Explicitly, org.scalatest.concurrent.Futures, org.scalatest.matchers.should.Matchers, org.scalatest.matchers.dsl.MatcherWords, org.scalatest.concurrent.PatienceConfiguration, org.scalatest.concurrent.ScalaFutures, org.scalatest.concurrent.ScaledTimeSpans, Serializable, org.scalatest.verbs.ShouldVerb, org.scalatest.Suite, org.scalatest.SuiteMixin, org.scalatest.TestSuite, org.scalactic.Tolerance, org.scalactic.TripleEquals, org.scalactic.TripleEqualsSupport
All Known Implementing Classes:
ScalaTestWithActorTestKit

public interface ScalaTestWithActorTestKitBase extends org.scalatest.TestSuite, org.scalatest.matchers.should.Matchers, org.scalatest.BeforeAndAfterAll, org.scalatest.concurrent.ScalaFutures, org.scalatest.concurrent.Eventually
A ScalaTest base trait for the ActorTestKit which ScalaTestWithActorTestKit extends. If you find yourself in the situation where you need to extend the same test suite in different ways then you can implement your tests within a trait that extends ScalaTestWithActorTestKitBase.
  • 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

    Nested classes/interfaces inherited from interface org.scalactic.Explicitly

    org.scalactic.Explicitly.DecidedByEquality<A extends Object>, org.scalactic.Explicitly.DecidedWord, org.scalactic.Explicitly.DeterminedByEquivalence<T extends 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 Object>

    Nested classes/interfaces inherited from interface org.scalatest.matchers.should.Matchers

    org.scalatest.matchers.should.Matchers.AnWord, org.scalatest.matchers.should.Matchers.AnyShouldWrapper<T extends Object>, org.scalatest.matchers.should.Matchers.AWord, org.scalatest.matchers.should.Matchers.Collected, org.scalatest.matchers.should.Matchers.HavePropertyMatcherGenerator, org.scalatest.matchers.should.Matchers.KeyWord, org.scalatest.matchers.should.Matchers.RegexWord, org.scalatest.matchers.should.Matchers.RegexWrapper, org.scalatest.matchers.should.Matchers.ResultOfBeWordForAny<T extends Object>, org.scalatest.matchers.should.Matchers.ResultOfBeWordForCollectedAny<T extends Object>, org.scalatest.matchers.should.Matchers.ResultOfBeWordForCollectedArray<T extends Object>, org.scalatest.matchers.should.Matchers.ResultOfCollectedAny<T extends Object>, org.scalatest.matchers.should.Matchers.ResultOfContainWordForCollectedAny<T extends Object>, org.scalatest.matchers.should.Matchers.ResultOfEndWithWordForCollectedString, org.scalatest.matchers.should.Matchers.ResultOfEndWithWordForString, org.scalatest.matchers.should.Matchers.ResultOfFullyMatchWordForCollectedString, org.scalatest.matchers.should.Matchers.ResultOfFullyMatchWordForString, org.scalatest.matchers.should.Matchers.ResultOfHaveWordForCollectedExtent<A extends Object>, org.scalatest.matchers.should.Matchers.ResultOfHaveWordForExtent<A extends Object>, org.scalatest.matchers.should.Matchers.ResultOfIncludeWordForCollectedString, org.scalatest.matchers.should.Matchers.ResultOfIncludeWordForString, org.scalatest.matchers.should.Matchers.ResultOfNotWordForCollectedAny<T extends Object>, org.scalatest.matchers.should.Matchers.ResultOfStartWithWordForCollectedString, org.scalatest.matchers.should.Matchers.ResultOfStartWithWordForString, org.scalatest.matchers.should.Matchers.StringShouldWrapper, org.scalatest.matchers.should.Matchers.TheSameInstanceAsPhrase, org.scalatest.matchers.should.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.verbs.ShouldVerb

    org.scalatest.verbs.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 Object>

    Nested classes/interfaces inherited from interface org.scalactic.TripleEqualsSupport

    org.scalactic.TripleEqualsSupport.AToBEquivalenceConstraint<A extends Object,B extends Object>, org.scalactic.TripleEqualsSupport.BToAEquivalenceConstraint<A extends Object,B extends Object>, org.scalactic.TripleEqualsSupport.CheckingEqualizer<L extends Object>, org.scalactic.TripleEqualsSupport.EqualityConstraint<A extends Object,B extends Object>, org.scalactic.TripleEqualsSupport.Equalizer<L extends Object>, org.scalactic.TripleEqualsSupport.Spread<T extends Object>, org.scalactic.TripleEqualsSupport.Spread$, org.scalactic.TripleEqualsSupport.TripleEqualsInvocation<T extends Object>, org.scalactic.TripleEqualsSupport.TripleEqualsInvocation$, org.scalactic.TripleEqualsSupport.TripleEqualsInvocationOnSpread<T extends Object>, org.scalactic.TripleEqualsSupport.TripleEqualsInvocationOnSpread$
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Shuts down the ActorTestKit.
    void
    org$apache$pekko$actor$testkit$typed$scaladsl$ScalaTestWithActorTestKitBase$_setter_$patience_$eq(org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig x$1)
    PatienceConfig from pekko.actor.testkit.typed.TestKitSettings#DefaultTimeout.
    org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig
    PatienceConfig from pekko.actor.testkit.typed.TestKitSettings#DefaultTimeout.
    void
    Shuts down the ActorTestKit.
     

    Methods inherited from interface org.scalatest.concurrent.AbstractPatienceConfiguration

    PatienceConfig

    Methods inherited from interface org.scalatest.Assertions

    assertResult, assertResult, assertThrows, cancel, cancel, cancel, cancel, fail, fail, fail, fail, intercept, newAssertionFailedException, newTestCanceledException, org$scalatest$Assertions$_setter_$succeed_$eq, pending, pendingUntilFixed, succeed, withClue

    Methods inherited from interface org.scalatest.BeforeAndAfterAll

    beforeAll, invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected, org$scalatest$BeforeAndAfterAll$_setter_$invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected_$eq, run

    Methods inherited from interface org.scalatest.concurrent.Eventually

    eventually, eventually, eventually, eventually

    Methods inherited from interface org.scalactic.Explicitly

    after, decided, determined, org$scalactic$Explicitly$_setter_$after_$eq, org$scalactic$Explicitly$_setter_$decided_$eq, org$scalactic$Explicitly$_setter_$determined_$eq

    Methods inherited from interface org.scalatest.concurrent.Futures

    jsAdjustment, org$scalatest$concurrent$Futures$_setter_$jsAdjustment_$eq, whenReady, whenReady, whenReady, whenReady

    Methods inherited from interface org.scalatest.matchers.should.Matchers

    $greater, $greater$eq, $less, $less$eq, a, a, all, all, all, all, allElementsOf, allOf, an, an, atLeast, atLeast, atLeast, atLeast, atLeastOneElementOf, atLeastOneOf, atMost, atMost, atMost, atMost, atMostOneElementOf, atMostOneOf, between, between, between, convertSymbolToHavePropertyMatcherGenerator, convertToAnyShouldWrapper, convertToRegexWrapper, convertToStringShouldWrapper, definedAt, doCollected, equal, equal, every, every, every, every, exactly, exactly, exactly, exactly, inOrder, inOrderElementsOf, inOrderOnly, key, message, no, no, no, noElementsOf, noneOf, of, oneElementOf, oneOf, only, org$scalatest$matchers$should$Matchers$_setter_$a_$eq, org$scalatest$matchers$should$Matchers$_setter_$an_$eq, org$scalatest$matchers$should$Matchers$_setter_$key_$eq, org$scalatest$matchers$should$Matchers$_setter_$org$scalatest$matchers$should$Matchers$$AllCollected_$eq, org$scalatest$matchers$should$Matchers$_setter_$org$scalatest$matchers$should$Matchers$$EveryCollected_$eq, org$scalatest$matchers$should$Matchers$_setter_$org$scalatest$matchers$should$Matchers$$NoCollected_$eq, org$scalatest$matchers$should$Matchers$_setter_$org$scalatest$matchers$should$Matchers$$ShouldMethodHelper_$eq, org$scalatest$matchers$should$Matchers$_setter_$regex_$eq, org$scalatest$matchers$should$Matchers$_setter_$theSameInstanceAs_$eq, org$scalatest$matchers$should$Matchers$_setter_$value_$eq, org$scalatest$matchers$should$Matchers$$AllCollected, org$scalatest$matchers$should$Matchers$$AtLeastCollected, org$scalatest$matchers$should$Matchers$$AtMostCollected, org$scalatest$matchers$should$Matchers$$BetweenCollected, org$scalatest$matchers$should$Matchers$$EveryCollected, org$scalatest$matchers$should$Matchers$$ExactlyCollected, org$scalatest$matchers$should$Matchers$$NoCollected, org$scalatest$matchers$should$Matchers$$ShouldMethodHelper, regex, the, theSameElementsAs, theSameElementsInOrderAs, theSameInstanceAs, thrownBy, value

    Methods inherited from interface org.scalatest.matchers.dsl.MatcherWords

    be, compile, contain, defined, empty, endWith, equal, exist, fullyMatch, have, include, length, matchPattern, noException, not, org$scalatest$matchers$dsl$MatcherWords$_setter_$be_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$compile_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$contain_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$defined_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$empty_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$endWith_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$exist_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$fullyMatch_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$have_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$include_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$length_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$matchPattern_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$not_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$readable_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$size_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$sorted_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$startWith_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$typeCheck_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$writable_$eq, readable, size, sorted, startWith, typeCheck, writable

    Methods inherited from interface org.scalatest.concurrent.PatienceConfiguration

    interval, org$scalatest$concurrent$PatienceConfiguration$_setter_$org$scalatest$concurrent$PatienceConfiguration$$defaultPatienceConfig_$eq, org$scalatest$concurrent$PatienceConfiguration$$defaultPatienceConfig, patienceConfig, timeout

    Methods inherited from interface org.scalatest.concurrent.ScalaFutures

    convertScalaFuture

    Methods inherited from interface org.scalatest.concurrent.ScaledTimeSpans

    scaled, spanScaleFactor

    Methods inherited from interface org.scalatest.verbs.ShouldVerb

    convertToStringShouldWrapperForVerb

    Methods inherited from interface org.scalatest.Suite

    createCatchReporter, execute, execute$default$1, execute$default$2, execute$default$3, execute$default$4, execute$default$5, execute$default$6, execute$default$7, expectedTestCount, nestedSuites, org$scalatest$Suite$_setter_$styleName_$eq, rerunner, run, runNestedSuites, runTests, styleName, suiteId, suiteName, tags, testDataFor, testDataFor$default$2, testNames

    Methods inherited from interface org.scalatest.SuiteMixin

    expectedTestCount, nestedSuites, rerunner, runNestedSuites, runTest, runTests, styleName, suiteId, suiteName, tags, testDataFor, testNames

    Methods inherited from interface org.scalatest.TestSuite

    NoArgTest, runTest, withFixture

    Methods inherited from interface org.scalactic.Tolerance

    convertNumericToPlusOrMinusWrapper

    Methods inherited from interface org.scalactic.TripleEquals

    conversionCheckedConstraint, convertEquivalenceToAToBConstraint, convertEquivalenceToAToBConversionConstraint, convertEquivalenceToBToAConstraint, convertEquivalenceToBToAConversionConstraint, convertToCheckingEqualizer, convertToEqualizer, lowPriorityConversionCheckedConstraint, lowPriorityTypeCheckedConstraint, typeCheckedConstraint, unconstrainedEquality

    Methods inherited from interface org.scalactic.TripleEqualsSupport

    $bang$eq$eq, $bang$eq$eq, $bang$eq$eq, $eq$eq$eq, $eq$eq$eq, $eq$eq$eq, defaultEquality
  • Method Details

    • afterAll

      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
    • org$apache$pekko$actor$testkit$typed$scaladsl$ScalaTestWithActorTestKitBase$_setter_$patience_$eq

      void org$apache$pekko$actor$testkit$typed$scaladsl$ScalaTestWithActorTestKitBase$_setter_$patience_$eq(org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig x$1)
      PatienceConfig from pekko.actor.testkit.typed.TestKitSettings#DefaultTimeout. DefaultTimeout is dilated with pekko.actor.testkit.typed.TestKitSettings#TestTimeFactor, which means that the patience is also dilated.
    • patience

      org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig patience()
      PatienceConfig from pekko.actor.testkit.typed.TestKitSettings#DefaultTimeout. DefaultTimeout is dilated with pekko.actor.testkit.typed.TestKitSettings#TestTimeFactor, which means that the patience is also dilated.
    • super$afterAll

      void super$afterAll()
      Shuts down the ActorTestKit. If override be sure to call super.afterAll or shut down the testkit explicitly with testKit.shutdownTestKit().
    • testKit

      ActorTestKit testKit()