changeset 39535:440d2d91ed16

8158616: [TEST_BUG] There is only "Fail" button on the description dialog Reviewed-by: ssadetsky Contributed-by: ambarish.rapte@oracle.com
author arapte
date Wed, 29 Jun 2016 11:51:37 +0530
parents b12e60ec4e0f
children 15aa85454ff5
files jdk/test/java/awt/event/MouseEvent/AltGraphModifierTest/AltGraphModifierTest.java
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/java/awt/event/MouseEvent/AltGraphModifierTest/AltGraphModifierTest.java	Tue Jun 21 15:46:22 2016 -0700
+++ b/jdk/test/java/awt/event/MouseEvent/AltGraphModifierTest/AltGraphModifierTest.java	Wed Jun 29 11:51:37 2016 +0530
@@ -23,10 +23,12 @@
 
 /*
  @test
- @bug 8041928
+ @bug 8041928 8158616
  @summary Confirm that the Alt-Gr Modifier bit is set correctly.
+ @requires (os.family != "windows" & os.family != "mac")
  @run main/manual AltGraphModifierTest
  */
+
 import java.awt.Button;
 import java.awt.Dialog;
 import java.awt.Frame;
@@ -43,10 +45,6 @@
         String[] instructions
                 = {
                     "This test is for verifying Alt-Gr modifier of an event.",
-                    "Windows :-",
-                    "1. Click Pass.",
-                    "2. Alt-Gr modifier is tested under Robot tests.",
-                    " ",
                     "Linux :-",
                     "1. Please check if Alt-Gr key is present on keyboard.",
                     "2. If present, press the Alt-Gr key and perform",
@@ -60,10 +58,6 @@
                     "   TestWindow",
                     "7. Test will exit by itself with appropriate result.",
                     " ",
-                    "Mac :-",
-                    "1. Press Right Option key on the keyboard and mouse click",
-                    "   on the TestWindow",
-                    "3. Test will exit by itself with appropriate result.",
                 };
 
         Sysout.createDialog();