Package org.jacoco.core.test.ClassDataRecorder

Examples of org.jacoco.core.test.ClassDataRecorder.BlockData


  }

  @Test
  public void init_01() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_init_01.class);
    final BlockData block0 = rec.getMethod("<init>").getBlock(0);
    block0.assertLines(23);
    block0.assertCovered();
  }
View Full Code Here


  }

  @Test
  public void init_02() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_init_02.class);
    final BlockData block0 = rec.getMethod("<init>").getBlock(0);
    block0.assertLines(25, 26);
    block0.assertCovered();
  }
View Full Code Here

  }

  @Test
  public void init_03() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_init_03.class);
    final BlockData block0 = rec.getMethod("<init>").getBlock(0);
    block0.assertLines(23, 25);
    block0.assertCovered();
  }
View Full Code Here

  }

  @Test
  public void init_04() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_init_04.class);
    final BlockData block0 = rec.getMethod("<init>").getBlock(0);
    block0.assertLines(25, 27, 28);
    block0.assertCovered();
  }
View Full Code Here

  }

  @Test
  public void init_05() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_init_05.class);
    final BlockData block0 = rec.getMethod("<init>").getBlock(0);
    block0.assertLines(29);
    block0.assertCovered();
  }
View Full Code Here

  }

  @Test
  public void cinit_01() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_cinit_01.class);
    final BlockData block0 = rec.getMethod("<clinit>").getBlock(0);
    block0.assertCovered();
  }
View Full Code Here

  }

  @Test
  public void cinit_02() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_cinit_02.class);
    final BlockData block0 = rec.getMethod("<clinit>").getBlock(0);
    block0.assertCovered();
  }
View Full Code Here

  }

  @Test
  public void init_01() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_init_01.class);
    final BlockData block0 = rec.getMethod("<init>").getBlock(0);
    block0.assertLines(23);
    block0.assertCovered();
  }
View Full Code Here

  }

  @Test
  public void init_02() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_init_02.class);
    final BlockData block0 = rec.getMethod("<init>").getBlock(0);
    block0.assertLines(25, 26);
    block0.assertCovered();
  }
View Full Code Here

  }

  @Test
  public void init_03() throws Exception {
    final ClassDataRecorder rec = runScenario(Target_init_03.class);
    final BlockData block0 = rec.getMethod("<init>").getBlock(0);
    block0.assertLines(23, 25);
    block0.assertCovered();
  }
View Full Code Here

TOP

Related Classes of org.jacoco.core.test.ClassDataRecorder.BlockData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.