mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
[terminal] IJPL-248564 Do not run copy on select test on Linux
(cherry picked from commit 226d34b90a1123d409e7a0c44ab91922c8a82689) IJ-CR-211956 GitOrigin-RevId: 3cb37039664808c2c027e523139dc5643efc4315
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c459b0fade
commit
585c8ce8ad
+3
@@ -12,7 +12,9 @@ import com.intellij.testFramework.fixtures.BasePlatformTestCase
|
||||
import kotlinx.coroutines.cancel
|
||||
import org.jetbrains.plugins.terminal.block.reworked.lang.TerminalOutputPsiFile
|
||||
import org.jetbrains.plugins.terminal.util.terminalProjectScope
|
||||
import org.junit.Assume
|
||||
import org.junit.Test
|
||||
import org.junit.jupiter.api.condition.OS
|
||||
import org.junit.runner.RunWith
|
||||
import org.junit.runners.JUnit4
|
||||
import java.awt.Component
|
||||
@@ -27,6 +29,7 @@ internal class TerminalCopyOnSelectionTest : BasePlatformTestCase() {
|
||||
override fun setUp() {
|
||||
super.setUp()
|
||||
defaultFocusManager = KeyboardFocusManager.getCurrentKeyboardFocusManager()
|
||||
Assume.assumeTrue("Can't run this test on Linux because non-headless mode is required to access system selection content", OS.current() != OS.LINUX)
|
||||
}
|
||||
|
||||
override fun tearDown() {
|
||||
|
||||
Reference in New Issue
Block a user