@Test public void test() { TooManyWebFontsCheck check = new TooManyWebFontsCheck(); check.setFontFaceThreshold(3); CssCheckVerifier.verifyCssFile(check, CheckTestUtils.getCommonTestFile("toomanywebfonts.css")); }
@VisibleForTesting void setFontFaceThreshold(int fontFaceThreshold) { this.fontFaceThreshold = fontFaceThreshold; }
TooManyWebFontsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFontFaceThreshold(int fontFaceThreshold) { this.fontFaceThreshold = fontFaceThreshold; } }
TooManyWebFontsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFontFaceThreshold(int fontFaceThreshold) { this.fontFaceThreshold = fontFaceThreshold; }  }
TooManyWebFontsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFontFaceThreshold(int fontFaceThreshold) { this.fontFaceThreshold = fontFaceThreshold; }  @Override void visitStyleSheet(StyleSheetTree tree); @Override void visitAtKeyword(AtKeywordTree tree); }
TooManyWebFontsCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setFontFaceThreshold(int fontFaceThreshold) { this.fontFaceThreshold = fontFaceThreshold; }  @Override void visitStyleSheet(StyleSheetTree tree); @Override void visitAtKeyword(AtKeywordTree tree);  }