@throws IOException if the test fails
()
| 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<>(); |
nothing calls this directly
no test coverage detected