File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
testSrc/integration/io/flutter/integrationTest Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ javaVersion=21
1212kotlin.stdlib.default.dependency =false
1313org.gradle.parallel =true
1414org.gradle.jvmargs =-Xms1024m -Xmx4048m
15+
16+ org.gradle.java.installations.auto-detect =false
17+ org.gradle.java.installations.dirs =/opt/jdk-21 # Replace with the actual path where JDK 21 is installed by the GitHub Actions runner
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import com.intellij.ide.starter.models.TestCase
1616import com.intellij.ide.starter.path.GlobalPaths
1717import com.intellij.ide.starter.plugins.PluginConfigurator
1818import com.intellij.ide.starter.project.NoProject
19+ import com.intellij.ide.starter.project.ProjectInfoSpec
1920import com.intellij.ide.starter.runner.Starter
2021import com.intellij.ide.starter.utils.Git
2122import com.intellij.openapi.util.SystemInfo
@@ -100,9 +101,9 @@ class Setup {
100101 *
101102 * @throws IllegalStateException if required system properties are not set
102103 */
103- fun setupTestContext (hyphenateWithClass : String , ideInfo : IdeInfo ): IDETestContext {
104+ fun setupTestContext (hyphenateWithClass : String , ideInfo : IdeInfo , projectInfoSpec : ProjectInfoSpec = NoProject ): IDETestContext {
104105
105- val testCase = TestCase (ideInfo, NoProject )
106+ val testCase = TestCase (ideInfo, projectInfoSpec )
106107
107108 return Starter .newContext(testName = hyphenateWithClass, testCase = testCase).apply {
108109 // Install the plugin that was built by the buildPlugin task
You can’t perform that action at this time.
0 commit comments