File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
bulk-model-sync-lib-mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test
mps-model-adapters-plugin/src/test/kotlin/org/modelix/model/mpsadapters Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ import java.util.regex.Pattern
29
29
private val TESTDATA_PATTERN = Pattern .compile(" .*\\ (testdata (.*)\\ )" )
30
30
31
31
abstract class MPSTestBase : HeavyPlatformTestCase () {
32
+ init {
33
+ // workaround for MPS 2023.3 failing to start in test mode
34
+ System .setProperty(" intellij.platform.load.app.info.from.resources" , " true" )
35
+ }
32
36
33
37
protected lateinit var projectDir: Path
34
38
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ import kotlin.io.path.deleteRecursively
39
39
*/
40
40
@Suppress(" removal" )
41
41
abstract class MpsAdaptersTestBase (val testDataName : String? ) : UsefulTestCase() {
42
+ init {
43
+ // workaround for MPS 2023.3 failing to start in test mode
44
+ System .setProperty(" intellij.platform.load.app.info.from.resources" , " true" )
45
+ }
42
46
43
47
protected lateinit var project: Project
44
48
You can’t perform that action at this time.
0 commit comments