|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectdk.brics.string.java.AssertionBranches
public final class AssertionBranches
A pair of assertion branches (AssertionBranch); corresponding to the
true and false outcomes of a branching condition, respectively.
| Constructor Summary | |
|---|---|
AssertionBranches(AssertionBranch whenFalse,
AssertionBranch whenTrue)
Creates a pair of assertion branches. |
|
AssertionBranches(Method method)
Creates two empty assertion branches. |
|
| Method Summary | |
|---|---|
AssertionBranch |
getWhenFalse()
Gets the assertions that must hold when the condition is false. |
AssertionBranch |
getWhenTrue()
Gets the assertions that must hold when the condition is true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssertionBranches(AssertionBranch whenFalse,
AssertionBranch whenTrue)
whenFalse - assertions that must hold when the condition is false. Must not be null.whenTrue - assertions that must hold when the condition is true. Must not be null.public AssertionBranches(Method method)
| Method Detail |
|---|
public AssertionBranch getWhenFalse()
public AssertionBranch getWhenTrue()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||