Class JavaJournalSpec

  • All Implemented Interfaces:
    CapabilityFlags, JournalCapabilityFlags, MayVerb, OptionalTests, TestKitBase, java.io.Serializable, 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 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:
    JournalSpec, param: config configures the Journal plugin to be tested, Serialized Form
    • Constructor Detail

      • JavaJournalSpec

        public JavaJournalSpec​(com.typesafe.config.Config config)
    • Method Detail

      • expectedTestCount

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

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

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

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

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

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

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

        public java.lang.String suiteId()
      • suiteName

        public java.lang.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.
      • tags

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

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

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