Skip to content

Commit

Permalink
chore: upgrade jdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
teodora-sandu committed Mar 27, 2024
1 parent 413a83a commit a889c92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ version = scmVersion.version
group = properties("pluginGroup")
description = properties("pluginName")

val jdk = "17"
val jdk = "17.0.10"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,22 +123,24 @@ class SuggestionDescriptionPanelFromLSTest : BasePlatformTestCase() {
every { issue.additionalData.details } returns "<html>HTML message</html>"
cut = SuggestionDescriptionPanelFromLS(snykCodeFile, issue)

Registry.get("ide.browser.jcef.enabled").setValue("false")

val actual = getJLabelByText(cut, "<html>Test message</html>")
assertNull(actual)

val actualBrowser = getJBCEFBrowser(cut)
assertNull(actualBrowser)
}

// in the CI/CD JCEF is not enabled
@Test
@Ignore
fun `test createUI should build panel with HTML from details if feature flag is enabled`() {
pluginSettings().isGlobalIgnoresFeatureEnabled = true

every { issue.additionalData.details } returns "<html>HTML message</html>"
cut = SuggestionDescriptionPanelFromLS(snykCodeFile, issue)

Registry.get("ide.browser.jcef.enabled").setValue("true")

val actual = getJLabelByText(cut, "<html>Test message</html>")
assertNull(actual)

Expand Down

0 comments on commit a889c92

Please sign in to comment.