@Test public void testCsvAnalyzer() throws URISyntaxException { configureAnalyzer("dependencies.csv", ","); Set<Artifact> artifacts = analyzer.yield().getArtifacts(); assertThat(artifacts).hasSize(7); Collection<String> typesToTest = new ArrayList<>(); typesToTest.add(Coordinate.Types.MAVEN); typesToTest.add(Coordinate.Types.P2); typesToTest.add(Coordinate.Types.NPM); typesToTest.add(Coordinate.Types.NUGET); typesToTest.add(Coordinate.Types.GENERIC); assertThat(typesToTest.stream() .filter(type -> artifacts.stream().anyMatch( artifact -> artifact.getCoordinateForType(type).isPresent() )).count()) .isEqualTo(typesToTest.size()); }
public CsvAnalyzer() { this.workflowStepOrder = 500; }
CsvAnalyzer extends ManualAnalyzer { public CsvAnalyzer() { this.workflowStepOrder = 500; } }
CsvAnalyzer extends ManualAnalyzer { public CsvAnalyzer() { this.workflowStepOrder = 500; } CsvAnalyzer(); }
CsvAnalyzer extends ManualAnalyzer { public CsvAnalyzer() { this.workflowStepOrder = 500; } CsvAnalyzer(); @Override WorkflowStepResult yield(); @Override void configure(Map<String, String> configMap); @Override String getName(); }
CsvAnalyzer extends ManualAnalyzer { public CsvAnalyzer() { this.workflowStepOrder = 500; } CsvAnalyzer(); @Override WorkflowStepResult yield(); @Override void configure(Map<String, String> configMap); @Override String getName();  }