|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.TestUtil
public class TestUtil
Field Summary | |
---|---|
static boolean |
keepWaiting
|
Constructor Summary | |
---|---|
TestUtil()
|
Method Summary | |
---|---|
static boolean |
equalsWithNulls(java.lang.Object s1,
java.lang.Object s2)
If both args are null , return
true . |
static java.lang.String |
printTree(UIComponent root)
Output of printTree() as a String. |
static void |
printTree(UIComponent root,
java.io.PrintStream out)
Output of printTree() to a PrintStream. |
static void |
printTree(UIComponent root,
java.io.Writer out)
|
static void |
waitForDebugger()
Usage: |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean keepWaiting
Constructor Detail |
---|
public TestUtil()
Method Detail |
---|
public static void waitForDebugger()
Place a call to this method in the earliest possible entry point of your servlet app. It will cause the app to enter into an infinite loop, sleeping until the static var keepWaiting is set to false. The idea is that you attach your debugger to the servlet, then, set a breakpont in this method. When it is hit, you use the debugger to set the keepWaiting class var to false.
public static boolean equalsWithNulls(java.lang.Object s1, java.lang.Object s2)
If both args are null
, return
true
.
If both args are non-null
, return
s1.equals(s2)
Otherwise, return false
.
public static java.lang.String printTree(UIComponent root)
public static void printTree(UIComponent root, java.io.PrintStream out)
public static void printTree(UIComponent root, java.io.Writer out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |