File tree 1 file changed +0
-12
lines changed
tests/system/src/test/java/test/robot/javafx/embed/swing
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 26
26
package test .robot .javafx .embed .swing ;
27
27
28
28
import java .awt .Robot ;
29
- import java .lang .reflect .InvocationTargetException ;
30
29
import java .util .List ;
31
30
import java .util .concurrent .CountDownLatch ;
32
31
import java .util .concurrent .TimeUnit ;
33
- import javax .swing .SwingUtilities ;
34
32
35
33
import javafx .application .Platform ;
36
34
import javafx .scene .paint .Color ;
37
- import org .junit .jupiter .api .AfterAll ;
38
35
import org .junit .jupiter .api .Assumptions ;
39
36
import org .junit .jupiter .api .BeforeAll ;
40
37
import org .junit .jupiter .api .MethodOrderer .OrderAnnotation ;
@@ -55,7 +52,6 @@ public class LinuxScreencastHangCrashTest {
55
52
private static final int DELAY_KEEP_SESSION = DELAY_BEFORE_SESSION_CLOSE - 1000 ;
56
53
57
54
private static volatile boolean isFxStarted = false ;
58
- private static volatile boolean isFirstRun = true ;
59
55
60
56
@ BeforeAll
61
57
public static void init () throws Exception {
@@ -109,14 +105,6 @@ private static void initFX() {
109
105
}
110
106
}
111
107
112
- private static void checkFirstRun () {
113
- if (isFirstRun ) {
114
- isFirstRun = false ;
115
- } else {
116
- robot .delay (DELAY_WAIT_FOR_SESSION_TO_CLOSE );
117
- }
118
- }
119
-
120
108
@ Test
121
109
@ Order (1 )
122
110
@ Timeout (value =30 )
You can’t perform that action at this time.
0 commit comments