Class PacteDebug
java.lang.Object
org.ampere.base.util.PacteDebug
-
Method Summary
Modifier and TypeMethodDescriptionbooleandebugCondition(boolean ok, boolean startingCondition) static voiddebugInt(int i, int target) Debug for a int value matchingstatic voiddebugIntGE(int i, int target) Introduce a debug point when a int is greater or equal to a targetstatic voidDebug for a name matchingstatic voidbooleanDebug for a end string conditionstatic booleanstatic PacteDebugbooleanmatchInt(int i, int target, boolean startingCondition) static booleanmatchInt_(int i, int target) booleanDebug for a name conditionstatic booleanmatchName_(String found, String expected) voidstart(boolean condition) static voidtoString()
-
Method Details
-
getSingleton
-
start
public void start(boolean condition) -
startWith
-
endWith_
-
endWith
-
endWith
-
debugIntGE
public static void debugIntGE(int i, int target) Introduce a debug point when a int is greater or equal to a target- Parameters:
i- current valuetarget- targeted value
-
matchInt_
public static boolean matchInt_(int i, int target) -
matchInt
public boolean matchInt(int i, int target, boolean startingCondition) -
debugInt
public static void debugInt(int i, int target) Debug for a int value matching- Parameters:
i- tested valuetarget- defined target
-
matchName_
-
matchName
-
debugName
-
debugCondition
public boolean debugCondition(boolean ok, boolean startingCondition) -
toString
-