|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Collections 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<WicketTesterHelper.ComponentData> |
getComponentData(Page page)
Gets recursively all Components 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<WicketTesterHelper.ComponentData> getComponentData(Page page)
Components 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 objects
public static void assertEquals(java.util.Collection<?> expects,
java.util.Collection<?> actuals)
Collections contain the same elements.
expects - a Collection objectactuals - a Collection object
public 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 | |||||||||