@Test public void describe() throws Exception { DefaultSensorDescriptor descriptor = new DefaultSensorDescriptor(); sensor().describe(descriptor); assertThat(descriptor.name()).isEqualTo("Analyzer for \"php.ini\" files"); }
@Override public void describe(SensorDescriptor descriptor) { descriptor .name("Analyzer for \"php.ini\" files") .onlyOnLanguage(Php.KEY); }
PhpIniSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor .name("Analyzer for \"php.ini\" files") .onlyOnLanguage(Php.KEY); } }
PhpIniSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor .name("Analyzer for \"php.ini\" files") .onlyOnLanguage(Php.KEY); } PhpIniSensor(CheckFactory checkFactory); }
PhpIniSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor .name("Analyzer for \"php.ini\" files") .onlyOnLanguage(Php.KEY); } PhpIniSensor(CheckFactory checkFactory); @Override void describe(SensorDescriptor descriptor); @Override void execute(SensorContext context); }
PhpIniSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor .name("Analyzer for \"php.ini\" files") .onlyOnLanguage(Php.KEY); } PhpIniSensor(CheckFactory checkFactory); @Override void describe(SensorDescriptor descriptor); @Override void execute(SensorContext context);  }