From 32fe61bd7dc3594438d047c9beaeac241158dca3 Mon Sep 17 00:00:00 2001 From: Graham Date: Fri, 25 Dec 2020 10:50:19 +0000 Subject: [PATCH] Replace org.junit.jupiter.api.Test with kotlin.test.Test Signed-off-by: Graham --- .../test/kotlin/org/openrs2/cache/BufferedFileChannelTest.kt | 2 +- cache/src/test/kotlin/org/openrs2/cache/FlatFileStoreTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cache/src/test/kotlin/org/openrs2/cache/BufferedFileChannelTest.kt b/cache/src/test/kotlin/org/openrs2/cache/BufferedFileChannelTest.kt index d6fcc9354c..3715fb59fe 100644 --- a/cache/src/test/kotlin/org/openrs2/cache/BufferedFileChannelTest.kt +++ b/cache/src/test/kotlin/org/openrs2/cache/BufferedFileChannelTest.kt @@ -4,7 +4,6 @@ import com.google.common.jimfs.Configuration import com.google.common.jimfs.Jimfs import io.netty.buffer.ByteBufAllocator import io.netty.buffer.Unpooled -import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertThrows import org.openrs2.buffer.copiedBuffer import org.openrs2.buffer.use @@ -15,6 +14,7 @@ import java.nio.file.Files import java.nio.file.StandardOpenOption.CREATE import java.nio.file.StandardOpenOption.READ import java.nio.file.StandardOpenOption.WRITE +import kotlin.test.Test import kotlin.test.assertEquals object BufferedFileChannelTest { diff --git a/cache/src/test/kotlin/org/openrs2/cache/FlatFileStoreTest.kt b/cache/src/test/kotlin/org/openrs2/cache/FlatFileStoreTest.kt index be7c1663fd..da4824edc4 100644 --- a/cache/src/test/kotlin/org/openrs2/cache/FlatFileStoreTest.kt +++ b/cache/src/test/kotlin/org/openrs2/cache/FlatFileStoreTest.kt @@ -3,7 +3,6 @@ package org.openrs2.cache import com.google.common.jimfs.Configuration import com.google.common.jimfs.Jimfs import io.netty.buffer.Unpooled -import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertThrows import org.openrs2.buffer.copiedBuffer import org.openrs2.buffer.use @@ -12,6 +11,7 @@ import org.openrs2.util.io.recursiveEquals import java.io.FileNotFoundException import java.nio.file.Path import java.nio.file.Paths +import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertFalse import kotlin.test.assertTrue