Class JavaSnapshotStoreSpec

All Implemented Interfaces:
Serializable, CapabilityFlags, MayVerb, OptionalTests, SnapshotStoreCapabilityFlags, 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 JavaSnapshotStoreSpec extends SnapshotStoreSpec
JAVA API

This spec aims to verify custom pekko-persistence pekko.persistence.snapshot.SnapshotStore implementations. Plugin authors are highly encouraged to include it in their plugin's test suites.

In case your snapshot-store 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:
  • Constructor Details

    • JavaSnapshotStoreSpec

      public JavaSnapshotStoreSpec(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()
    • supportsSerialization

      protected CapabilityFlag supportsSerialization()
      Description copied from interface: SnapshotStoreCapabilityFlags
      When true enables tests which check if the snapshot store properly serialize and deserialize snapshots.
      Specified by:
      supportsSerialization in interface SnapshotStoreCapabilityFlags
      Overrides:
      supportsSerialization in class SnapshotStoreSpec
    • 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()