[JWebUnit-development] [ jwebunit-Patches-3590256 ] Expose some protected methods of HtmlUnitTestin
Brought to you by:
henryju
|
From: SourceForge.net <no...@so...> - 2012-11-27 02:53:39
|
Patches item #3590256, was opened at 2012-11-26 18:53 Message generated for change (Tracker Item Submitted) made by skaffman You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497984&aid=3590256&group_id=61302 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HtmlUnit Group: Release 3.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Kenny MacLeod (skaffman) Assigned to: Nobody/Anonymous (nobody) Summary: Expose some protected methods of HtmlUnitTestingEngine Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497984&aid=3590256&group_id=61302 |