mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-21 04:24:12 +00:00
Resolves checkstyle errors for remaining p (#1091)
* Reduces checkstyle errors in page-object * Reduces checkstyle errors in partial-response * Reduces checkstyle errors in pipeline * Reduces checkstyle errors in poison-pill * Reduces checkstyle errors in priority-queue * Reduces checkstyle errors in private-class-data * Reduces checkstyle errors in property * Reduces checkstyle errors in prototype * Reduces checkstyle errors in proxy
This commit is contained in:
committed by
Ilkka Seppälä
parent
1fdc650545
commit
271d7ae9bd
@@ -26,20 +26,19 @@ package com.iluwatar.pageobject;
|
||||
import com.gargoylesoftware.htmlunit.WebClient;
|
||||
|
||||
/**
|
||||
* Encapsulation for a generic 'Page'
|
||||
* Encapsulation for a generic 'Page'.
|
||||
*/
|
||||
public abstract class Page {
|
||||
|
||||
/**
|
||||
* Application Under Test path
|
||||
* This directory location is where html web pages are located
|
||||
* Application Under Test path This directory location is where html web pages are located.
|
||||
*/
|
||||
public static final String AUT_PATH = "../sample-application/src/main/resources/sample-ui/";
|
||||
|
||||
protected final WebClient webClient;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* Constructor.
|
||||
*
|
||||
* @param webClient {@link WebClient}
|
||||
*/
|
||||
@@ -48,7 +47,7 @@ public abstract class Page {
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks that the current page is actually the page this page object represents
|
||||
* Checks that the current page is actually the page this page object represents.
|
||||
*
|
||||
* @return true if so, otherwise false
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user