|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.selenium.guard.request.RequestTypeGuardFactory
public final class RequestTypeGuardFactory
The factory for shortening use of RequestTypeGuards in code.
| Method Summary | |
|---|---|
static AjaxSelenium |
guard(AjaxSelenium selenium,
RequestType requestExpected)
Shortcut for registering a guard for specified request type on given selenium object. |
static AjaxSelenium |
guardHttp(AjaxSelenium selenium)
Shortcut for registering a regular HTTP request on given selenium object. |
static AjaxSelenium |
guardNoRequest(AjaxSelenium selenium)
Shortcut for registering a guard for no request on given selenium object. |
static AjaxSelenium |
guardXhr(AjaxSelenium selenium)
Shortcut for registering a XMLHttpRequest on given selenium object. |
static AjaxSelenium |
waitHttp(AjaxSelenium selenium)
Shortcut for registering guard waiting for interception of HTTP type request |
static AjaxSelenium |
waitXhr(AjaxSelenium selenium)
Shortcut for registering guard waiting for interception of XHR type request |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AjaxSelenium guard(AjaxSelenium selenium,
RequestType requestExpected)
selenium - where should be registered the given request type guardrequestExpected - the request type to be guardedinterlayed - if the expected request is allowed to be preceeded by another request type
public static AjaxSelenium guardXhr(AjaxSelenium selenium)
selenium - where should be registered XMLHttpRequest guard
public static AjaxSelenium guardHttp(AjaxSelenium selenium)
selenium - where should be registered regular HTTP request guard
public static AjaxSelenium guardNoRequest(AjaxSelenium selenium)
selenium - where should be registered no request guard
public static AjaxSelenium waitXhr(AjaxSelenium selenium)
selenium - where should be the guard registered
public static AjaxSelenium waitHttp(AjaxSelenium selenium)
selenium - selenium where should be the guard registered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||