< prev index next >

test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotEnhancedKeyTest.java

Print this page
rev 51789 : [mq]: asserts

*** 30,40 **** import java.awt.event.InputEvent; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; ! import static jdk.testlibrary.Asserts.assertTrue; /* * NOTE: this is no intentionally a manual test (i.e. has no test tag) because * even on Windows, the various tested key-combination may get partially * intercepted by other applications and this can leave the whole system in an --- 30,40 ---- import java.awt.event.InputEvent; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; ! import static jdk.test.lib.Asserts.assertTrue; /* * NOTE: this is no intentionally a manual test (i.e. has no test tag) because * even on Windows, the various tested key-combination may get partially * intercepted by other applications and this can leave the whole system in an
*** 51,61 **** /* * test 8155742 * * @summary Make sure that modifier key mask is set when robot press * some key with one or more modifiers. ! * @library ../../../../lib/testlibrary/ * @build ExtendedRobot * @key headful * @run main/timeout=600 ModifierRobotEnhancedKeyTest */ --- 51,62 ---- /* * test 8155742 * * @summary Make sure that modifier key mask is set when robot press * some key with one or more modifiers. ! * @library /lib/testlibrary/ ! * @library /test/lib * @build ExtendedRobot * @key headful * @run main/timeout=600 ModifierRobotEnhancedKeyTest */
< prev index next >