@Test public void test_descriptor() { DefaultSensorDescriptor sensorDescriptor = new DefaultSensorDescriptor(); scoverageSensor.describe(sensorDescriptor); assertThat(sensorDescriptor.name()).isEqualTo("Scoverage sensor for Scala coverage"); }
@Override public void describe(SensorDescriptor descriptor) { descriptor .onlyWhenConfiguration(conf -> conf.hasKey(COVERAGE_REPORT_PATHS_KEY)) .name("Scoverage sensor for Scala coverage"); }
ScoverageSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor .onlyWhenConfiguration(conf -> conf.hasKey(COVERAGE_REPORT_PATHS_KEY)) .name("Scoverage sensor for Scala coverage"); } }
ScoverageSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor .onlyWhenConfiguration(conf -> conf.hasKey(COVERAGE_REPORT_PATHS_KEY)) .name("Scoverage sensor for Scala coverage"); }  }
ScoverageSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor .onlyWhenConfiguration(conf -> conf.hasKey(COVERAGE_REPORT_PATHS_KEY)) .name("Scoverage sensor for Scala coverage"); }  @Override void describe(SensorDescriptor descriptor); @Override void execute(SensorContext context); }
ScoverageSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor .onlyWhenConfiguration(conf -> conf.hasKey(COVERAGE_REPORT_PATHS_KEY)) .name("Scoverage sensor for Scala coverage"); }  @Override void describe(SensorDescriptor descriptor); @Override void execute(SensorContext context);  }