Java Doc for Bugs.java in  » Testing » abbot-1.0.1 » abbot » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » abbot 1.0.1 » abbot.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   abbot.util.Bugs

Bugs
public class Bugs (Code)
Provides extant bug characterization of the current platform. For any bug encountered, there should be a static method indicating whether the bug is expected on the current platform, for example Bugs.showAWTPopupMenuBlocks() . See the source for BugsTest for the test implementations.
author:
   twall




Method Summary
public static  String[]bugCheck(Window window)
     Check for certain robot-related bugs that will affect Abbot operation.
public static  booleandragDropRequiresNativeEvents()
     Whether drag/drop requires native events.
public static  booleanfileDialogMisreportsBounds()
     Returns whether a java.awt.FileDialog misreports its screen location.
public static  booleanfileDialogRequiresDismiss()
     Returns whether a java.awt.FileDialog requires an explicit dismiss (ok/cancel).
public static  booleanfileDialogRequiresVisibleFrame()
    
public static  booleanhasChoiceLockupBug()
     Choice popup activates on mouse press, but locks up when the Robot attempts to post a mouse release.
public static  booleanhasEscapeGenerationBug()
     Robot.keyPress(KeyEvent.VK_ESCAPE doesn't work.
public static  booleanhasFrameDeiconifyBug()
     Some OSX releases wouldn't restore an iconified Frame.
public static  booleanhasHierarchyEventGenerationBug()
     Prior to 1.4.1, hierarchy events are only sent if listeners are added to a given component.
public static  booleanhasInputMethodInsteadOfKeyTyped()
     Returns whether KEY_TYPED events are sent to AWT listeners.
public static  booleanhasKeyInputDelay()
     Returnes whether there a longer delay required between robot generation and event queue posting for key events.
public static  booleanhasKeyStrokeGenerationBug()
     OSX prior to 1.4 has really crappy key input handling.
public static  booleanhasMenuDisableBug()
     Returns whether AWT menus have enable/disable problems.
public static  booleanhasMissingWindowMouseMotion()
     Returns whether windows send mouse motion events to AWT listeners.
public static  booleanhasMultiClickFrameBug()
    
public static  booleanhasNoAWTInputOnTextFieldBug()
    
public static  booleanhasRobotButtonsSwapped()
     Returns whether mouse buttons 2/3 are swapped when using Robot.
public static  booleanhasRobotMotionBug()
     OS X (as of 1.3.1, v10.1.5), will sometimes send a click to the wrong component after a mouse move.
public static  booleanhasTextComponentSelectionDelay()
    
public static  booleanlocksUpOnScreenCapture()
    
public static  booleanneedsRobotVerification()
     Returns whether there may be some scenarios in which the robot does not function properly.
public static  booleanreportsIncorrectLockingKeyState()
     Locking key state is reported incorrectly.
public static  booleanshowAWTPopupMenuBlocks()
     Returns whether the Java event queue is suspended while an AWT popup is showing.



Method Detail
bugCheck
public static String[] bugCheck(Window window)(Code)
Check for certain robot-related bugs that will affect Abbot operation. Returns a String for each bug detected on the current system.



dragDropRequiresNativeEvents
public static boolean dragDropRequiresNativeEvents()(Code)
Whether drag/drop requires native events.



fileDialogMisreportsBounds
public static boolean fileDialogMisreportsBounds()(Code)
Returns whether a java.awt.FileDialog misreports its screen location.



fileDialogRequiresDismiss
public static boolean fileDialogRequiresDismiss()(Code)
Returns whether a java.awt.FileDialog requires an explicit dismiss (ok/cancel). Ordinarily Window.dispose will work.



fileDialogRequiresVisibleFrame
public static boolean fileDialogRequiresVisibleFrame()(Code)



hasChoiceLockupBug
public static boolean hasChoiceLockupBug()(Code)
Choice popup activates on mouse press, but locks up when the Robot attempts to post a mouse release.



hasEscapeGenerationBug
public static boolean hasEscapeGenerationBug()(Code)
Robot.keyPress(KeyEvent.VK_ESCAPE doesn't work.



hasFrameDeiconifyBug
public static boolean hasFrameDeiconifyBug()(Code)
Some OSX releases wouldn't restore an iconified Frame.



hasHierarchyEventGenerationBug
public static boolean hasHierarchyEventGenerationBug()(Code)
Prior to 1.4.1, hierarchy events are only sent if listeners are added to a given component.



hasInputMethodInsteadOfKeyTyped
public static boolean hasInputMethodInsteadOfKeyTyped()(Code)
Returns whether KEY_TYPED events are sent to AWT listeners.



hasKeyInputDelay
public static boolean hasKeyInputDelay()(Code)
Returnes whether there a longer delay required between robot generation and event queue posting for key events.



hasKeyStrokeGenerationBug
public static boolean hasKeyStrokeGenerationBug()(Code)
OSX prior to 1.4 has really crappy key input handling.



hasMenuDisableBug
public static boolean hasMenuDisableBug()(Code)
Returns whether AWT menus have enable/disable problems.



hasMissingWindowMouseMotion
public static boolean hasMissingWindowMouseMotion()(Code)
Returns whether windows send mouse motion events to AWT listeners.



hasMultiClickFrameBug
public static boolean hasMultiClickFrameBug()(Code)
Do we get multiple clicks even when the individual clicks are on different frames?



hasNoAWTInputOnTextFieldBug
public static boolean hasNoAWTInputOnTextFieldBug()(Code)



hasRobotButtonsSwapped
public static boolean hasRobotButtonsSwapped()(Code)
Returns whether mouse buttons 2/3 are swapped when using Robot.



hasRobotMotionBug
public static boolean hasRobotMotionBug()(Code)
OS X (as of 1.3.1, v10.1.5), will sometimes send a click to the wrong component after a mouse move. This continues to be an issue in 1.4.1

Linux x86 (1.3.1) has a similar problem, although it manifests it at different times (need a bug test case for this one).

Solaris and HPUX probably share code with the linux VM implementation, so the bug there is probably identical.




hasTextComponentSelectionDelay
public static boolean hasTextComponentSelectionDelay()(Code)



locksUpOnScreenCapture
public static boolean locksUpOnScreenCapture()(Code)



needsRobotVerification
public static boolean needsRobotVerification()(Code)
Returns whether there may be some scenarios in which the robot does not function properly.



reportsIncorrectLockingKeyState
public static boolean reportsIncorrectLockingKeyState()(Code)
Locking key state is reported incorrectly. Later versions (at least 1.4.2_11) throw UnsupportedOperationException).



showAWTPopupMenuBlocks
public static boolean showAWTPopupMenuBlocks()(Code)
Returns whether the Java event queue is suspended while an AWT popup is showing.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.