< prev index next >
test/jdk/java/awt/event/MouseEvent/MouseButtonsTest/MouseButtonsTest.java
Print this page
*** 32,52 ****
import test.java.awt.event.helpers.lwcomponents.LWButton;
import test.java.awt.event.helpers.lwcomponents.LWList;
import java.util.ArrayList;
! import static jdk.testlibrary.Asserts.*;
/*
* @test
* @key headful
* @bug 8043126
* @summary Check whether getButton() returns correct mouse button
* number when the mouse buttons are pressed and getModifiers()
* returns correct modifiers
*
! * @library ../../../../../lib/testlibrary/ ../../helpers/lwcomponents/
* @build LWComponent
* @build LWButton
* @build LWList
* @build ExtendedRobot
* @run main/timeout=600 MouseButtonsTest
--- 32,53 ----
import test.java.awt.event.helpers.lwcomponents.LWButton;
import test.java.awt.event.helpers.lwcomponents.LWList;
import java.util.ArrayList;
! import static jdk.test.lib.Asserts.*;
/*
* @test
* @key headful
* @bug 8043126
* @summary Check whether getButton() returns correct mouse button
* number when the mouse buttons are pressed and getModifiers()
* returns correct modifiers
*
! * @library /lib/testlibrary/ ../../helpers/lwcomponents/
! * @library /test/lib
* @build LWComponent
* @build LWButton
* @build LWList
* @build ExtendedRobot
* @run main/timeout=600 MouseButtonsTest
< prev index next >