refactor(test): add a common.test module and move the captured payloads into fixtures (#97)

This commit is contained in:
Fiereu authored and GitHub committed 2026-08-07 10:47:27 +02:00
1 parent 6427c3498b
commit 9866c1b0fb
65 files changed
+158 -211

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ dependencies {
api(libs.netty)
api(libs.kotlinx.coroutines)
implementation(libs.kotlin.logging)
testImplementation(project(":common.test"))
testImplementation(libs.bundles.kotest)
testImplementation(libs.kotlinx.coroutines.test)
testRuntimeOnly(libs.logback)
@@ -1,8 +1,8 @@
package de.fiereu.network.handshake
import de.fiereu.bytecodec.test.assertValueRoundtrip
import de.fiereu.bytecodec.test.decodeBytes
import de.fiereu.bytecodec.test.encodeToBytes
import de.fiereu.openmmo.common.test.assertValueRoundtrip
import de.fiereu.openmmo.common.test.decodeBytes
import de.fiereu.openmmo.common.test.encodeToBytes
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.shouldBe
import java.security.interfaces.ECPublicKey