We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 129ec8b commit aca2a2dCopy full SHA for aca2a2d
ui/kotlinx-coroutines-javafx/test/JavaFxTest.kt
@@ -4,10 +4,9 @@
4
5
package kotlinx.coroutines.experimental.javafx
6
7
-import javafx.application.Platform
+import javafx.application.*
8
import kotlinx.coroutines.experimental.*
9
-import org.junit.Before
10
-import org.junit.Test
+import org.junit.*
11
12
class JavaFxTest : TestBase() {
13
@Before
@@ -19,7 +18,7 @@ class JavaFxTest : TestBase() {
19
18
fun testDelay() {
20
try {
21
initPlatform()
22
- } catch (e: UnsupportedOperationException) {
+ } catch (e: Exception) {
23
println("Skipping JavaFxTest in headless environment")
24
return // ignore test in headless environments
25
}
0 commit comments