public abstract class WebSocketClientSpec.TestSetup extends java.lang.Object implements WSTestSetupBase
org.scalatest.matchers.should.Matchers.AnWord, org.scalatest.matchers.should.Matchers.AnyShouldWrapper<T>, 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>, org.scalatest.matchers.should.Matchers.ResultOfBeWordForCollectedAny<T>, org.scalatest.matchers.should.Matchers.ResultOfBeWordForCollectedArray<T>, org.scalatest.matchers.should.Matchers.ResultOfCollectedAny<T>, org.scalatest.matchers.should.Matchers.ResultOfContainWordForCollectedAny<T>, 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>, org.scalatest.matchers.should.Matchers.ResultOfHaveWordForExtent<A>, org.scalatest.matchers.should.Matchers.ResultOfIncludeWordForCollectedString, org.scalatest.matchers.should.Matchers.ResultOfIncludeWordForString, org.scalatest.matchers.should.Matchers.ResultOfNotWordForCollectedAny<T>, 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.ValueWordorg.scalatest.Assertions.AssertionsHelperorg.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.scalactic.Tolerance.PlusOrMinusWrapper<T>| Constructor and Description |
|---|
TestSetup() |
| Modifier and Type | Method and Description |
|---|---|
org.scalatest.matchers.should.Matchers.AWord |
a() |
org.scalactic.Explicitly.TheAfterWord |
after() |
org.scalatest.matchers.should.Matchers.AnWord |
an() |
org.scalatest.matchers.dsl.BeWord |
be() |
protected abstract org.apache.pekko.stream.scaladsl.Flow<Message,Message,org.apache.pekko.NotUsed> |
clientImplementation() |
org.apache.pekko.stream.scaladsl.BidiFlow<Message,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,Message,scala.concurrent.Future<WebSocketUpgradeResponse>> |
clientLayer() |
void |
closeNetworkInput() |
org.scalatest.verbs.CompileWord |
compile() |
org.scalatest.matchers.dsl.ContainWord |
contain() |
org.scalactic.Explicitly.DecidedWord |
decided() |
org.scalatest.matchers.dsl.DefinedWord |
defined() |
org.scalactic.Explicitly.DeterminedWord |
determined() |
org.scalatest.matchers.dsl.EmptyWord |
empty() |
org.scalatest.matchers.dsl.EndWithWord |
endWith() |
org.scalatest.matchers.dsl.ExistWord |
exist() |
void |
expectBytes(org.apache.pekko.util.ByteString bytes) |
org.apache.pekko.util.ByteString |
expectBytes(int length) |
InvalidUpgradeResponse |
expectInvalidUpgradeResponse() |
void |
expectInvalidUpgradeResponseCause(java.lang.String expected) |
void |
expectNetworkAbort() |
void |
expectNetworkClose() |
void |
expectNoWireData() |
void |
expectResponse(WebSocketUpgradeResponse response) |
void |
expectWireData(org.apache.pekko.util.ByteString bs) |
void |
expectWireData(java.lang.String s) |
org.scalatest.matchers.dsl.FullyMatchWord |
fullyMatch() |
org.scalatest.matchers.dsl.HaveWord |
have() |
org.scalatest.matchers.dsl.IncludeWord |
include() |
org.scalatest.matchers.should.Matchers.KeyWord |
key() |
org.scalatest.matchers.dsl.LengthWord |
length() |
org.scalatest.matchers.dsl.MatchPatternWord |
matchPattern() |
org.apache.pekko.stream.testkit.TestPublisher.Probe<org.apache.pekko.util.ByteString> |
netIn() |
ByteStringSinkProbe |
netOut() |
protected scala.concurrent.duration.FiniteDuration |
noMsgTimeout() |
org.scalatest.matchers.dsl.NotWord |
not() |
java.util.Random |
random() |
org.scalatest.matchers.dsl.ReadableWord |
readable() |
org.scalatest.matchers.should.Matchers.RegexWord |
regex() |
protected scala.Option<java.lang.String> |
requestedSubProtocol() |
scala.concurrent.Future<WebSocketUpgradeResponse> |
response() |
void |
send(org.apache.pekko.util.ByteString bytes) |
void |
sendWireData(org.apache.pekko.util.ByteString data) |
void |
sendWireData(java.lang.String data) |
ClientConnectionSettings |
settings() |
org.scalatest.matchers.dsl.SizeWord |
size() |
org.scalatest.matchers.dsl.SortedWord |
sorted() |
org.scalatest.matchers.dsl.StartWithWord |
startWith() |
org.scalatest.compatible.Assertion |
succeed() |
Uri |
targetUri() |
org.scalatest.matchers.should.Matchers.TheSameInstanceAsPhrase |
theSameInstanceAs() |
org.scalatest.verbs.TypeCheckWord |
typeCheck() |
org.scalatest.matchers.should.Matchers.ValueWord |
value() |
java.lang.String |
wipeDate(java.lang.String string) |
org.scalatest.matchers.dsl.WritableWord |
writable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexpectFrameHeaderOnNetwork, expectFrameHeaderOnNetwork, expectFrameOnNetwork, expectMaskedCloseFrame, expectMaskedFrameOnNetwork, expectNetworkData, expectNetworkData, expectWSCloseFrame, expectWSFrame, sendWSCloseFrame, sendWSFrame$greater, $greater$eq, $init$, $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, thrownBy$init$, assertionsHelper, assertResult, assertResult, assertThrows, cancel, cancel, cancel, cancel, fail, fail, fail, fail, intercept, newAssertionFailedException, newTestCanceledException, org$scalatest$Assertions$_setter_$succeed_$eq, pending, pendingUntilFixed, 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$, convertToStringShouldWrapperForVerb$init$, 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_$eqpublic org.scalatest.matchers.should.Matchers.AWord a()
a in interface org.scalatest.matchers.should.Matcherspublic org.scalactic.Explicitly.TheAfterWord after()
after in interface org.scalactic.Explicitlypublic org.scalatest.matchers.should.Matchers.AnWord an()
an in interface org.scalatest.matchers.should.Matcherspublic org.scalatest.matchers.dsl.BeWord be()
be in interface org.scalatest.matchers.dsl.MatcherWordsprotected abstract org.apache.pekko.stream.scaladsl.Flow<Message,Message,org.apache.pekko.NotUsed> clientImplementation()
public org.apache.pekko.stream.scaladsl.BidiFlow<Message,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,Message,scala.concurrent.Future<WebSocketUpgradeResponse>> clientLayer()
public void closeNetworkInput()
public org.scalatest.verbs.CompileWord compile()
compile in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.dsl.ContainWord contain()
contain in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalactic.Explicitly.DecidedWord decided()
decided in interface org.scalactic.Explicitlypublic org.scalatest.matchers.dsl.DefinedWord defined()
defined in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalactic.Explicitly.DeterminedWord determined()
determined in interface org.scalactic.Explicitlypublic org.scalatest.matchers.dsl.EmptyWord empty()
empty in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.dsl.EndWithWord endWith()
endWith in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.dsl.ExistWord exist()
exist in interface org.scalatest.matchers.dsl.MatcherWordspublic org.apache.pekko.util.ByteString expectBytes(int length)
expectBytes in interface WSTestSetupBasepublic void expectBytes(org.apache.pekko.util.ByteString bytes)
expectBytes in interface WSTestSetupBasepublic InvalidUpgradeResponse expectInvalidUpgradeResponse()
public void expectInvalidUpgradeResponseCause(java.lang.String expected)
public void expectNetworkAbort()
public void expectNetworkClose()
public void expectNoWireData()
public void expectResponse(WebSocketUpgradeResponse response)
public void expectWireData(java.lang.String s)
public void expectWireData(org.apache.pekko.util.ByteString bs)
public org.scalatest.matchers.dsl.FullyMatchWord fullyMatch()
fullyMatch in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.dsl.HaveWord have()
have in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.dsl.IncludeWord include()
include in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.should.Matchers.KeyWord key()
key in interface org.scalatest.matchers.should.Matcherspublic org.scalatest.matchers.dsl.LengthWord length()
length in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.dsl.MatchPatternWord matchPattern()
matchPattern in interface org.scalatest.matchers.dsl.MatcherWordspublic org.apache.pekko.stream.testkit.TestPublisher.Probe<org.apache.pekko.util.ByteString> netIn()
public ByteStringSinkProbe netOut()
protected scala.concurrent.duration.FiniteDuration noMsgTimeout()
public org.scalatest.matchers.dsl.NotWord not()
not in interface org.scalatest.matchers.dsl.MatcherWordspublic java.util.Random random()
public org.scalatest.matchers.dsl.ReadableWord readable()
readable in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.should.Matchers.RegexWord regex()
regex in interface org.scalatest.matchers.should.Matchersprotected scala.Option<java.lang.String> requestedSubProtocol()
public scala.concurrent.Future<WebSocketUpgradeResponse> response()
public void send(org.apache.pekko.util.ByteString bytes)
send in interface WSTestSetupBasepublic void sendWireData(java.lang.String data)
public void sendWireData(org.apache.pekko.util.ByteString data)
public ClientConnectionSettings settings()
public org.scalatest.matchers.dsl.SizeWord size()
size in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.dsl.SortedWord sorted()
sorted in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.dsl.StartWithWord startWith()
startWith in interface org.scalatest.matchers.dsl.MatcherWordspublic final org.scalatest.compatible.Assertion succeed()
succeed in interface org.scalatest.Assertionspublic Uri targetUri()
public org.scalatest.matchers.should.Matchers.TheSameInstanceAsPhrase theSameInstanceAs()
theSameInstanceAs in interface org.scalatest.matchers.should.Matcherspublic org.scalatest.verbs.TypeCheckWord typeCheck()
typeCheck in interface org.scalatest.matchers.dsl.MatcherWordspublic org.scalatest.matchers.should.Matchers.ValueWord value()
value in interface org.scalatest.matchers.should.Matcherspublic java.lang.String wipeDate(java.lang.String string)
public org.scalatest.matchers.dsl.WritableWord writable()
writable in interface org.scalatest.matchers.dsl.MatcherWords