Index

A B C D E F G H I N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addRequestHeader(String, String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Allows to set Request header value any time.
afterTestExecution(ExtensionContext) - Method in class org.apache.wicket.util.tester.WicketTesterExtension
 
applyRequest() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Rebuilds ServletWebRequest used by wicket from the mock request used to build requests.
asLined(Collection<?>) - Static method in class org.apache.wicket.util.tester.WicketTesterHelper
A toString method for the given Collection.
assertAjaxLocation() - Method in class org.apache.wicket.util.tester.WicketTester
Asserts that the Ajax location header is present.
assertBehavior(String, Class<? extends Behavior>) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts that the Component a the given path has a behavior of the given type.
assertBookmarkablePageLink(String, Class<? extends WebPage>, PageParameters) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts that that the BookmarkablePageLink identified by "id" points to the page as expected - including parameters.
assertComponent(String, Class<? extends Component>) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts a Component class.
assertComponentFeedbackMessage(Component, String, IModel<?>, IFeedbackMessageFilter) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts that there is a feedback message provided by a given component
assertComponentOnAjaxResponse(String) - Method in class org.apache.wicket.util.tester.WicketTester
Tests that a Component has been added to a AjaxRequestTarget, using IPartialPageRequestHandler.add(Component...).
assertComponentOnAjaxResponse(Component) - Method in class org.apache.wicket.util.tester.WicketTester
Tests that a Component has been added to a AjaxRequestTarget, using IPartialPageRequestHandler.add(Component...).
assertContains(String) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts the content of last rendered page contains (matches) a given regex pattern.
assertContainsNot(String) - Method in class org.apache.wicket.util.tester.WicketTester
assertDisabled(String) - Method in class org.apache.wicket.util.tester.WicketTester
assert component is enabled.
assertEnabled(String) - Method in class org.apache.wicket.util.tester.WicketTester
assert component is enabled.
assertEquals(Collection<?>, Collection<?>) - Static method in class org.apache.wicket.util.tester.WicketTesterHelper
Asserts that both Collections contain the same elements.
assertErrorMessages(Serializable...) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts error-level feedback messages.
assertExists(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
assertFeedback(String, Serializable...) - Method in class org.apache.wicket.util.tester.WicketTester
Assert that a particular feedback panel is rendering certain messages.
assertFeedbackMessages(IFeedbackMessageFilter, Serializable...) - Method in class org.apache.wicket.util.tester.WicketTester
Assert there are feedback messages accepted by the provided filter.
assertInfoMessages(Serializable...) - Method in class org.apache.wicket.util.tester.WicketTester
Assert info-level feedback messages.
assertInvisible(String) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts that a Component is invisible.
assertLabel(String, String) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts the text of a Label Component.
assertMarkupLocale(Component, Locale) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts that a component's markup has loaded with the given locale
assertMarkupStyle(Component, String) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts that a component's markup has loaded with the given style.
assertMarkupVariation(Component, String) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts that a component's markup has loaded with the given variation
assertModelValue(String, Object) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts the model value of a component.
assertNoErrorMessage() - Method in class org.apache.wicket.util.tester.WicketTester
Asserts no error-level feedback messages.
assertNoFeedbackMessage(int) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts there are no feedback messages with a certain level.
assertNoInfoMessage() - Method in class org.apache.wicket.util.tester.WicketTester
Asserts no info-level feedback messages.
assertNotExists(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
assertNotRequired(String) - Method in class org.apache.wicket.util.tester.WicketTester
assert form component is required.
assertRedirectUrl(String) - Method in class org.apache.wicket.util.tester.WicketTester
Assert that the last request redirected to the given Url.
assertRenderedPage(Class<? extends Page>) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts a last-rendered Page class.
assertRequired(String) - Method in class org.apache.wicket.util.tester.WicketTester
assert form component is required.
assertResultPage(Class<?>, String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Asserts last rendered Page against an expected HTML document.
assertResultPage(Class<?>, String) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts last-rendered Page against an expected HTML document.
assertResultPage(String) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts last-rendered Page against an expected HTML document as a String
assertUsability(Component) - Method in class org.apache.wicket.util.tester.WicketTester
Checks whether a component is visible and/or enabled before usage
assertVisible(String) - Method in class org.apache.wicket.util.tester.WicketTester
Asserts that a Component is visible.
assignValueToFormComponent(FormComponent<?>, String) - Method in class org.apache.wicket.util.tester.FormTester.ChoiceSelector
Implements whether toggle or accumulate the selection.

B

BaseWicketTester - Class in org.apache.wicket.util.tester
A helper class to ease unit testing of Wicket applications without the need for a servlet container.
BaseWicketTester() - Constructor for class org.apache.wicket.util.tester.BaseWicketTester
Creates WicketTester and automatically create a WebApplication, but the tester will have no home page.
BaseWicketTester(Class<C>) - Constructor for class org.apache.wicket.util.tester.BaseWicketTester
Creates WicketTester and automatically creates a WebApplication.
BaseWicketTester(WebApplication) - Constructor for class org.apache.wicket.util.tester.BaseWicketTester
Creates a WicketTester.
BaseWicketTester(WebApplication, boolean) - Constructor for class org.apache.wicket.util.tester.BaseWicketTester
Creates a WicketTester.
BaseWicketTester(WebApplication, ServletContext) - Constructor for class org.apache.wicket.util.tester.BaseWicketTester
Creates a WicketTester.
BaseWicketTester(WebApplication, ServletContext, boolean) - Constructor for class org.apache.wicket.util.tester.BaseWicketTester
Creates a WicketTester.
BaseWicketTester(WebApplication, String) - Constructor for class org.apache.wicket.util.tester.BaseWicketTester
Creates a WicketTester.
BaseWicketTester.StartComponentInPage - Class in org.apache.wicket.util.tester
A page that is used as the automatically created page for BaseWicketTester.startComponentInPage(Class) and the other variations.
BaseWicketTester.TestFilterConfig - Class in org.apache.wicket.util.tester
 
beforeTestExecution(ExtensionContext) - Method in class org.apache.wicket.util.tester.WicketTesterExtension
 

C

checkUsability(Component, boolean) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Checks whether a component is visible and/or enabled before usage
ChoiceSelector(FormComponent<?>) - Constructor for class org.apache.wicket.util.tester.FormTester.ChoiceSelector
Constructor.
cleanupFeedbackMessages() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Cleans up feedback messages.
cleanupFeedbackMessages(IFeedbackMessageFilter) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Cleans up feedback messages given the specified filter.
clearFeedbackMessages() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Removes all feedback messages
clickLink(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Click the Link in the last rendered Page.
clickLink(String, boolean) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Click the Link in the last rendered Page.
clickLink(Component) - Method in class org.apache.wicket.util.tester.WicketTester
 
commonAfter() - Method in class org.apache.wicket.util.tester.WicketTestCase
 
commonBefore() - Method in class org.apache.wicket.util.tester.WicketTestCase
 
compareMarkupWithFile(IMarkupFragment, String, Class<?>) - Method in class org.apache.wicket.util.tester.WicketTestCase
Compare the markup provided with the file content
compareMarkupWithString(IMarkupFragment, String) - Method in class org.apache.wicket.util.tester.WicketTestCase
Compare the markup provided with the String
ComponentData() - Constructor for class org.apache.wicket.util.tester.WicketTesterHelper.ComponentData
 
create() - Method in class org.apache.wicket.util.tester.WicketTesterExtension
Allows setup of the tester instance
createOriginHeader() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Build value to Origin header based on RequestCycle Url
createPage() - Method in class org.apache.wicket.util.tester.BaseWicketTester
createPageMarkup(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Creates the markup that will be used for the automatically created Page that will be used to test a component with BaseWicketTester.startComponentInPage(Class, IMarkupFragment)
createTagByAttribute(String, String, String) - Static method in class org.apache.wicket.util.tester.TagTester
Static factory method for creating a TagTester based on a tag found by an attribute with a specific value.
createTagByName(String, String) - Static method in class org.apache.wicket.util.tester.TagTester
Static factory method for creating a TagTester based on a tag name.
createTags(String, Function<XmlTag, Boolean>, boolean) - Static method in class org.apache.wicket.util.tester.TagTester
 
createTagsByAttribute(String, String, String, boolean) - Static method in class org.apache.wicket.util.tester.TagTester
Static factory method for creating a TagTester based on tags found by an attribute with a specific value.

D

debugComponentTrees() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Dumps the Component trees.
debugComponentTrees(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Dumps the Component trees to log.
destroy() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Destroys the tester.
DiffUtil - Class in org.apache.wicket.util.tester
This is a utility class.
DiffUtil() - Constructor for class org.apache.wicket.util.tester.DiffUtil
 
doSelect(int) - Method in class org.apache.wicket.util.tester.FormTester.ChoiceSelector
Selects a given index in a selectable FormComponent.
DummyHomePage - Class in org.apache.wicket.util.tester
A dummy home page, as required by WicketTester.
DummyHomePage() - Constructor for class org.apache.wicket.util.tester.DummyHomePage
Constructor.
DummyHomePage.TestLink - Class in org.apache.wicket.util.tester
TestLink class.
DummyPanelPage - Class in org.apache.wicket.util.tester
A dummy Panel Component.
DummyPanelPage() - Constructor for class org.apache.wicket.util.tester.DummyPanelPage
 
dumpPage() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Dumps the source of last rendered Page.

E

executeAjaxEvent(String, String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Simulates the firing of an Ajax event.
executeAjaxEvent(Component, String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Simulates the firing of an Ajax event.
executeAjaxUrl(Url) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
executeAllTimerBehaviors(MarkupContainer) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Simulates the firing of all ajax timer behaviors on the page
executeBehavior(Class<?>, AbstractAjaxBehavior, String) - Method in class org.apache.wicket.util.tester.WicketTester
 
executeBehavior(AbstractAjaxBehavior) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Builds and processes a request suitable for executing an AbstractAjaxBehavior.
executeBehavior(AbstractAjaxBehavior, String) - Method in class org.apache.wicket.util.tester.WicketTestCase
 
executeListener(Class<?>, Component, String) - Method in class org.apache.wicket.util.tester.WicketTester
 
executeListener(Component) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Simulates processing URL that invokes an IRequestListener on a component.
executeListener(Component, String) - Method in class org.apache.wicket.util.tester.WicketTestCase
 
executeTest(Class<?>, Class<T>, String) - Method in class org.apache.wicket.util.tester.WicketTester
Use -Dwicket.replace.expected.results=true to automatically replace the expected output file.
executeTest(Class<?>, Class<T>, PageParameters, String) - Method in class org.apache.wicket.util.tester.WicketTester
Use -Dwicket.replace.expected.results=true to automatically replace the expected output file.
executeTest(Class<?>, Component, String) - Method in class org.apache.wicket.util.tester.WicketTester
Use -Dwicket.replace.expected.results=true to automatically replace the expected output file.
executeTest(Class<?>, Page, String) - Method in class org.apache.wicket.util.tester.WicketTester
Use -Dwicket.replace.expected.results=true to automatically replace the expected output file.
executeTest(Class<T>, String) - Method in class org.apache.wicket.util.tester.WicketTestCase
Use -Dwicket.replace.expected.results=true to automatically replace the expected output file.
executeTest(Class<T>, PageParameters, String) - Method in class org.apache.wicket.util.tester.WicketTestCase
Use -Dwicket.replace.expected.results=true to automatically replace the expected output file.
executeTest(Page, String) - Method in class org.apache.wicket.util.tester.WicketTestCase
Use -Dwicket.replace.expected.results=true to automatically replace the expected output file.
executeUrl(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Starts a page, a shared resource or a IRequestListener depending on what the IRequestMappers resolve for the passed url.

F

fail(String) - Static method in class org.apache.wicket.util.tester.Result
Returns a Result which failed.
failWithVerboseMessage(Collection<?>, Collection<?>) - Static method in class org.apache.wicket.util.tester.WicketTesterHelper
Fails with a verbose error message.
findAjaxEventBehavior(Component, String) - Static method in class org.apache.wicket.util.tester.WicketTesterHelper
Finds the first AjaxEventBehavior attached to the specified component with the specified event.
findAjaxEventBehaviors(Component, String) - Static method in class org.apache.wicket.util.tester.WicketTesterHelper
Finds all AjaxEventBehavior's attached to the specified component with the specified event.
findBehavior(Component, Class<? extends Behavior>) - Static method in class org.apache.wicket.util.tester.WicketTesterHelper
 
FormTester - Class in org.apache.wicket.util.tester
A helper class for testing validation and submission of FormComponents.
FormTester(String, Form<?>, BaseWicketTester, boolean) - Constructor for class org.apache.wicket.util.tester.FormTester
 
FormTester.ChoiceSelector - Class in org.apache.wicket.util.tester
A selector template for selecting selectable FormComponents with an index of option -- supports RadioGroup, CheckGroup, and AbstractChoice family.

G

getAllComponentsByWicketId(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Returns a List of all Components matching the given Wicket-ID.
getApplication() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Returns the Application for this environment.
getAttribute(String) - Method in class org.apache.wicket.util.tester.TagTester
Gets the value for a given attribute.
getAttributeContains(String, String) - Method in class org.apache.wicket.util.tester.TagTester
Checks if an attribute contains the specified partial value.
getAttributeEndsWith(String, String) - Method in class org.apache.wicket.util.tester.TagTester
Checks if an attribute's value ends with the given parameter.
getAttributeIs(String, String) - Method in class org.apache.wicket.util.tester.TagTester
Checks if an attribute's value is the exact same as the given value.
getBasedir() - Method in class org.apache.wicket.util.tester.WicketTestCase
Returns the current Maven build directory taken from the basedir system property, or null if not set
getBasedir() - Static method in class org.apache.wicket.util.tester.WicketTester
Returns the current Maven build directory taken from the basedir system property, or null if not set
getChild(String) - Method in class org.apache.wicket.util.tester.TagTester
Checks if the tag has a child with the given tagName.
getChild(String, String) - Method in class org.apache.wicket.util.tester.TagTester
Gets a child tag for testing.
getChoiceValueForIndex(int) - Method in class org.apache.wicket.util.tester.FormTester.ChoiceSelector
 
getComponentData(Page) - Static method in class org.apache.wicket.util.tester.WicketTesterHelper
Gets recursively all Components of a given Page, extracts the information relevant to us, and adds them to a List.
getComponentFromLastRenderedPage(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Gets the component with the given path from last rendered page.
getComponentFromLastRenderedPage(String, boolean) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getComponentFromLastRenderedPage(String, boolean, boolean) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Gets the component with the given path from last rendered page.
getContentDispositionFromResponseHeader() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Retrieves the content disposition from the response header.
getContentLengthFromResponseHeader() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Retrieves the content length from the response header.
getContentTypeFromResponseHeader() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Retrieves the content type from the response header.
getFeedbackMessages(IFeedbackMessageFilter) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Retrieves FeedbackMessages.
getFilterName() - Method in class org.apache.wicket.util.tester.BaseWicketTester.TestFilterConfig
 
getFirstComponentByWicketId(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Returns the first Component (breadth-first search) matching the given Wicket-ID.
getForm() - Method in class org.apache.wicket.util.tester.FormTester
Retrieves the current Form object.
getHttpSession() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Returns HttpSession for this environment
getInitParameter(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester.TestFilterConfig
 
getInitParameterNames() - Method in class org.apache.wicket.util.tester.BaseWicketTester.TestFilterConfig
 
getInputValue(FormComponent<?>) - Static method in class org.apache.wicket.util.tester.FormTester
Gets request parameter values for the form component that represents its current model value
getLastModifiedFromResponseHeader() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Retrieves the last-modified value from the response header.
getLastRenderedPage() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getLastRequest() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getLastResponse() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getLastResponseAsString() - Method in class org.apache.wicket.util.tester.BaseWicketTester
The last response as a string when a page is tested via startPage() methods.
getMarkup() - Method in class org.apache.wicket.util.tester.BaseWicketTester.StartComponentInPage
 
getMarkup() - Method in class org.apache.wicket.util.tester.TagTester
Gets the markup for this tag.
getMessage() - Method in class org.apache.wicket.util.tester.Result
Retrieves the error message.
getMessages(int) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Retrieves FeedbackMessages.
getName() - Method in class org.apache.wicket.util.tester.TagTester
Gets the tag's name.
getPreviousRequests() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getPreviousResponses() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getRequest() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getRequestCycle() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getResourcePollFrequency() - Method in class org.apache.wicket.util.tester.BaseWicketTester
By default Modification Watcher is disabled by default for the tests.
getResponse() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getServletContext() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Returns the ServletContext for this environment
getServletContext() - Method in class org.apache.wicket.util.tester.BaseWicketTester.TestFilterConfig
 
getSession() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
getTagById(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Retrieves a TagTester based on an DOM id.
getTagByWicketId(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Retrieves a TagTester based on a wicket:id.
getTagsByWicketId(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Modified version of BaseWicketTester#getTagByWicketId(String) that returns all matching tags instead of just the first.
getTester() - Method in class org.apache.wicket.util.tester.WicketTesterExtension
Gets the tester instance.
getTestPage() - Method in class org.apache.wicket.util.tester.DummyHomePage
 
getTestPageLink() - Method in class org.apache.wicket.util.tester.DummyHomePage
Retrieves the test page Link.
getTestPanel(String) - Method in class org.apache.wicket.util.tester.DummyPanelPage
Creates the panel under test
getTextComponentValue(String) - Method in class org.apache.wicket.util.tester.FormTester
Gets the value for an AbstractTextComponent with the provided id.
getValue() - Method in class org.apache.wicket.util.tester.TagTester
Returns the value for this tag.
getWicketAjaxBaseUrlEncodedInLastResponse() - Method in class org.apache.wicket.util.tester.BaseWicketTester
This method tries to parse the last response to return the encoded base URL and will throw an exception if there none was encoded.

H

handleTestExecutionException(ExtensionContext, Throwable) - Method in class org.apache.wicket.util.tester.WicketTesterExtension
 
hasAttribute(String) - Method in class org.apache.wicket.util.tester.TagTester
Tests if the tag contains the given attribute.
hasChildTag(String) - Method in class org.apache.wicket.util.tester.TagTester
Checks if the tag has a child with the given tagName.
hasLabel(String, String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert the text of Label component.
hasNoErrorMessage() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Asserts no error-level feedback messages.
hasNoFeedbackMessage(int) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Asserts there are no feedback messages with the given level.
hasNoInfoMessage() - Method in class org.apache.wicket.util.tester.BaseWicketTester
Asserts no info-level feedback messages.

I

ifContains(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert the content of last rendered page contains(matches) regex pattern.
ifContainsNot(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert the content of last rendered page contains(matches) regex pattern.
invokeListener(Component) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Simulates invoking an IRequestListener on a component.
invokeListener(Component, Behavior) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Simulates invoking an IRequestListener on a component.
isClearFeedbackMessagesBeforeSubmit() - Method in class org.apache.wicket.util.tester.FormTester
 
isComponent(String, Class<C>) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert component class
isComponentOnAjaxResponse(Component) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Tests that a Component has been added to a AjaxRequestTarget, using IPartialPageRequestHandler.add(org.apache.wicket.Component...).
isDisabled(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert component disabled.
isEnabled - Variable in class org.apache.wicket.util.tester.WicketTesterHelper.ComponentData
Whether Component is Enabled
isEnabled(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert component enabled.
isEqual(Object, Object) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
isExposeExceptions() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
isFollowRedirects() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
isInvisible(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert component invisible.
isNotRequired(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Asserts that a component is not required.
isNotRequired(FormComponent<?>) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Asserts that a component is not required.
isRenderedPage(Class<C>) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Asserts the last rendered Page class.
isRequired(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert component required.
isRequired(FormComponent<?>) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert component required.
isResultPage(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Asserts last rendered Page against an expected HTML document as a String.
isUseRequestUrlAsBase() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
isVisible - Variable in class org.apache.wicket.util.tester.WicketTesterHelper.ComponentData
Component visibility
isVisible(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
assert component visible.

N

newApplication() - Method in class org.apache.wicket.util.tester.WicketTestCase
 
newFormTester(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Creates a FormTester for the Form at a given path, and fills all child FormComponents with blank Strings.
newFormTester(String, boolean) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Creates a FormTester for the Form at a given path.
newServletWebResponse(ServletWebRequest) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
newTestPageManagerProvider() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
newWicketTester(WebApplication) - Method in class org.apache.wicket.util.tester.WicketTestCase
In case you need to subclass WicketTester and want to be independent on possible changes in setUp().

O

onClick() - Method in class org.apache.wicket.util.tester.DummyHomePage.TestLink
 
onInitialize() - Method in class org.apache.wicket.util.tester.DummyPanelPage
 
org.apache.wicket.tester - module org.apache.wicket.tester
 
org.apache.wicket.util.tester - package org.apache.wicket.util.tester
A package with utility classes to ease unit testing of Wicket applications without the need for a servlet container.

P

pass() - Static method in class org.apache.wicket.util.tester.Result
Returns a Result which passed.
PASS - Static variable in class org.apache.wicket.util.tester.Result
 
path - Variable in class org.apache.wicket.util.tester.WicketTesterHelper.ComponentData
Component path.
processRequest() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
processRequest(MockHttpServletRequest) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Processes the request in mocked Wicket environment.
processRequest(MockHttpServletRequest, IRequestHandler) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Processes the request in mocked Wicket environment.
processRequest(MockHttpServletRequest, IRequestHandler, boolean) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Process the request.
processRequest(IRequestHandler) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 

R

replaceExpectedResultFile(String, Class<?>, String) - Static method in class org.apache.wicket.util.tester.DiffUtil
Replace the expected result file with the current output.
Result - Class in org.apache.wicket.util.tester
A Result class.
Result(boolean) - Constructor for class org.apache.wicket.util.tester.Result
 
Result(boolean, String) - Constructor for class org.apache.wicket.util.tester.Result
 

S

select(String, int) - Method in class org.apache.wicket.util.tester.FormTester
Simulates selecting an option of a FormComponent.
selectMultiple(String, int[]) - Method in class org.apache.wicket.util.tester.FormTester
A convenience method to select multiple options for the FormComponent.
selectMultiple(String, int[], boolean) - Method in class org.apache.wicket.util.tester.FormTester
A convenience method to select multiple options for the FormComponent.
servletRequestLocale() - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
setClearFeedbackMessagesBeforeSubmit(boolean) - Method in class org.apache.wicket.util.tester.FormTester
 
setExposeExceptions(boolean) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
setFile(String, File, String) - Method in class org.apache.wicket.util.tester.FormTester
Sets the File on a FileUploadField.
setFollowRedirects(boolean) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Sets whether responses with redirects will be followed automatically.
setLastResponse(MockHttpServletResponse) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
setPageMarkup(IMarkupFragment) - Method in class org.apache.wicket.util.tester.BaseWicketTester.StartComponentInPage
 
setRequest(MockHttpServletRequest) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
setUseRequestUrlAsBase(boolean) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
setValue(String, boolean) - Method in class org.apache.wicket.util.tester.FormTester
 
setValue(String, String) - Method in class org.apache.wicket.util.tester.FormTester
Simulates filling in a field on a Form.
setValue(Component, String) - Method in class org.apache.wicket.util.tester.FormTester
Simulates filling in a field on a Form.
startComponentInPage(C) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Process a component.
startComponentInPage(C, IMarkupFragment) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Process a component.
startComponentInPage(Class<C>) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Process a component.
startComponentInPage(Class<C>, IMarkupFragment) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Process a component.
StartComponentInPage() - Constructor for class org.apache.wicket.util.tester.BaseWicketTester.StartComponentInPage
Construct.
startPage(Class<C>) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Renders a Page from its default constructor.
startPage(Class<C>, PageParameters) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Renders a Page from its default constructor.
startPage(IPageProvider) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Renders the page specified by given IPageProvider.
startPage(T) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Renders the page.
startResource(IResource) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Simulates a request to a mounted IResource
startResourceReference(ResourceReference) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Simulates a request to a mounted ResourceReference
startResourceReference(ResourceReference, PageParameters) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Simulates a request to a mounted ResourceReference
submit() - Method in class org.apache.wicket.util.tester.FormTester
Submits the Form.
submit(String) - Method in class org.apache.wicket.util.tester.FormTester
A convenience method for submitting the Form with an alternate button.
submit(Component) - Method in class org.apache.wicket.util.tester.FormTester
A convenience method for submitting the Form with an alternate button.
submitForm(String) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Submits the Form in the last rendered Page.
submitForm(Form<?>) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Submit the given form in the last rendered Page
submitLink(String, boolean) - Method in class org.apache.wicket.util.tester.FormTester
A convenience method to submit the Form via a SubmitLink which may inside or outside of the Form.

T

TagTester - Class in org.apache.wicket.util.tester
Tag tester is used to test that a generated markup tag contains the correct attributes, values etc.
TEST_PANEL_ID - Static variable in class org.apache.wicket.util.tester.DummyPanelPage
The dummy Panel Component id
tester - Variable in class org.apache.wicket.util.tester.WicketTestCase
 
TestLink(String) - Constructor for class org.apache.wicket.util.tester.DummyHomePage.TestLink
Constructor.
type - Variable in class org.apache.wicket.util.tester.WicketTesterHelper.ComponentData
Component type.

U

urlFor(AjaxLink<?>) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
urlFor(Link<?>) - Method in class org.apache.wicket.util.tester.BaseWicketTester
 
urlFor(IRequestHandler) - Method in class org.apache.wicket.util.tester.BaseWicketTester
Encodes the IRequestHandler to Url.

V

validatePage(String, Class<?>, String, boolean) - Static method in class org.apache.wicket.util.tester.DiffUtil
Compare the output generated by Wicket ("document") with the a previously generated file which contains the expected result.
value - Variable in class org.apache.wicket.util.tester.WicketTesterHelper.ComponentData
Component value.

W

wasFailed() - Method in class org.apache.wicket.util.tester.Result
Returns true if the Result was a failure.
WicketTestCase - Class in org.apache.wicket.util.tester
Base class for tests which require comparing wicket response with a file.
WicketTestCase() - Constructor for class org.apache.wicket.util.tester.WicketTestCase
 
WicketTester - Class in org.apache.wicket.util.tester
A helper class to ease unit testing of Wicket applications without the need for a servlet container.
WicketTester() - Constructor for class org.apache.wicket.util.tester.WicketTester
Creates a WicketTester and automatically creates a WebApplication, but the tester will have no home page.
WicketTester(Class<? extends Page>) - Constructor for class org.apache.wicket.util.tester.WicketTester
Creates a WicketTester and automatically creates a WebApplication.
WicketTester(WebApplication) - Constructor for class org.apache.wicket.util.tester.WicketTester
Creates a WicketTester.
WicketTester(WebApplication, boolean) - Constructor for class org.apache.wicket.util.tester.WicketTester
Creates a WicketTester to help unit testing.
WicketTester(WebApplication, ServletContext) - Constructor for class org.apache.wicket.util.tester.WicketTester
Creates a WicketTester to help unit testing.
WicketTester(WebApplication, ServletContext, boolean) - Constructor for class org.apache.wicket.util.tester.WicketTester
Creates a WicketTester to help unit testing.
WicketTester(WebApplication, String) - Constructor for class org.apache.wicket.util.tester.WicketTester
Creates a WicketTester to help unit testing.
WicketTesterExtension - Class in org.apache.wicket.util.tester
Manages WicketTester instance
WicketTesterExtension() - Constructor for class org.apache.wicket.util.tester.WicketTesterExtension
 
WicketTesterHelper - Class in org.apache.wicket.util.tester
A WicketTester-specific helper class.
WicketTesterHelper() - Constructor for class org.apache.wicket.util.tester.WicketTesterHelper
 
WicketTesterHelper.ComponentData - Class in org.apache.wicket.util.tester
ComponentData class.
A B C D E F G H I N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form