public class JavaJournalSpec extends JournalSpec
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).
MayVerb.StringMayWrapperForVerb, MayVerb.TestCanceledByFailure, MayVerb.TestCanceledByFailure$
org.scalatest.WordSpecLike.AfterWord, org.scalatest.WordSpecLike.ItWord, org.scalatest.WordSpecLike.ResultOfTaggedAsInvocationOnString, org.scalatest.WordSpecLike.TheyWord, org.scalatest.WordSpecLike.WordSpecStringWrapper
org.scalatest.TestSuite.NoArgTest, org.scalatest.TestSuite.NoArgTest$
org.scalatest.Assertions.AssertionsHelper, org.scalatest.Assertions.NormalResult, org.scalatest.Assertions.NormalResult$
org.scalactic.TripleEqualsSupport.AToBEquivalenceConstraint<A,B>, org.scalactic.TripleEqualsSupport.BToAEquivalenceConstraint<A,B>, org.scalactic.TripleEqualsSupport.CheckingEqualizer<L>, org.scalactic.TripleEqualsSupport.EqualityConstraint<A,B>, org.scalactic.TripleEqualsSupport.Equalizer<L>, org.scalactic.TripleEqualsSupport.Spread<T>, org.scalactic.TripleEqualsSupport.Spread$, org.scalactic.TripleEqualsSupport.TripleEqualsInvocation<T>, org.scalactic.TripleEqualsSupport.TripleEqualsInvocation$, org.scalactic.TripleEqualsSupport.TripleEqualsInvocationOnSpread<T>, org.scalactic.TripleEqualsSupport.TripleEqualsInvocationOnSpread$
org.scalatest.words.MustVerb.StringMustWrapperForVerb
org.scalatest.words.CanVerb.StringCanWrapperForVerb
org.scalatest.Matchers.AllCollected$, org.scalatest.Matchers.AnWord, org.scalatest.Matchers.AnyShouldWrapper<T>, 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>, org.scalatest.Matchers.ResultOfBeWordForCollectedAny<T>, org.scalatest.Matchers.ResultOfBeWordForCollectedArray<T>, org.scalatest.Matchers.ResultOfCollectedAny<T>, org.scalatest.Matchers.ResultOfContainWordForCollectedAny<T>, org.scalatest.Matchers.ResultOfEndWithWordForCollectedString, org.scalatest.Matchers.ResultOfEndWithWordForString, org.scalatest.Matchers.ResultOfFullyMatchWordForCollectedString, org.scalatest.Matchers.ResultOfFullyMatchWordForString, org.scalatest.Matchers.ResultOfHaveWordForCollectedExtent<A>, org.scalatest.Matchers.ResultOfHaveWordForExtent<A>, org.scalatest.Matchers.ResultOfIncludeWordForCollectedString, org.scalatest.Matchers.ResultOfIncludeWordForString, org.scalatest.Matchers.ResultOfNotWordForCollectedAny<T>, org.scalatest.Matchers.ResultOfStartWithWordForCollectedString, org.scalatest.Matchers.ResultOfStartWithWordForString, org.scalatest.Matchers.ShouldMethodHelper$, org.scalatest.Matchers.StringShouldWrapper, org.scalatest.Matchers.TheSameInstanceAsPhrase, org.scalatest.Matchers.ValueWord
org.scalactic.Tolerance.PlusOrMinusWrapper<T>
Constructor and Description |
---|
JavaJournalSpec(com.typesafe.config.Config config) |
Modifier and Type | Method and Description |
---|---|
protected CapabilityFlag |
supportsRejectingNonSerializableObjects()
When
true enables tests which check if the Journal properly rejects
writes of objects which are not java.lang.Serializable . |
$bang$eq$eq, $bang$eq$eq, $bang$eq$eq, $eq$eq$eq, $eq$eq$eq, $eq$eq$eq, $greater, $greater$eq, $less, $less$eq, a, a, actorInstanceId, after, afterAll, afterEach, afterWord, akka$testkit$TestKitBase$_setter_$akka$testkit$TestKitBase$$queue_$eq, akka$testkit$TestKitBase$_setter_$testActor_$eq, akka$testkit$TestKitBase$_setter_$testKitSettings_$eq, akka$testkit$TestKitBase$$end_$eq, akka$testkit$TestKitBase$$end, akka$testkit$TestKitBase$$lastWasNoMsg_$eq, akka$testkit$TestKitBase$$lastWasNoMsg, akka$testkit$TestKitBase$$queue, alert, all, all, all, allElementsOf, allOf, an, an, assertCompiles, assertDoesNotCompile, assertionsHelper, assertResult, assertResult, assertThrows, assertTypeError, assume, assume, atLeast, atLeast, atLeast, atLeastOneElementOf, atLeastOneOf, atMost, atMost, atMost, atMostOneElementOf, atMostOneOf, awaitAssert, awaitAssert$default$2, awaitAssert$default$3, awaitCond, awaitCond$default$2, awaitCond$default$3, awaitCond$default$4, be, beforeAll, beforeEach, behave, between, between, between, cancel, cancel, cancel, cancel, childActorOf, childActorOf, childActorOf, childActorOf, compile, config, contain, conversionCheckedConstraint, convertEquivalenceToAToBConstraint, convertEquivalenceToAToBConversionConstraint, convertEquivalenceToBToAConstraint, convertEquivalenceToBToAConversionConstraint, convertNumericToPlusOrMinusWrapper, convertSymbolToHavePropertyMatcherGenerator, convertToAnyShouldWrapper, convertToCheckingEqualizer, convertToEqualizer, convertToRegexWrapper, convertToStringCanWrapper, convertToStringMayWrapper, convertToStringMustWrapperForVerb, convertToStringShouldWrapper, convertToStringShouldWrapperForVerb, convertToWordSpecStringWrapper, createCatchReporter, decided, defaultEquality, defined, definedAt, determined, doCollected, empty, endWith, equal, equal, equal, every, every, every, exactly, exactly, exactly, execute, execute, execute$default$1, execute$default$2, execute$default$3, execute$default$4, execute$default$5, execute$default$6, execute$default$7, exist, expectedTestCount, expectMsg, expectMsg, expectMsg, expectMsgAllClassOf, expectMsgAllClassOf, expectMsgAllConformingOf, expectMsgAllConformingOf, expectMsgAllOf, expectMsgAllOf, expectMsgAnyClassOf, expectMsgAnyClassOf, expectMsgAnyOf, expectMsgAnyOf, expectMsgClass, expectMsgClass, expectMsgPF, expectMsgPF$default$1, expectMsgPF$default$2, expectMsgType, expectMsgType, expectNoMsg, expectNoMsg, expectTerminated, expectTerminated$default$2, extension, fail, fail, fail, fail, fishForMessage, fishForMessage$default$1, fishForMessage$default$2, fullyMatch, have, ignoreMsg, ignoreNoMsg, include, info, inOrder, inOrderElementsOf, inOrderOnly, intercept, invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected, it, journal, key, lastMessage_$eq, lastMessage, lastSender, length, lowPriorityConversionCheckedConstraint, lowPriorityTypeCheckedConstraint, markup, matchPattern, mayVerbStacktraceContextFrames, message, msgAvailable, nestedSuites, newAssertionFailedException, newTestCanceledException, no, no, no, NoArgTest, noElementsOf, noException, noneOf, not, note, now, of, oneElementOf, oneOf, only, optional, optional, org$scalactic$Explicitly$_setter_$after_$eq, org$scalactic$Explicitly$_setter_$decided_$eq, org$scalactic$Explicitly$_setter_$determined_$eq, org$scalatest$Assertions$_setter_$assertionsHelper_$eq, org$scalatest$Assertions$_setter_$succeed_$eq, org$scalatest$BeforeAndAfterAll$_setter_$invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected_$eq, org$scalatest$Matchers$_setter_$a_$eq, org$scalatest$Matchers$_setter_$an_$eq, org$scalatest$Matchers$_setter_$key_$eq, org$scalatest$Matchers$_setter_$regex_$eq, org$scalatest$Matchers$_setter_$theSameInstanceAs_$eq, org$scalatest$Matchers$_setter_$value_$eq, org$scalatest$Matchers$$AllCollected, org$scalatest$Matchers$$AtLeastCollected, org$scalatest$Matchers$$AtMostCollected, org$scalatest$Matchers$$BetweenCollected, org$scalatest$Matchers$$EveryCollected, org$scalatest$Matchers$$ExactlyCollected, org$scalatest$Matchers$$NoCollected, org$scalatest$Matchers$$ShouldMethodHelper, org$scalatest$Suite$_setter_$styleName_$eq, org$scalatest$words$MatcherWords$_setter_$be_$eq, org$scalatest$words$MatcherWords$_setter_$compile_$eq, org$scalatest$words$MatcherWords$_setter_$contain_$eq, org$scalatest$words$MatcherWords$_setter_$defined_$eq, org$scalatest$words$MatcherWords$_setter_$empty_$eq, org$scalatest$words$MatcherWords$_setter_$endWith_$eq, org$scalatest$words$MatcherWords$_setter_$exist_$eq, org$scalatest$words$MatcherWords$_setter_$fullyMatch_$eq, org$scalatest$words$MatcherWords$_setter_$have_$eq, org$scalatest$words$MatcherWords$_setter_$include_$eq, org$scalatest$words$MatcherWords$_setter_$length_$eq, org$scalatest$words$MatcherWords$_setter_$matchPattern_$eq, org$scalatest$words$MatcherWords$_setter_$not_$eq, org$scalatest$words$MatcherWords$_setter_$readable_$eq, org$scalatest$words$MatcherWords$_setter_$size_$eq, org$scalatest$words$MatcherWords$_setter_$sorted_$eq, org$scalatest$words$MatcherWords$_setter_$startWith_$eq, org$scalatest$words$MatcherWords$_setter_$typeCheck_$eq, org$scalatest$words$MatcherWords$_setter_$writable_$eq, org$scalatest$WordSpecLike$_setter_$behave_$eq, org$scalatest$WordSpecLike$_setter_$it_$eq, org$scalatest$WordSpecLike$_setter_$org$scalatest$WordSpecLike$$engine_$eq, org$scalatest$WordSpecLike$_setter_$stackDepth_$eq, org$scalatest$WordSpecLike$_setter_$styleName_$eq, org$scalatest$WordSpecLike$_setter_$subjectRegistrationFunction_$eq, org$scalatest$WordSpecLike$_setter_$subjectWithAfterWordRegistrationFunction_$eq, org$scalatest$WordSpecLike$_setter_$they_$eq, org$scalatest$WordSpecLike$$engine, pending, pendingUntilFixed, pid, preparePersistenceId, readable, receiveN, receiveN, receiveOne, receiveWhile, receiveWhile$default$1, receiveWhile$default$2, receiveWhile$default$3, regex, registerIgnoredTest, registerTest, remaining, remainingOr, remainingOrDefault, replayedMessage, rerunner, run, runNestedSuites, runTest, runTests, setAutoPilot, shutdown, shutdown$default$1, shutdown$default$2, shutdown$default$3, size, sorted, stackDepth, startWith, styleName, subjectRegistrationFunction, subjectWithAfterWordRegistrationFunction, subscribe, succeed, suiteId, suiteName, supportsAtomicPersistAllOfSeveralEvents, system, tags, testActor, testActorName, testDataFor, testDataFor$default$2, testKitSettings, testNames, the, theSameElementsAs, theSameElementsInOrderAs, theSameInstanceAs, they, thrownBy, trap, typeCheck, typeCheckedConstraint, unconstrainedEquality, unwatch, value, watch, withClue, withFixture, within, within, writable, writeMessages, writerUuid, yeOldeTestNames
a, actorInstanceId, after, afterAll, an, assertionsHelper, be, beforeAll, behave, compile, config, contain, decided, defined, determined, empty, endWith, exist, extension, fullyMatch, have, include, invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected, it, key, lastMessage, length, matchPattern, NoArgTest, not, pid, readable, regex, size, sorted, stackDepth, startWith, styleName, subjectRegistrationFunction, subjectWithAfterWordRegistrationFunction, subscribe, succeed, testActor, testKitSettings, theSameInstanceAs, they, typeCheck, value, writable, writerUuid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToStringMayWrapper, mayVerbStacktraceContextFrames, optional
optional
awaitAssert, awaitCond, checkMissingAndUnexpected, childActorOf, childActorOf, childActorOf, childActorOf, expectMsg_internal, expectMsg, expectMsg, expectMsg, expectMsgAllClassOf, expectMsgAllClassOf, expectMsgAllConformingOf, expectMsgAllConformingOf, expectMsgAllOf_internal, expectMsgAllOf, expectMsgAllOf, expectMsgAnyClassOf_internal, expectMsgAnyClassOf, expectMsgAnyClassOf, expectMsgAnyOf_internal, expectMsgAnyOf, expectMsgAnyOf, expectMsgClass_internal, expectMsgClass, expectMsgClass, expectMsgPF, expectMsgType, expectMsgType, expectNoMsg_internal, expectNoMsg, expectNoMsg, expectTerminated, fishForMessage, format, ignoreMsg, ignoreNoMsg, internalExpectMsgAllClassOf, internalExpectMsgAllConformingOf, lastSender, msgAvailable, now, receiveN_internal, receiveN, receiveN, receiveOne, receiveWhile, remaining, remainingOr, remainingOrDefault, remainingOrDilated, setAutoPilot, shutdown, testActorName, unwatch, watch, within, within
$init$, afterWord, alert, convertToWordSpecStringWrapper, info, markup, note, org$scalatest$WordSpecLike$_setter_$behave_$eq, org$scalatest$WordSpecLike$_setter_$it_$eq, org$scalatest$WordSpecLike$_setter_$org$scalatest$WordSpecLike$$engine_$eq, org$scalatest$WordSpecLike$_setter_$stackDepth_$eq, org$scalatest$WordSpecLike$_setter_$styleName_$eq, org$scalatest$WordSpecLike$_setter_$subjectRegistrationFunction_$eq, org$scalatest$WordSpecLike$_setter_$subjectWithAfterWordRegistrationFunction_$eq, org$scalatest$WordSpecLike$_setter_$they_$eq, org$scalatest$WordSpecLike$$engine, org$scalatest$WordSpecLike$$registerBranch, org$scalatest$WordSpecLike$$registerShorthandBranch, org$scalatest$WordSpecLike$$registerTestToIgnore, org$scalatest$WordSpecLike$$registerTestToRun, registerIgnoredTest, registerTest, run, runTest, runTests, tags, testDataFor, testDataFor$default$2, testNames
$init$, anExceptionThatShouldCauseAnAbort, autoTagClassAnnotations, checkChosenStyles, checkForPublicNoArgConstructor, createAlertProvided, createAlertProvided$default$10, createCatchReporter, createInfoProvided, createInfoProvided$default$10, createMarkupProvided, createMarkupProvided$default$9, createNoteProvided, createNoteProvided$default$10, diffStrings, execute, execute, execute$default$1, execute$default$2, execute$default$3, execute$default$4, execute$default$5, execute$default$6, execute$default$7, expectedTestCount, FixtureAndInformerInParens, FixtureInParens, formatterForSuiteAborted, formatterForSuiteCompleted, formatterForSuiteStarting, getEscapedIndentedTextForTest, getIndentedTextForInfo, getIndentedTextForTest, getLineInFile, getMessageForException, getMethodForTestName, getObjectsForFailureMessage, getRunTestGoodies, getSimpleNameOfAnObjectsClass, getSuiteRunTestGoodies, getTopOfClass, getTopOfMethod, getTopOfMethod, handleFailedTest, IgnoreTagName, indentation, indentLines, InformerInParens, isTestMethodGoodies, makeListForHumans, nestedSuites, org$scalatest$Suite$_setter_$styleName_$eq, parseSimpleName, reportAlertProvided, reportAlertProvided$default$10, reportInfoProvided, reportInfoProvided$default$10, reportMarkupProvided, reportMarkupProvided$default$9, reportNoteProvided, reportNoteProvided$default$10, reportScopeClosed, reportScopeClosed$default$6, reportScopeOpened, reportScopeOpened$default$6, reportScopePending, reportScopePending$default$6, reportTestCanceled, reportTestFailed, reportTestIgnored, reportTestPending, reportTestStarting, reportTestSucceeded, rerunner, runNestedSuites, simpleNameForTest, stripDollars, substituteHtmlSpace, suiteId, suiteName, suiteToString, takesInformer, testMethodTakesAFixture, testMethodTakesAFixtureAndInformer, testMethodTakesAnInformer, unparsedXml, wrapReporterIfNecessary, xmlContent, yeOldeTestNames
$init$, assertResult, assertResult, assertThrows, cancel, cancel, cancel, cancel, fail, fail, fail, fail, intercept, newAssertionFailedException, newTestCanceledException, org$scalatest$Assertions$_setter_$assertionsHelper_$eq, org$scalatest$Assertions$_setter_$succeed_$eq, pending, pendingUntilFixed, trap, withClue
$init$, conversionCheckedConstraint, convertEquivalenceToAToBConstraint, convertEquivalenceToAToBConversionConstraint, convertEquivalenceToBToAConstraint, convertEquivalenceToBToAConversionConstraint, convertToCheckingEqualizer, convertToEqualizer, lowPriorityConversionCheckedConstraint, lowPriorityTypeCheckedConstraint, typeCheckedConstraint, unconstrainedEquality
$bang$eq$eq, $bang$eq$eq, $bang$eq$eq, $eq$eq$eq, $eq$eq$eq, $eq$eq$eq, $init$, defaultEquality
$init$, convertToStringMustWrapperForVerb
$greater, $greater$eq, $init$, $less, $less$eq, a, all, all, all, allElementsOf, allOf, an, atLeast, atLeast, atLeast, atLeastOneElementOf, atLeastOneOf, atMost, atMost, atMost, atMostOneElementOf, atMostOneOf, between, between, between, convertSymbolToHavePropertyMatcherGenerator, convertToAnyShouldWrapper, convertToRegexWrapper, convertToStringShouldWrapper, definedAt, doCollected, equal, equal, every, every, every, exactly, exactly, exactly, inOrder, inOrderElementsOf, inOrderOnly, message, no, no, no, noElementsOf, noneOf, of, oneElementOf, oneOf, only, org$scalatest$Matchers$_setter_$a_$eq, org$scalatest$Matchers$_setter_$an_$eq, org$scalatest$Matchers$_setter_$key_$eq, org$scalatest$Matchers$_setter_$regex_$eq, org$scalatest$Matchers$_setter_$theSameInstanceAs_$eq, org$scalatest$Matchers$_setter_$value_$eq, org$scalatest$Matchers$$AllCollected, org$scalatest$Matchers$$AtLeastCollected, org$scalatest$Matchers$$AtMostCollected, org$scalatest$Matchers$$BetweenCollected, org$scalatest$Matchers$$EveryCollected, org$scalatest$Matchers$$ExactlyCollected, org$scalatest$Matchers$$NoCollected, org$scalatest$Matchers$$ShouldMethodHelper, the, theSameElementsAs, theSameElementsInOrderAs, thrownBy
$init$, convertToStringShouldWrapperForVerb
$init$, equal, noException, org$scalatest$words$MatcherWords$_setter_$be_$eq, org$scalatest$words$MatcherWords$_setter_$compile_$eq, org$scalatest$words$MatcherWords$_setter_$contain_$eq, org$scalatest$words$MatcherWords$_setter_$defined_$eq, org$scalatest$words$MatcherWords$_setter_$empty_$eq, org$scalatest$words$MatcherWords$_setter_$endWith_$eq, org$scalatest$words$MatcherWords$_setter_$exist_$eq, org$scalatest$words$MatcherWords$_setter_$fullyMatch_$eq, org$scalatest$words$MatcherWords$_setter_$have_$eq, org$scalatest$words$MatcherWords$_setter_$include_$eq, org$scalatest$words$MatcherWords$_setter_$length_$eq, org$scalatest$words$MatcherWords$_setter_$matchPattern_$eq, org$scalatest$words$MatcherWords$_setter_$not_$eq, org$scalatest$words$MatcherWords$_setter_$readable_$eq, org$scalatest$words$MatcherWords$_setter_$size_$eq, org$scalatest$words$MatcherWords$_setter_$sorted_$eq, org$scalatest$words$MatcherWords$_setter_$startWith_$eq, org$scalatest$words$MatcherWords$_setter_$typeCheck_$eq, org$scalatest$words$MatcherWords$_setter_$writable_$eq
$init$, org$scalactic$Explicitly$_setter_$after_$eq, org$scalactic$Explicitly$_setter_$decided_$eq, org$scalactic$Explicitly$_setter_$determined_$eq
protected CapabilityFlag supportsRejectingNonSerializableObjects()
JournalCapabilityFlags
true
enables tests which check if the Journal properly rejects
writes of objects which are not java.lang.Serializable
.supportsRejectingNonSerializableObjects
in interface JournalCapabilityFlags
supportsRejectingNonSerializableObjects
in class JournalSpec