@Test public void testValid() throws Exception { validate(getClass().getResourceAsStream("/xwiki-valid.html")); List<ValidationError> errors = this.validator.getErrors(); assertTrue(errors.isEmpty()); }
@Override protected void validate(Document document) { validateFailingMacros(); validateNotEmptyHeadingId(); validateUrlOrResourcesWithoutDoubleInterrogationMark(); }
XWikiValidator extends AbstractHTML5Validator { @Override protected void validate(Document document) { validateFailingMacros(); validateNotEmptyHeadingId(); validateUrlOrResourcesWithoutDoubleInterrogationMark(); } }
XWikiValidator extends AbstractHTML5Validator { @Override protected void validate(Document document) { validateFailingMacros(); validateNotEmptyHeadingId(); validateUrlOrResourcesWithoutDoubleInterrogationMark(); }  }
XWikiValidator extends AbstractHTML5Validator { @Override protected void validate(Document document) { validateFailingMacros(); validateNotEmptyHeadingId(); validateUrlOrResourcesWithoutDoubleInterrogationMark(); }  void validateFailingMacros(); void validateNotEmptyHeadingId(); void validateUrlOrResourcesWithoutDoubleInterrogationMark(); @Override String getName(); }
XWikiValidator extends AbstractHTML5Validator { @Override protected void validate(Document document) { validateFailingMacros(); validateNotEmptyHeadingId(); validateUrlOrResourcesWithoutDoubleInterrogationMark(); }  void validateFailingMacros(); void validateNotEmptyHeadingId(); void validateUrlOrResourcesWithoutDoubleInterrogationMark(); @Override String getName();  }