From 4e8d0d0364f55d8709ae4c7944d8feac0747a5a2 Mon Sep 17 00:00:00 2001 From: Yahor Berdnikau Date: Mon, 12 Aug 2024 10:46:59 +0200 Subject: [PATCH] [IC] Migrate RelocatableCachesTest to JUnit5 ^KT-70242 Fixed --- .../incremental/storage/RelocatableCachesTest.kt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build-common/test/org/jetbrains/kotlin/incremental/storage/RelocatableCachesTest.kt b/build-common/test/org/jetbrains/kotlin/incremental/storage/RelocatableCachesTest.kt index 77c6dcce350bd..7785ef244eb24 100644 --- a/build-common/test/org/jetbrains/kotlin/incremental/storage/RelocatableCachesTest.kt +++ b/build-common/test/org/jetbrains/kotlin/incremental/storage/RelocatableCachesTest.kt @@ -6,15 +6,19 @@ package org.jetbrains.kotlin.incremental.storage import com.intellij.util.containers.MultiMap -import org.jetbrains.kotlin.TestWithWorkingDir import org.jetbrains.kotlin.incremental.IncrementalCompilationContext import org.jetbrains.kotlin.incremental.LookupStorage import org.jetbrains.kotlin.incremental.LookupSymbol import org.jetbrains.kotlin.incremental.testingUtils.assertEqualDirectories -import org.junit.Test +import org.junit.jupiter.api.Test +import org.junit.jupiter.api.io.TempDir import java.io.File -class RelocatableCachesTest : TestWithWorkingDir() { +class RelocatableCachesTest { + + @TempDir + lateinit var workingDir: File + @Test fun testLookupStorageAddAllReversedFiles() { val originalRoot = workingDir.resolve("original")