Menu

#103 Problem jumping to method

Version 3.0.0.02
closed-fixed
jumptotest (18)
5
2013-02-19
2013-02-10
No

Feedback per mail:

So I have a class under test, and I put my cursor in one method that is only called once from my unit test class. I have the "extended search" flag turned on. I executed the "jump-to-test" function. It went to the unit test, but it only went to the last location I was at in the file. If I didn't have that editor window at the time, it just went to the top of the file.

Discussion

  • Vera Henneberger

    I can reproduce problems when switching to test method.
    I did not active the extended search flag and tried a simple scenario but it did not jump to the method although a marker is next to the method under test.

     
  • Vera Henneberger

    The JumpActionExecutor is called without a method.

     
  • Vera Henneberger

    The reason is that the Jumper class calls the method
    public void executeJumpAction(IFile file)
    instead of
    public void executeJumpAction(IEditorPart editorPart)

     
  • Vera Henneberger

    Fixed in HEAD.

     
  • Vera Henneberger

    • assigned_to: nobody --> ndemengel
    • status: open --> closed-fixed
     

Log in to post a comment.