8158616: [TEST_BUG] There is only "Fail" button on the description dialog
authorarapte
Wed, 29 Jun 2016 11:51:37 +0530
changeset 39535 440d2d91ed16
parent 39534 b12e60ec4e0f
child 39536 15aa85454ff5
8158616: [TEST_BUG] There is only "Fail" button on the description dialog Reviewed-by: ssadetsky Contributed-by: ambarish.rapte@oracle.com
jdk/test/java/awt/event/MouseEvent/AltGraphModifierTest/AltGraphModifierTest.java
--- 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();