资 源 简 介
GUI object tree dump interface for automatic testing
Support automatic use-case testing with a reasonable-speed dump (DUMPQ) of an activity"s view hieararchy. The dump format is compatible with HieararchyViewer"s DUMP ("loadGraph" button). This implementation has the following attributes:
Reasonable performance - Automated testing needs to be 20 to 40x faster than the HieararchyViewer/ViewDebug interface
Extensible - Apps that use OpenGL can expose their GUI hierarchy through this interface and therefore can be tested
Reliability - every dump request must return something, even if only an error indication
Absolute position - test operations through Monkey require the absolute position of a GUI object on the screen
Clipboard access - makes clipboard available with each dump. This is critical for browser testing.