From bf4399c460f3ab156611ea8889d9004686283082 Mon Sep 17 00:00:00 2001 From: Dmitry Lyubin Date: Sat, 8 Feb 2025 10:38:14 +0300 Subject: [PATCH] OPENIDE fixed missing values in jdk test (cherry picked from commit 03b26f828dd07f9e25dce5ce66cb64fafc8c0601) (cherry picked from commit 7f5f1f523bf25ef61c279e0f6eaa6e781258b64f) (cherry picked from commit 163fe4be09c22902f429f984165fd71030c20eb5) (cherry picked from commit d28a4f2d033b1d3778c9fc05da7a688709226959) (cherry picked from commit 76dccfe0b60684fa88973f411838102619db9e5e) --- .../openapi/projectRoots/impl/jdkDownloader/JdkUpdateTest.kt | 3 ++- .../projectRoots/impl/jdkDownloader/JdkDownloaderTest.kt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/java/idea-ui/testSrc/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkUpdateTest.kt b/java/idea-ui/testSrc/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkUpdateTest.kt index 7129dbe395d6..4045033e5628 100644 --- a/java/idea-ui/testSrc/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkUpdateTest.kt +++ b/java/idea-ui/testSrc/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkUpdateTest.kt @@ -239,7 +239,8 @@ private fun jdkItemForTest(url: String, archiveFileName = url.split("/").last(), installFolderName = url.split("/").last().removeSuffix(".tar.gz").removeSuffix(".zip"), sharedIndexAliases = listOf(), - saveToFile = {} + saveToFile = {}, + isLicenseAccepted = false ) private fun doEventsWhile(iterations: Int = Int.MAX_VALUE / 2, diff --git a/platform/lang-impl/testSources/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloaderTest.kt b/platform/lang-impl/testSources/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloaderTest.kt index c3a327b50f0d..679f49c8e0e7 100644 --- a/platform/lang-impl/testSources/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloaderTest.kt +++ b/platform/lang-impl/testSources/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloaderTest.kt @@ -43,6 +43,7 @@ internal fun jdkItemForTest(url: String, jdkVersion = "123.123", jdkVendorVersion = null, suggestedSdkName = "suggested", + isLicenseAccepted = false, os = "windows", arch = "jetbrains-hardware", packageType = packageType,