Package | Description |
---|---|
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 |
---|---|
static TagTester |
TagTester.createTagByAttribute(String markup,
String tagName)
Deprecated.
use
createTagByName(String, String) instead |
static TagTester |
TagTester.createTagByAttribute(String markup,
String attribute,
String value)
Static factory method for creating a
TagTester based on a tag found by an
attribute with a specific value. |
static TagTester |
TagTester.createTagByName(String markup,
String tagName)
Static factory method for creating a
TagTester based on a tag name. |
static TagTester |
TagTester.createTagsByAttribute(String markup,
String attribute,
String value)
Deprecated.
|
TagTester |
TagTester.getChild(String tagName)
Checks if the tag has a child with the given
tagName . |
TagTester |
TagTester.getChild(String attribute,
String value)
Gets a child tag for testing.
|
TagTester |
BaseWicketTester.getTagById(String id)
Retrieves a
TagTester based on an DOM id. |
TagTester |
BaseWicketTester.getTagByWicketId(String wicketId)
Retrieves a
TagTester based on a wicket:id . |
Modifier and Type | Method and Description |
---|---|
static List<TagTester> |
TagTester.createTagsByAttribute(String markup,
String attribute,
String value,
boolean stopAfterFirst)
Static factory method for creating a
TagTester based on a tag found by an
attribute with a specific value. |
List<TagTester> |
BaseWicketTester.getTagsByWicketId(String wicketId)
Modified version of BaseWicketTester#getTagByWicketId(String) that returns all matching tags
instead of just the first.
|
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.