MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / addFailure

Method addFailure

src/test/java/org/htmlunit/CodeStyleTest.java:88–90  ·  view source on GitHub ↗
(final String file, final int line, final String error)

Source from the content-addressed store, hash-verified

86 }
87
88 private void addFailure(final String file, final int line, final String error) {
89 failures_.add(file + ", line " + (line <= 0 ? 1 : line) + ": " + error);
90 }
91
92 /**
93 * @throws IOException if the test fails

Callers 15

openingCurlyBracketMethod · 0.95
yearMethod · 0.95
javaDocFirstLineMethod · 0.95
classJavaDocMethod · 0.95
methodFirstLineMethod · 0.95
methodLastLineMethod · 0.95
lineBetweenMethodsMethod · 0.95
mixedIndentationMethod · 0.95
trailingWhitespaceMethod · 0.95
badIndentationLevelsMethod · 0.95
licenseYearMethod · 0.95
versionYearMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected