Class WebSocketServerSpec.TestSetup
java.lang.Object
org.apache.pekko.http.impl.engine.server.HttpServerTestSetupBase
org.apache.pekko.http.impl.engine.ws.WebSocketServerSpec.TestSetup
- All Implemented Interfaces:
WSTestSetupBase,org.scalactic.Explicitly,org.scalactic.Tolerance,org.scalactic.TripleEquals,org.scalactic.TripleEqualsSupport,org.scalatest.Assertions,org.scalatest.matchers.dsl.MatcherWords,org.scalatest.matchers.should.Matchers,org.scalatest.verbs.ShouldVerb
- Enclosing class:
- WebSocketServerSpec
public class WebSocketServerSpec.TestSetup
extends HttpServerTestSetupBase
implements WSTestSetupBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.scalatest.Assertions
org.scalatest.Assertions.AssertionsHelperNested 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.TheAfterWordNested 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.ValueWordNested classes/interfaces inherited from interface org.scalatest.verbs.ShouldVerb
org.scalatest.verbs.ShouldVerb.StringShouldWrapperForVerbNested 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$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.scalatest.matchers.should.Matchers.AWorda()org.scalactic.Explicitly.TheAfterWordafter()org.scalatest.matchers.should.Matchers.AnWordan()org.scalatest.matchers.dsl.BeWordbe()org.scalatest.verbs.CompileWordcompile()org.scalatest.matchers.dsl.ContainWordcontain()org.scalactic.Explicitly.DecidedWorddecided()org.scalatest.matchers.dsl.DefinedWorddefined()org.scalactic.Explicitly.DeterminedWordorg.scalatest.matchers.dsl.EmptyWordempty()org.scalatest.matchers.dsl.EndWithWordendWith()org.scalatest.matchers.dsl.ExistWordexist()org.apache.pekko.util.ByteStringexpectBytes(int length) voidexpectBytes(org.apache.pekko.util.ByteString bytes) org.scalatest.matchers.dsl.FullyMatchWordorg.scalatest.matchers.dsl.HaveWordhave()org.scalatest.matchers.dsl.IncludeWordinclude()org.scalatest.matchers.should.Matchers.KeyWordkey()org.scalatest.matchers.dsl.LengthWordlength()org.scalatest.matchers.dsl.MatchPatternWordorg.apache.pekko.stream.Materializerorg.scalatest.matchers.dsl.NotWordnot()org.scalatest.matchers.dsl.ReadableWordreadable()org.scalatest.matchers.should.Matchers.RegexWordregex()org.scalatest.matchers.dsl.SizeWordsize()org.scalatest.matchers.dsl.SortedWordsorted()org.scalatest.matchers.dsl.StartWithWordfinal org.scalatest.compatible.Assertionsucceed()org.apache.pekko.actor.ActorSystemsystem()org.scalatest.matchers.should.Matchers.TheSameInstanceAsPhraseorg.scalatest.verbs.TypeCheckWordorg.scalatest.matchers.should.Matchers.ValueWordvalue()org.scalatest.matchers.dsl.WritableWordwritable()Methods inherited from class org.apache.pekko.http.impl.engine.server.HttpServerTestSetupBase
closeNetworkInput, expectNetworkClose, expectNoRequest, expectRequest, expectResponseWithWipedDate, expectSubscribe, expectSubscribeAndNetworkClose, modifyServer, netIn, netOut, requests, responses, send, send, settings, shutdownBlueprint, simpleResponse, wipeDateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, withClueMethods inherited from interface org.scalactic.Explicitly
org$scalactic$Explicitly$_setter_$after_$eq, org$scalactic$Explicitly$_setter_$decided_$eq, org$scalactic$Explicitly$_setter_$determined_$eqMethods inherited from interface org.scalatest.matchers.should.Matchers
$greater, $greater$eq, $less, $less$eq, a, all, all, all, all, allElementsOf, allOf, 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, 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, the, theSameElementsAs, theSameElementsInOrderAs, thrownByMethods inherited from interface org.scalatest.matchers.dsl.MatcherWords
equal, noException, 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_$eqMethods inherited from interface org.scalatest.verbs.ShouldVerb
convertToStringShouldWrapperForVerbMethods inherited from interface org.scalactic.Tolerance
convertNumericToPlusOrMinusWrapperMethods inherited from interface org.scalactic.TripleEquals
conversionCheckedConstraint, convertEquivalenceToAToBConstraint, convertEquivalenceToAToBConversionConstraint, convertEquivalenceToBToAConstraint, convertEquivalenceToBToAConversionConstraint, convertToCheckingEqualizer, convertToEqualizer, lowPriorityConversionCheckedConstraint, lowPriorityTypeCheckedConstraint, typeCheckedConstraint, unconstrainedEqualityMethods inherited from interface org.scalactic.TripleEqualsSupport
$bang$eq$eq, $bang$eq$eq, $bang$eq$eq, $eq$eq$eq, $eq$eq$eq, $eq$eq$eq, defaultEqualityMethods inherited from interface org.apache.pekko.http.impl.engine.ws.WSTestSetupBase
expectFrameHeaderOnNetwork, expectFrameHeaderOnNetwork, expectFrameOnNetwork, expectMaskedCloseFrame, expectMaskedFrameOnNetwork, expectNetworkData, expectNetworkData, expectWSCloseFrame, expectWSFrame, send, sendWSCloseFrame, sendWSFrame
-
Constructor Details
-
TestSetup
public TestSetup()
-
-
Method Details
-
a
public org.scalatest.matchers.should.Matchers.AWord a()- Specified by:
ain interfaceorg.scalatest.matchers.should.Matchers
-
after
public org.scalactic.Explicitly.TheAfterWord after()- Specified by:
afterin interfaceorg.scalactic.Explicitly
-
an
public org.scalatest.matchers.should.Matchers.AnWord an()- Specified by:
anin interfaceorg.scalatest.matchers.should.Matchers
-
be
public org.scalatest.matchers.dsl.BeWord be()- Specified by:
bein interfaceorg.scalatest.matchers.dsl.MatcherWords
-
compile
public org.scalatest.verbs.CompileWord compile()- Specified by:
compilein interfaceorg.scalatest.matchers.dsl.MatcherWords
-
contain
public org.scalatest.matchers.dsl.ContainWord contain()- Specified by:
containin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
decided
public org.scalactic.Explicitly.DecidedWord decided()- Specified by:
decidedin interfaceorg.scalactic.Explicitly
-
defined
public org.scalatest.matchers.dsl.DefinedWord defined()- Specified by:
definedin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
determined
public org.scalactic.Explicitly.DeterminedWord determined()- Specified by:
determinedin interfaceorg.scalactic.Explicitly
-
empty
public org.scalatest.matchers.dsl.EmptyWord empty()- Specified by:
emptyin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
endWith
public org.scalatest.matchers.dsl.EndWithWord endWith()- Specified by:
endWithin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
exist
public org.scalatest.matchers.dsl.ExistWord exist()- Specified by:
existin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
expectBytes
public org.apache.pekko.util.ByteString expectBytes(int length) - Specified by:
expectBytesin interfaceWSTestSetupBase
-
expectBytes
public void expectBytes(org.apache.pekko.util.ByteString bytes) - Specified by:
expectBytesin interfaceWSTestSetupBase
-
fullyMatch
public org.scalatest.matchers.dsl.FullyMatchWord fullyMatch()- Specified by:
fullyMatchin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
have
public org.scalatest.matchers.dsl.HaveWord have()- Specified by:
havein interfaceorg.scalatest.matchers.dsl.MatcherWords
-
include
public org.scalatest.matchers.dsl.IncludeWord include()- Specified by:
includein interfaceorg.scalatest.matchers.dsl.MatcherWords
-
key
public org.scalatest.matchers.should.Matchers.KeyWord key()- Specified by:
keyin interfaceorg.scalatest.matchers.should.Matchers
-
length
public org.scalatest.matchers.dsl.LengthWord length()- Specified by:
lengthin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
matchPattern
public org.scalatest.matchers.dsl.MatchPatternWord matchPattern()- Specified by:
matchPatternin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
materializer
public org.apache.pekko.stream.Materializer materializer()- Specified by:
materializerin classHttpServerTestSetupBase
-
not
public org.scalatest.matchers.dsl.NotWord not()- Specified by:
notin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
readable
public org.scalatest.matchers.dsl.ReadableWord readable()- Specified by:
readablein interfaceorg.scalatest.matchers.dsl.MatcherWords
-
regex
public org.scalatest.matchers.should.Matchers.RegexWord regex()- Specified by:
regexin interfaceorg.scalatest.matchers.should.Matchers
-
size
public org.scalatest.matchers.dsl.SizeWord size()- Specified by:
sizein interfaceorg.scalatest.matchers.dsl.MatcherWords
-
sorted
public org.scalatest.matchers.dsl.SortedWord sorted()- Specified by:
sortedin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
startWith
public org.scalatest.matchers.dsl.StartWithWord startWith()- Specified by:
startWithin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
succeed
public final org.scalatest.compatible.Assertion succeed()- Specified by:
succeedin interfaceorg.scalatest.Assertions
-
system
public org.apache.pekko.actor.ActorSystem system()- Specified by:
systemin classHttpServerTestSetupBase
-
theSameInstanceAs
public org.scalatest.matchers.should.Matchers.TheSameInstanceAsPhrase theSameInstanceAs()- Specified by:
theSameInstanceAsin interfaceorg.scalatest.matchers.should.Matchers
-
typeCheck
public org.scalatest.verbs.TypeCheckWord typeCheck()- Specified by:
typeCheckin interfaceorg.scalatest.matchers.dsl.MatcherWords
-
value
public org.scalatest.matchers.should.Matchers.ValueWord value()- Specified by:
valuein interfaceorg.scalatest.matchers.should.Matchers
-
writable
public org.scalatest.matchers.dsl.WritableWord writable()- Specified by:
writablein interfaceorg.scalatest.matchers.dsl.MatcherWords
-