Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

Commit 2bd5aef

Browse files
committed
[3590256] Relax visibility of some methods in HtmlUnit plugin
1 parent 6d9b131 commit 2bd5aef

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ public String getCurrentPageTitle() {
11201120
* response.
11211121
* @return HtmlForm object representing the current active form from the response.
11221122
*/
1123-
private HtmlForm getForm() {
1123+
protected HtmlForm getForm() {
11241124
if (form == null) {
11251125
if (hasForm()) {
11261126
setWorkingForm(getForm(0));
@@ -1174,7 +1174,7 @@ private List<HtmlForm> getForms() {
11741174
return page.getForms();
11751175
}
11761176

1177-
private HtmlPage getCurrentPage() {
1177+
protected HtmlPage getCurrentPage() {
11781178
Page page = win.getEnclosedPage();
11791179
if (page instanceof HtmlPage) {
11801180
return (HtmlPage) page;
@@ -2336,7 +2336,7 @@ private void setTestContext(TestContext testContext) {
23362336
/**
23372337
* @return Returns the testContext.
23382338
*/
2339-
private TestContext getTestContext() {
2339+
protected TestContext getTestContext() {
23402340
return testContext;
23412341
}
23422342

0 commit comments

Comments
 (0)