| java.lang.Object org.hansel.Probe org.hansel.probes.SelectProbe
SelectProbe | public class SelectProbe extends Probe (Code) | | |
Method Summary | |
public boolean | coverageFailure() | public boolean | displayFailure() Return wether this probe failed to be covered.
A probe for a conditional branch fails, if the branch is only taken,
or only omitted. | public String | getFailureMessage() Return the filure message for this probe. | public void | hit(int value) | public void | insertProbeCode(MethodVisitor cv) |
SelectProbe | public SelectProbe(ProbeData pd, int min, int max, Label dflt, Label labels)(Code) | | |
SelectProbe | public SelectProbe(ProbeData pd, Label dflt, int[] keys, Label[] labels)(Code) | | |
coverageFailure | public boolean coverageFailure()(Code) | | |
displayFailure | public boolean displayFailure()(Code) | | Return wether this probe failed to be covered.
A probe for a conditional branch fails, if the branch is only taken,
or only omitted. If both cases are encountered, the probe is fully
covered. If the probe is not executed at all, this method still returns
false, because in that case, another probe has to fail (otherwise this
probe had been reached). Because the other failure is more important,
the result of this probe is left out in this case.
true If covering this probe failed. |
getFailureMessage | public String getFailureMessage()(Code) | | Return the filure message for this probe.
Failure message. |
hit | public void hit(int value)(Code) | | |
insertProbeCode | public void insertProbeCode(MethodVisitor cv)(Code) | | |
|
|