Uses of Class
org.apache.wicket.util.tester.TagTester
-
Packages that use TagTester 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. -
-
Uses of TagTester in org.apache.wicket.util.tester
Methods in org.apache.wicket.util.tester that return TagTester Modifier and Type Method Description static TagTester
TagTester. createTagByAttribute(String markup, String attribute, String value)
Static factory method for creating aTagTester
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 aTagTester
based on a tag name.TagTester
TagTester. getChild(String tagName)
Checks if the tag has a child with the giventagName
.TagTester
TagTester. getChild(String attribute, String value)
Gets a child tag for testing.TagTester
BaseWicketTester. getTagById(String id)
Retrieves aTagTester
based on an DOM id.TagTester
BaseWicketTester. getTagByWicketId(String wicketId)
Retrieves aTagTester
based on awicket:id
.Methods in org.apache.wicket.util.tester that return types with arguments of type TagTester Modifier and Type Method Description static List<TagTester>
TagTester. createTags(String markup, Function<XmlTag,Boolean> accept, boolean stopAfterFirst)
static List<TagTester>
TagTester. createTagsByAttribute(String markup, String attribute, String value, boolean stopAfterFirst)
Static factory method for creating aTagTester
based on tags 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.
-