File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
src/test/kotlin/com/intellij/plugin/powershell/ide/run Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ dependencies {
67
67
pluginVerifier()
68
68
}
69
69
70
+ testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine:5.8.1" )
71
+ testRuntimeOnly(" org.junit.vintage:junit-vintage-engine:5.8.1" )
72
+
70
73
implementation(libs.bundles.junixsocket)
71
74
implementation(libs.lsp4j)
72
75
implementation(libs.lsp4jdebug)
@@ -138,6 +141,10 @@ tasks {
138
141
defaultCharacterEncoding = " UTF-8"
139
142
}
140
143
144
+ withType<Test > {
145
+ useJUnitPlatform()
146
+ }
147
+
141
148
withType<JavaCompile > {
142
149
dependsOn(generateLexer, generateParser)
143
150
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ junixsocket = "2.10.1"
5
5
lsp4j = " 0.24.0"
6
6
7
7
[libraries ]
8
- junit = " junit:junit:4.13.2 "
8
+ junit = " org. junit.jupiter :junit-jupiter-api:5.10.3 "
9
9
junixsocket-common = { module = " com.kohlschutter.junixsocket:junixsocket-common" , version.ref = " junixsocket" }
10
10
junixsocket-native-common = { module = " com.kohlschutter.junixsocket:junixsocket-native-common" , version.ref = " junixsocket" }
11
11
lsp4j = {module = " org.eclipse.lsp4j:org.eclipse.lsp4j" , version.ref = " lsp4j" }
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import com.intellij.openapi.project.Project
9
9
import com.intellij.testFramework.junit5.TestApplication
10
10
import com.intellij.testFramework.junit5.fixture.projectFixture
11
11
import kotlinx.coroutines.runBlocking
12
- import org.junit.Assert .assertEquals
13
- import org.junit.Test
12
+ import org.junit.jupiter.api.Assertions .assertEquals
13
+ import org.junit.jupiter.api. Test
14
14
import java.nio.file.Path
15
15
import kotlin.io.path.Path
16
16
You can’t perform that action at this time.
0 commit comments