Package | Description |
---|---|
org.apache.wicket.markup.html |
Base package of HTML markup.
|
org.apache.wicket.mock | |
org.apache.wicket.protocol.http |
HTTP implementation.
|
org.apache.wicket.util.tester |
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
|
Modifier and Type | Method and Description |
---|---|
WebApplication |
WebComponent.getWebApplication()
A convenience method to return the WebApplication.
|
WebApplication |
WebMarkupContainer.getWebApplication()
A convenience method to return the WebApplication.
|
Modifier and Type | Class and Description |
---|---|
class |
MockApplication
WebApplication used for testing. |
Modifier and Type | Method and Description |
---|---|
protected WebApplication |
ContextParamWebApplicationFactory.createApplication(String applicationClassName)
Instantiates the application instance.
|
WebApplication |
IWebApplicationFactory.createApplication(WicketFilter filter)
Create application object
|
WebApplication |
ContextParamWebApplicationFactory.createApplication(WicketFilter filter) |
static WebApplication |
WebApplication.get()
Covariant override for easy getting the current
WebApplication without having to cast
it. |
protected WebApplication |
WicketFilter.getApplication() |
Constructor and Description |
---|
WicketFilter(WebApplication application)
constructor supporting programmatic setup of the filter
this can be useful for programmatically creating and appending the wicket filter to the
servlet context using servlet 3 features.
|
Modifier and Type | Method and Description |
---|---|
WebApplication |
BaseWicketTester.getApplication()
Returns the
Application for this environment. |
protected WebApplication |
WicketTestCase.newApplication() |
Modifier and Type | Method and Description |
---|---|
protected WicketTester |
WicketTestCase.newWicketTester(WebApplication app)
In case you need to subclass WicketTester and want to be independent on possible changes in
setUp().
|
Constructor and Description |
---|
BaseWicketTester(WebApplication application)
Creates a
WicketTester . |
BaseWicketTester(WebApplication application,
boolean init)
Creates a
WicketTester . |
BaseWicketTester(WebApplication application,
javax.servlet.ServletContext servletCtx)
Creates a
WicketTester . |
BaseWicketTester(WebApplication application,
javax.servlet.ServletContext servletCtx,
boolean init)
Creates a
WicketTester . |
BaseWicketTester(WebApplication application,
String servletContextBasePath)
Creates a
WicketTester . |
WicketTester(WebApplication application)
Creates a
WicketTester . |
WicketTester(WebApplication application,
boolean init)
Creates a
WicketTester to help unit testing. |
WicketTester(WebApplication application,
javax.servlet.ServletContext servletCtx)
Creates a
WicketTester to help unit testing. |
WicketTester(WebApplication application,
javax.servlet.ServletContext servletCtx,
boolean init)
Creates a
WicketTester to help unit testing. |
WicketTester(WebApplication application,
String path)
Creates a
WicketTester to help unit testing. |
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.