diff options
Diffstat (limited to 'org.jacoco.core.test/src/org/jacoco/core/internal/flow/MethodProbesAdapterTest.java')
-rw-r--r-- | org.jacoco.core.test/src/org/jacoco/core/internal/flow/MethodProbesAdapterTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/org.jacoco.core.test/src/org/jacoco/core/internal/flow/MethodProbesAdapterTest.java b/org.jacoco.core.test/src/org/jacoco/core/internal/flow/MethodProbesAdapterTest.java index af5e98bd..25da70cd 100644 --- a/org.jacoco.core.test/src/org/jacoco/core/internal/flow/MethodProbesAdapterTest.java +++ b/org.jacoco.core.test/src/org/jacoco/core/internal/flow/MethodProbesAdapterTest.java @@ -330,6 +330,7 @@ public class MethodProbesAdapterTest implements IProbeIdGenerator { public void testVisitTryCatchBlockWithProbe() { Label target = new Label(); LabelInfo.setSuccessor(target); + LabelInfo.setTarget(target); Label end = new Label(); Label handler = new Label(); Label start = new Label(); @@ -348,6 +349,7 @@ public class MethodProbesAdapterTest implements IProbeIdGenerator { public void testVisitMultipleTryCatchBlocksWithProbe() { Label target = new Label(); LabelInfo.setSuccessor(target); + LabelInfo.setTarget(target); Label end = new Label(); Label handler1 = new Label(); Label handler2 = new Label(); |