@Test public void should_throw_an_illegal_state_exception_as_the_exclusions_parameter_is_not_valid() { try { UnknownTypeSelectorCheck check = new UnknownTypeSelectorCheck(); check.setExclusions("("); CssCheckVerifier.issuesOnCssFile(check, getTestFile("unknownTypeSelector.css")).noMore(); } catch (IllegalStateException e) { assertThat(e.getMessage()).isEqualTo("Check css:unknown-type-selector (Unknown type selectors " + "should be removed): exclusions parameter \"(\" is not a valid regular expression."); } }
@VisibleForTesting void setExclusions(String exclusions) { this.exclusions = exclusions; }
UnknownTypeSelectorCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setExclusions(String exclusions) { this.exclusions = exclusions; } }
UnknownTypeSelectorCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setExclusions(String exclusions) { this.exclusions = exclusions; }  }
UnknownTypeSelectorCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setExclusions(String exclusions) { this.exclusions = exclusions; }  @Override void visitTypeSelector(TypeSelectorTree tree); @Override void validateParameters(); }
UnknownTypeSelectorCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setExclusions(String exclusions) { this.exclusions = exclusions; }  @Override void visitTypeSelector(TypeSelectorTree tree); @Override void validateParameters(); static final List<String> KNOWN_HTML_TAGS; static final List<String> KNOWN_SVG_TAGS; }