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

Method codeStyle

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

@throws IOException if the test fails

()

Source from the content-addressed store, hash-verified

93 * @throws IOException if the test fails
94 */
95 @Test
96 public void codeStyle() throws IOException {
97 title_ = "CodeStyle";
98 final List<File> files = new ArrayList<>();
99 addAll(new File("src/main"), files);
100 addAll(new File("src/test"), files);
101
102 final List<String> classNames = getClassNames(files);
103 process(files, classNames);
104 // for (final String className : classNames) {
105 // addFailure("Not used " + className);
106 // }
107
108 licenseYear();
109 versionYear();
110 parentInPom();
111 }
112
113 private static List<String> getClassNames(final List<File> files) {
114 final List<String> list = new ArrayList<>();

Callers

nothing calls this directly

Calls 6

addAllMethod · 0.95
getClassNamesMethod · 0.95
processMethod · 0.95
licenseYearMethod · 0.95
versionYearMethod · 0.95
parentInPomMethod · 0.95

Tested by

no test coverage detected