Menu

#40 Expose some protected methods of HtmlUnitTestingEngine

Release_3.2
closed-fixed
HtmlUnit (3)
5
2012-11-27
2012-11-27
No

I have a custom subclass of HtmlUnitTestingEngineImpl to modify its behaviour slightly, and this needs access to some methods which are currently private, and have to be accessed via reflection. It would be much nicer if they were protected instead of private.

The methods are:

getTestContext
getForm
getCurrentPage

See attached patch to do this.

Discussion

  • Kenny MacLeod

    Kenny MacLeod - 2012-11-27
     
  • Julien HENRY

    Julien HENRY - 2012-11-27
    • assigned_to: nobody --> henryju
    • milestone: 1295998 --> Release_3.2
    • status: open --> closed-fixed
     

Log in to post a comment.