Replace org.junit.jupiter.api.Test with kotlin.test.Test

Signed-off-by: Graham <gpe@openrs2.org>
bzip2
Graham 4 years ago
parent ef152afab4
commit 32fe61bd7d
  1. 2
      cache/src/test/kotlin/org/openrs2/cache/BufferedFileChannelTest.kt
  2. 2
      cache/src/test/kotlin/org/openrs2/cache/FlatFileStoreTest.kt

@ -4,7 +4,6 @@ import com.google.common.jimfs.Configuration
import com.google.common.jimfs.Jimfs import com.google.common.jimfs.Jimfs
import io.netty.buffer.ByteBufAllocator import io.netty.buffer.ByteBufAllocator
import io.netty.buffer.Unpooled import io.netty.buffer.Unpooled
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows import org.junit.jupiter.api.assertThrows
import org.openrs2.buffer.copiedBuffer import org.openrs2.buffer.copiedBuffer
import org.openrs2.buffer.use 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.CREATE
import java.nio.file.StandardOpenOption.READ import java.nio.file.StandardOpenOption.READ
import java.nio.file.StandardOpenOption.WRITE import java.nio.file.StandardOpenOption.WRITE
import kotlin.test.Test
import kotlin.test.assertEquals import kotlin.test.assertEquals
object BufferedFileChannelTest { object BufferedFileChannelTest {

@ -3,7 +3,6 @@ package org.openrs2.cache
import com.google.common.jimfs.Configuration import com.google.common.jimfs.Configuration
import com.google.common.jimfs.Jimfs import com.google.common.jimfs.Jimfs
import io.netty.buffer.Unpooled import io.netty.buffer.Unpooled
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows import org.junit.jupiter.api.assertThrows
import org.openrs2.buffer.copiedBuffer import org.openrs2.buffer.copiedBuffer
import org.openrs2.buffer.use import org.openrs2.buffer.use
@ -12,6 +11,7 @@ import org.openrs2.util.io.recursiveEquals
import java.io.FileNotFoundException import java.io.FileNotFoundException
import java.nio.file.Path import java.nio.file.Path
import java.nio.file.Paths import java.nio.file.Paths
import kotlin.test.Test
import kotlin.test.assertEquals import kotlin.test.assertEquals
import kotlin.test.assertFalse import kotlin.test.assertFalse
import kotlin.test.assertTrue import kotlin.test.assertTrue

Loading…
Cancel
Save