Class JavaJournalSpec

All Implemented Interfaces:
Serializable, CapabilityFlags, JournalCapabilityFlags, MayVerb, OptionalTests, TestKitBase, org.scalactic.Explicitly, org.scalactic.Tolerance, org.scalactic.TripleEquals, org.scalactic.TripleEqualsSupport, org.scalatest.Alerting, org.scalatest.Assertions, org.scalatest.BeforeAndAfterAll, org.scalatest.BeforeAndAfterEach, org.scalatest.Documenting, org.scalatest.Informing, org.scalatest.matchers.dsl.MatcherWords, org.scalatest.matchers.should.Matchers, org.scalatest.Notifying, org.scalatest.Suite, org.scalatest.SuiteMixin, org.scalatest.TestRegistration, org.scalatest.TestSuite, org.scalatest.verbs.CanVerb, org.scalatest.verbs.MustVerb, org.scalatest.verbs.ShouldVerb, org.scalatest.wordspec.AnyWordSpecLike

public class JavaJournalSpec extends JournalSpec
JAVA API

Java / JUnit API for pekko.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).

See Also:
  • pekko.persistence.journal.JournalSpec
  • param: config configures the Journal plugin to be tested
  • Serialized Form
  • Constructor Details

    • JavaJournalSpec

      public JavaJournalSpec(com.typesafe.config.Config config)
  • Method Details

    • expectedTestCount

      public int expectedTestCount(org.scalatest.Filter filter)
    • nestedSuites

      public scala.collection.immutable.IndexedSeq<org.scalatest.Suite> nestedSuites()
    • rerunner

      public scala.Option<String> rerunner()
    • run

      public org.scalatest.Status run(scala.Option<String> testName, org.scalatest.Args args)
    • runNestedSuites

      public org.scalatest.Status runNestedSuites(org.scalatest.Args args)
    • runTest

      public org.scalatest.Status runTest(String testName, org.scalatest.Args args)
    • runTests

      public org.scalatest.Status runTests(scala.Option<String> testName, org.scalatest.Args args)
    • suiteId

      public String suiteId()
    • suiteName

      public String suiteName()
    • supportsRejectingNonSerializableObjects

      protected CapabilityFlag supportsRejectingNonSerializableObjects()
      Description copied from interface: JournalCapabilityFlags
      When true enables tests which check if the Journal properly rejects writes of objects which are not java.lang.Serializable.
    • supportsSerialization

      protected CapabilityFlag supportsSerialization()
      Description copied from interface: JournalCapabilityFlags
      When true enables tests which check if the Journal properly serialize and deserialize events.
      Specified by:
      supportsSerialization in interface JournalCapabilityFlags
      Overrides:
      supportsSerialization in class JournalSpec
    • tags

      public scala.collection.immutable.Map<String,scala.collection.immutable.Set<String>> tags()
    • testDataFor

      public org.scalatest.TestData testDataFor(String testName, org.scalatest.ConfigMap theConfigMap)
    • testNames

      public scala.collection.immutable.Set<String> testNames()