Skip to content
Snippets Groups Projects
Verified Commit 2fbf9cef authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Updated network test to the new API

parent 901861db
Branches
Tags
No related merge requests found
Pipeline #
......@@ -68,9 +68,9 @@ class NetworkTest {
original.setMessageRateBurstSize(randomUInt())
original.setMessageRateDelay(randomUInt())
original.setUnlimitedMessageRate(randomBoolean())
original.setCodecForServer(randomCharset())
original.setCodecForEncoding(randomCharset())
original.setCodecForDecoding(randomCharset())
original.setCodecForServer(randomCharset().name())
original.setCodecForEncoding(randomCharset().name())
original.setCodecForDecoding(randomCharset().name())
val copy = original.copy()
copy.fromVariantMap(roundTrip(VariantMapSerializer, original.toVariantMap()))
......@@ -119,9 +119,9 @@ class NetworkTest {
original.setMessageRateBurstSize(randomUInt())
original.setMessageRateDelay(randomUInt())
original.setUnlimitedMessageRate(randomBoolean())
original.setCodecForServer(randomCharset())
original.setCodecForEncoding(randomCharset())
original.setCodecForDecoding(randomCharset())
original.setCodecForServer(randomCharset().name())
original.setCodecForEncoding(randomCharset().name())
original.setCodecForDecoding(randomCharset().name())
original.setAutoAwayActive(randomBoolean())
val copy = original.copy()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment