MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / alerts

Method alerts

src/test/java/org/htmlunit/CodeStyleTest.java:588–595  ·  view source on GitHub ↗

Verifies that \@Alerts is correctly defined.

(final List<String> lines, final String relativePath)

Source from the content-addressed store, hash-verified

586 * Verifies that \@Alerts is correctly defined.
587 */
588 private void alerts(final List<String> lines, final String relativePath) {
589 for (int i = 0; i < lines.size(); i++) {
590 if (lines.get(i).startsWith(" @Alerts(")) {
591 final List<String> alerts = alertsToList(lines, i, true);
592 alertVerify(alerts, relativePath, i);
593 }
594 }
595 }
596
597 /**
598 * Verifies that the class name is used.

Callers 1

processMethod · 0.95

Calls 5

alertsToListMethod · 0.95
alertVerifyMethod · 0.95
sizeMethod · 0.45
startsWithMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected