@@ -33,7 +33,7 @@ object TcpBspMetalsClientSpec extends BspMetalsClientSpec(BspProtocol.Tcp)
33
33
class BspMetalsClientSpec (
34
34
override val protocol : BspProtocol
35
35
) extends BspBaseSuite {
36
- private val testedScalaVersion = " 2.12.8 "
36
+ private val testedScalaVersion = " 2.12.15 "
37
37
38
38
override def test (name : String )(fun : => Any ): Unit =
39
39
super .test(name) {
@@ -46,7 +46,7 @@ class BspMetalsClientSpec(
46
46
val projects = List (`A`)
47
47
val configDir = TestProject .populateWorkspace(workspace, projects)
48
48
val logger = new RecordingLogger (ansiCodesSupported = false )
49
- val semanticdbVersion = " 4.2.0 "
49
+ val semanticdbVersion = " 4.4.31 "
50
50
val extraParams = BloopExtraBuildParams (
51
51
ownsBuildFiles = None ,
52
52
clientClassesRootDir = None ,
@@ -61,9 +61,9 @@ class BspMetalsClientSpec(
61
61
configDir,
62
62
""" |{
63
63
| "javaSemanticDBVersion": "0.5.7",
64
- | "semanticDBVersion": "4.2.0 ",
64
+ | "semanticDBVersion": "4.4.31 ",
65
65
| "supportedScalaVersions": [
66
- | "2.12.8 "
66
+ | "2.12.15 "
67
67
| ]
68
68
|}
69
69
|""" .stripMargin
@@ -75,7 +75,7 @@ class BspMetalsClientSpec(
75
75
|-P:semanticdb:failures:warning
76
76
|-P:semanticdb:sourceroot:$workspace
77
77
|-P:semanticdb:synthetics:on
78
- |-Xplugin:semanticdb-scalac_2.12.8 -4.2.0 .jar
78
+ |-Xplugin:semanticdb-scalac_2.12.15 -4.4.31 .jar
79
79
|-Yrangepos
80
80
|""" .stripMargin
81
81
)
@@ -91,7 +91,7 @@ class BspMetalsClientSpec(
91
91
92
92
test(" do not initialize metals client and save settings with unsupported scala version" ) {
93
93
TestUtil .withinWorkspace { workspace =>
94
- val semanticdbVersion = " 4.2.0 " // Doesn't support 2.12.4
94
+ val semanticdbVersion = " 4.4.31 " // Doesn't support 2.12.4
95
95
val `A` = TestProject (workspace, " A" , Nil , scalaVersion = Some (" 2.12.4" ))
96
96
val projects = List (`A`)
97
97
val configDir = TestProject .populateWorkspace(workspace, projects)
@@ -100,7 +100,7 @@ class BspMetalsClientSpec(
100
100
ownsBuildFiles = None ,
101
101
clientClassesRootDir = None ,
102
102
semanticdbVersion = Some (semanticdbVersion),
103
- supportedScalaVersions = Some (List (" 2.12.8 " )),
103
+ supportedScalaVersions = Some (List (" 2.12.15 " )),
104
104
javaSemanticdbVersion = Some (" 0.5.7" )
105
105
)
106
106
@@ -109,9 +109,9 @@ class BspMetalsClientSpec(
109
109
configDir,
110
110
""" |{
111
111
| "javaSemanticDBVersion": "0.5.7",
112
- | "semanticDBVersion": "4.2.0 ",
112
+ | "semanticDBVersion": "4.4.31 ",
113
113
| "supportedScalaVersions": [
114
- | "2.12.8 "
114
+ | "2.12.15 "
115
115
| ]
116
116
|}
117
117
|""" .stripMargin
@@ -125,7 +125,7 @@ class BspMetalsClientSpec(
125
125
126
126
test(" initialize metals client in workspace with already enabled semanticdb" ) {
127
127
TestUtil .withinWorkspace { workspace =>
128
- val pluginPath = s " -Xplugin:path-to-plugin/semanticdb-scalac_2.12.8 -4.2.0 .jar.jar "
128
+ val pluginPath = s " -Xplugin:path-to-plugin/semanticdb-scalac_2.12.15 -4.4.31 .jar.jar "
129
129
val defaultScalacOptions = List (
130
130
" -P:semanticdb:failures:warning" ,
131
131
s " -P:semanticdb:sourceroot: $workspace" ,
@@ -144,7 +144,7 @@ class BspMetalsClientSpec(
144
144
val projects = List (`A`)
145
145
val configDir = TestProject .populateWorkspace(workspace, projects)
146
146
val logger = new RecordingLogger (ansiCodesSupported = false )
147
- val semanticdbVersion = " 4.2.0 "
147
+ val semanticdbVersion = " 4.4.31 "
148
148
val extraParams = BloopExtraBuildParams (
149
149
ownsBuildFiles = None ,
150
150
clientClassesRootDir = None ,
@@ -158,9 +158,9 @@ class BspMetalsClientSpec(
158
158
configDir,
159
159
""" |{
160
160
| "javaSemanticDBVersion": "0.5.7",
161
- | "semanticDBVersion": "4.2.0 ",
161
+ | "semanticDBVersion": "4.4.31 ",
162
162
| "supportedScalaVersions": [
163
- | "2.12.8 "
163
+ | "2.12.15 "
164
164
| ]
165
165
|}
166
166
|""" .stripMargin
@@ -183,7 +183,7 @@ class BspMetalsClientSpec(
183
183
" -P:semanticdb:failures:warning" ,
184
184
" -P:semanticdb:synthetics:on" ,
185
185
" -Xplugin-require:semanticdb" ,
186
- s " -Xplugin:path-to-plugin/semanticdb-scalac_2.12.8 -4.2.0 .jar.jar " ,
186
+ s " -Xplugin:path-to-plugin/semanticdb-scalac_2.12.15 -4.4.31 .jar.jar " ,
187
187
" -Yrangepos"
188
188
)
189
189
val `A` = TestProject (
@@ -196,7 +196,7 @@ class BspMetalsClientSpec(
196
196
val projects = List (`A`)
197
197
val configDir = TestProject .populateWorkspace(workspace, projects)
198
198
val logger = new RecordingLogger (ansiCodesSupported = false )
199
- val semanticdbVersion = " 4.2.0 "
199
+ val semanticdbVersion = " 4.4.31 "
200
200
val extraParams = BloopExtraBuildParams (
201
201
ownsBuildFiles = None ,
202
202
clientClassesRootDir = None ,
@@ -210,9 +210,9 @@ class BspMetalsClientSpec(
210
210
configDir,
211
211
""" |{
212
212
| "javaSemanticDBVersion": "0.5.7",
213
- | "semanticDBVersion": "4.2.0 ",
213
+ | "semanticDBVersion": "4.4.31 ",
214
214
| "supportedScalaVersions": [
215
- | "2.12.8 "
215
+ | "2.12.15 "
216
216
| ]
217
217
|}
218
218
|""" .stripMargin
@@ -226,7 +226,7 @@ class BspMetalsClientSpec(
226
226
227
227
test(" should save workspace settings with cached build" ) {
228
228
TestUtil .withinWorkspace { workspace =>
229
- val semanticdbVersion = " 4.2.0 "
229
+ val semanticdbVersion = " 4.4.31 "
230
230
val javaSemanticdbVersion = " 0.5.7"
231
231
val extraParams = BloopExtraBuildParams (
232
232
ownsBuildFiles = None ,
@@ -303,7 +303,7 @@ class BspMetalsClientSpec(
303
303
304
304
val javaNormalClientsVersion = " 0.5.7"
305
305
val javaMetalsVersion = " 0.1.0"
306
- val normalClientsVersion = " 4.2.0 "
306
+ val normalClientsVersion = " 4.4.31 "
307
307
val metalsClientVersion = " 4.1.11"
308
308
val client1 = createClient(javaNormalClientsVersion, normalClientsVersion)
309
309
val client2 = createClient(javaNormalClientsVersion, normalClientsVersion)
@@ -329,7 +329,7 @@ class BspMetalsClientSpec(
329
329
val logger = new RecordingLogger (ansiCodesSupported = false )
330
330
WorkspaceSettings .writeToFile(
331
331
configDir,
332
- WorkspaceSettings .fromSemanticdbSettings(" 0.5.7" , " 4.2.0 " , List (testedScalaVersion)),
332
+ WorkspaceSettings .fromSemanticdbSettings(" 0.5.7" , " 4.4.31 " , List (testedScalaVersion)),
333
333
logger
334
334
)
335
335
loadBspState(workspace, projects, logger) { state =>
@@ -349,7 +349,7 @@ class BspMetalsClientSpec(
349
349
val logger = new RecordingLogger (ansiCodesSupported = false )
350
350
WorkspaceSettings .writeToFile(
351
351
configDir,
352
- WorkspaceSettings .fromSemanticdbSettings(" 0.5.7" , " 4.1.11 " , List (testedScalaVersion)),
352
+ WorkspaceSettings .fromSemanticdbSettings(" 0.5.7" , " 4.4.31 " , List (testedScalaVersion)),
353
353
logger
354
354
)
355
355
loadBspState(workspace, projects, logger) { state =>
@@ -455,7 +455,7 @@ class BspMetalsClientSpec(
455
455
val extraParams = BloopExtraBuildParams (
456
456
ownsBuildFiles = None ,
457
457
clientClassesRootDir = None ,
458
- semanticdbVersion = Some (" 4.2.0 " ),
458
+ semanticdbVersion = Some (" 4.4.31 " ),
459
459
supportedScalaVersions = Some (List (testedScalaVersion)),
460
460
javaSemanticdbVersion = Some (" 0.5.7" )
461
461
)
0 commit comments