| org.hansel.probes.BranchProbe org.hansel.probes.ACmpBranchProbe
ACmpBranchProbe | public class ACmpBranchProbe extends BranchProbe (Code) | | A probe for a comparing conditional branch. For decision coverage both
possible conditions for the branch have to be encountered.
author: Niklas Mehner. |
Method Summary | |
public void | hit(Object obj1, Object obj2) Called, when a probe is hit. | public void | insertProbeCode(MethodVisitor cv) Returns the code of the probe.
Parameters: cp - ConstantPool all names of methods etc. |
hit | public void hit(Object obj1, Object obj2)(Code) | | Called, when a probe is hit.
Parameters: obj1 - First object to be compared. Parameters: obj2 - Second object to be compared. |
insertProbeCode | public void insertProbeCode(MethodVisitor cv)(Code) | | Returns the code of the probe.
Parameters: cp - ConstantPool all names of methods etc. have to beinserted. List of instructions to call this probe. |
|
|