|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.util.tester.WicketTesterHelper
public class WicketTesterHelper
A WicketTester
-specific helper class.
Nested Class Summary | |
---|---|
static class |
WicketTesterHelper.ComponentData
ComponentData class. |
Constructor Summary | |
---|---|
WicketTesterHelper()
|
Method Summary | |
---|---|
static java.lang.String |
asLined(java.util.Collection objects)
A toString method for the given Collection . |
static void |
assertEquals(java.util.Collection expects,
java.util.Collection actuals)
Asserts that both Collection s contain the same elements. |
static void |
failWithVerboseMessage(java.util.Collection expects,
java.util.Collection actuals)
Fails with a verbose error message. |
static java.util.List |
getComponentData(Page page)
Gets recursively all Component s of a given Page , extracts the
information relevant to us, and adds them to a List . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WicketTesterHelper()
Method Detail |
---|
public static java.util.List getComponentData(Page page)
Component
s of a given Page
, extracts the
information relevant to us, and adds them to a List
.
page
- the Page
to analyze
List
of Component
data objectspublic static void assertEquals(java.util.Collection expects, java.util.Collection actuals)
Collection
s contain the same elements.
expects
- a Collection
objectactuals
- a Collection
objectpublic static void failWithVerboseMessage(java.util.Collection expects, java.util.Collection actuals)
expects
- a Collection
objectactuals
- a Collection
objectpublic static java.lang.String asLined(java.util.Collection objects)
toString
method for the given Collection
.
objects
- a Collection
object
String
representation of the Collection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |