public class SingularWicketTester
extends org.apache.wicket.util.tester.WicketTester
| Constructor and Description |
|---|
SingularWicketTester() |
SingularWicketTester(boolean turnOnSerializationCheck)
Deprecated.
|
SingularWicketTester(boolean turnOnSerializationCheck,
org.apache.wicket.protocol.http.WebApplication application)
Deprecated.
|
SingularWicketTester(Class<? extends org.apache.wicket.Page> homePage) |
SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application) |
SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application,
boolean init) |
SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application,
javax.servlet.ServletContext servletCtx) |
SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application,
javax.servlet.ServletContext servletCtx,
boolean init) |
SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application,
String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkToastrSuccessMessage(String expectedMessage) |
AssertionsWComponent |
getAssertionsForm()
Criar um objeto de assertivas para o form da última página executada (assume que o ID é 'form').
|
AssertionsWComponent |
getAssertionsForPath(String path)
Criar um objeto de assertivas para o componente indicado no path da última página executada.
|
AssertionsWComponent |
getAssertionsForSubComp(String id)
Cria um objeto de assertivas para o sub componente na hierarquia que for encontrado com o id informado ou dispara
exception senão encontrar o componente.
|
AssertionsSInstance |
getAssertionsInstance() |
AssertionsWComponent |
getAssertionsPage()
Criar um objeto de assertivas para a última página executada.
|
SingularFormTester |
newSingularFormTester(String path) |
SingularFormTester |
newSingularFormTester(String path,
boolean fillBlankString) |
<T extends SType<?>> |
newSingularSTypeTester(Class<? extends T> sypeClass) |
assertAjaxLocation, assertBookmarkablePageLink, assertComponent, assertComponentFeedbackMessage, assertComponentOnAjaxResponse, assertComponentOnAjaxResponse, assertContains, assertContainsNot, assertDisabled, assertEnabled, assertErrorMessages, assertFeedback, assertFeedbackMessages, assertInfoMessages, assertInvisible, assertLabel, assertListView, assertMarkupLocale, assertMarkupStyle, assertMarkupVariation, assertModelValue, assertNoErrorMessage, assertNoFeedbackMessage, assertNoInfoMessage, assertNotRequired, assertRedirectUrl, assertRenderedPage, assertRequired, assertResultPage, assertResultPage, assertUsability, assertVisible, clickLink, executeBehavior, executeListener, executeTest, executeTest, executeTest, executeTest, getBasediraddRequestHeader, applyRequest, checkUsability, cleanupFeedbackMessages, cleanupFeedbackMessages, clearFeedbackMessages, clickLink, clickLink, createPage, createPageMarkup, debugComponentTrees, debugComponentTrees, destroy, dumpPage, executeAjaxEvent, executeAjaxEvent, executeAjaxUrl, executeAllTimerBehaviors, executeBehavior, executeListener, executeListener, executeUrl, getApplication, getComponentFromLastRenderedPage, getComponentFromLastRenderedPage, getContentDispositionFromResponseHeader, getContentLengthFromResponseHeader, getContentTypeFromResponseHeader, getFeedbackMessages, getHttpSession, getLastModifiedFromResponseHeader, getLastRenderedPage, getLastRequest, getLastResponse, getLastResponseAsString, getMessages, getPreviousRequests, getPreviousResponses, getRequest, getRequestCycle, getResourcePollFrequency, getResponse, getServletContext, getSession, getTagById, getTagByWicketId, getTagsByWicketId, getWicketAjaxBaseUrlEncodedInLastResponse, hasLabel, hasNoErrorMessage, hasNoFeedbackMessage, hasNoInfoMessage, ifContains, ifContainsNot, invokeListener, isComponent, isComponentOnAjaxResponse, isDisabled, isEnabled, isEqual, isExposeExceptions, isFollowRedirects, isInvisible, isNotRequired, isNotRequired, isRenderedPage, isRequired, isRequired, isResultPage, isUseRequestUrlAsBase, isVisible, newFormTester, newFormTester, newServletWebResponse, newTestPageManagerProvider, processRequest, processRequest, processRequest, processRequest, processRequest, setExposeExceptions, setFollowRedirects, setLastResponse, setRequest, setUseRequestUrlAsBase, startComponentInPage, startComponentInPage, startComponentInPage, startComponentInPage, startPage, startPage, startPage, startPage, startResource, startResourceReference, startResourceReference, submitForm, submitForm, urlFor, urlFor, urlForpublic SingularWicketTester()
@Deprecated public SingularWicketTester(boolean turnOnSerializationCheck)
public SingularWicketTester(Class<? extends org.apache.wicket.Page> homePage)
public SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application)
@Deprecated public SingularWicketTester(boolean turnOnSerializationCheck, org.apache.wicket.protocol.http.WebApplication application)
public SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application,
String path)
public SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application,
javax.servlet.ServletContext servletCtx)
public SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application,
boolean init)
public SingularWicketTester(org.apache.wicket.protocol.http.WebApplication application,
javax.servlet.ServletContext servletCtx,
boolean init)
public final AssertionsWComponent getAssertionsPage()
public final AssertionsSInstance getAssertionsInstance()
public final AssertionsWComponent getAssertionsForm()
public final AssertionsWComponent getAssertionsForPath(String path)
public final AssertionsWComponent getAssertionsForSubComp(String id)
public SingularFormTester newSingularFormTester(String path)
public SingularFormTester newSingularFormTester(String path, boolean fillBlankString)
public <T extends SType<?>> STypeTester<T> newSingularSTypeTester(Class<? extends T> sypeClass)
public void checkToastrSuccessMessage(String expectedMessage)
Copyright © 2017. All rights reserved.