@Test public void testCompareOfValidInput() throws Exception { result = compare("pattern-source.html", "data-source.html", new HashMap<>()); assertEquals(ComparatorStepResult.Status.PASSED, result.getStatus()); assertFalse(result.isRebaseable()); assertEqualsToSavedArtifact("expected-result-with-sources.json"); }
@Override public final ComparatorStepResult compare() throws ProcessingException { try { return compareSources(); } catch (Exception ex) { throw new ProcessingException(ex.getMessage(), ex); } }
SourceComparator implements ComparatorJob { @Override public final ComparatorStepResult compare() throws ProcessingException { try { return compareSources(); } catch (Exception ex) { throw new ProcessingException(ex.getMessage(), ex); } } }
SourceComparator implements ComparatorJob { @Override public final ComparatorStepResult compare() throws ProcessingException { try { return compareSources(); } catch (Exception ex) { throw new ProcessingException(ex.getMessage(), ex); } } SourceComparator(ArtifactsDAO artifactsDAO, ComparatorProperties properties,
      DiffParser diffParser, Sources sources); }
SourceComparator implements ComparatorJob { @Override public final ComparatorStepResult compare() throws ProcessingException { try { return compareSources(); } catch (Exception ex) { throw new ProcessingException(ex.getMessage(), ex); } } SourceComparator(ArtifactsDAO artifactsDAO, ComparatorProperties properties,
      DiffParser diffParser, Sources sources); @Override void setParameters(final Map<String, String> params); @Override final ComparatorStepResult compare(); }
SourceComparator implements ComparatorJob { @Override public final ComparatorStepResult compare() throws ProcessingException { try { return compareSources(); } catch (Exception ex) { throw new ProcessingException(ex.getMessage(), ex); } } SourceComparator(ArtifactsDAO artifactsDAO, ComparatorProperties properties,
      DiffParser diffParser, Sources sources); @Override void setParameters(final Map<String, String> params); @Override final ComparatorStepResult compare();  }