Q7

Unable to replay assertion of Javadoc Hover

Details

  • Test Mode:
    Q7
  • Q7 test:
    Bug 133534 - [5.0][hovering] Missing Javadoc hover on package declarations

Description

Steps to reproduce

  1. Create a pakage with package-info.java
  2. Set comment in package-info
  3. Create a class Foo
  4. Hover over the package declaration of Foo.java
get-editor "Foo.java" | get-text-viewer |  hover-text 1 9
get-window -from "Information Window" | get-control Browser | get-property text | contains "<P>My comment</P></BODY></HTML>" | verify-true

fails with The Window "[parentClass, AbstractInformationControl.<init>()]" could not be found

Issue Links

Activity

Hide
sergey added a comment - 17/Jan/13 2:51 PM

The information to be displayed in the hover window is gathered in the separate thread, we are not able to detect thread inter-dependencies, so we can not automatically wait for that thread termination. See computeInformation method in TextViewerHoverManager class.

As a temporary work around please use something like "wait 1000" or "wait 2000".

Show
sergey added a comment - 17/Jan/13 2:51 PM The information to be displayed in the hover window is gathered in the separate thread, we are not able to detect thread inter-dependencies, so we can not automatically wait for that thread termination. See computeInformation method in TextViewerHoverManager class. As a temporary work around please use something like "wait 1000" or "wait 2000".
Hide
sergey added a comment - 17/Jan/13 6:03 PM

fixed, "wait xxxx" command is no longer necessary

Show
sergey added a comment - 17/Jan/13 6:03 PM fixed, "wait xxxx" command is no longer necessary

People

  • Assignee:
    sergey
    Reporter:
    lena.platova
Vote (0)
Watch (0)

Dates

  • Created:
    16/Jan/13 3:38 PM
    Updated:
    18/Jan/13 1:38 PM
    Resolved:
    17/Jan/13 6:03 PM

Time Tracking

Estimated:
3h
Original Estimate - 3 hours
Remaining:
3h
Remaining Estimate - 3 hours
Logged:
Not Specified
Time Spent - Not Specified