@Test public void should_create_a_valid_sensor_descriptor() { DefaultSensorDescriptor descriptor = new DefaultSensorDescriptor(); createEmbeddedCssSquidSensor().describe(descriptor); assertThat(descriptor.name()).isEqualTo("Embedded CSS Analyzer Sensor"); assertThat(descriptor.languages()).isEmpty(); assertThat(descriptor.type()).isNull(); }
@Override public void describe(SensorDescriptor descriptor) { descriptor.name("Embedded CSS Analyzer Sensor"); }
EmbeddedCssAnalyzerSensor extends AbstractLanguageAnalyzerSensor { @Override public void describe(SensorDescriptor descriptor) { descriptor.name("Embedded CSS Analyzer Sensor"); } }
EmbeddedCssAnalyzerSensor extends AbstractLanguageAnalyzerSensor { @Override public void describe(SensorDescriptor descriptor) { descriptor.name("Embedded CSS Analyzer Sensor"); } EmbeddedCssAnalyzerSensor(FileSystem fileSystem, CheckFactory checkFactory, Settings settings, NoSonarFilter noSonarFilter);  EmbeddedCssAnalyzerSensor(FileSystem fileSystem, CheckFactory checkFactory, Settings settings, NoSonarFilter noSonarFilter,
                                   @Nullable CustomCssRulesDefinition[] customRulesDefinition); }
EmbeddedCssAnalyzerSensor extends AbstractLanguageAnalyzerSensor { @Override public void describe(SensorDescriptor descriptor) { descriptor.name("Embedded CSS Analyzer Sensor"); } EmbeddedCssAnalyzerSensor(FileSystem fileSystem, CheckFactory checkFactory, Settings settings, NoSonarFilter noSonarFilter);  EmbeddedCssAnalyzerSensor(FileSystem fileSystem, CheckFactory checkFactory, Settings settings, NoSonarFilter noSonarFilter,
                                   @Nullable CustomCssRulesDefinition[] customRulesDefinition); @Override void describe(SensorDescriptor descriptor); @Override String analyzerName(); @Override String language(); @Override ActionParser<Tree> parser(FileSystem fileSystem); @Override List<InputFile> filesToAnalyze(FileSystem fileSystem); @Override Checks checks(CheckFactory checkFactory, CustomRulesDefinition[] customRulesDefinitions); @Override List<TreeVisitor> treeVisitors(SensorContext sensorContext, Checks checks, NoSonarFilter noSonarFilter); @Override Class parsingErrorCheck(); }
EmbeddedCssAnalyzerSensor extends AbstractLanguageAnalyzerSensor { @Override public void describe(SensorDescriptor descriptor) { descriptor.name("Embedded CSS Analyzer Sensor"); } EmbeddedCssAnalyzerSensor(FileSystem fileSystem, CheckFactory checkFactory, Settings settings, NoSonarFilter noSonarFilter);  EmbeddedCssAnalyzerSensor(FileSystem fileSystem, CheckFactory checkFactory, Settings settings, NoSonarFilter noSonarFilter,
                                   @Nullable CustomCssRulesDefinition[] customRulesDefinition); @Override void describe(SensorDescriptor descriptor); @Override String analyzerName(); @Override String language(); @Override ActionParser<Tree> parser(FileSystem fileSystem); @Override List<InputFile> filesToAnalyze(FileSystem fileSystem); @Override Checks checks(CheckFactory checkFactory, CustomRulesDefinition[] customRulesDefinitions); @Override List<TreeVisitor> treeVisitors(SensorContext sensorContext, Checks checks, NoSonarFilter noSonarFilter); @Override Class parsingErrorCheck();  }