Verifies no <parent> tag in pom.xml.
()
| 395 | * Verifies no <parent> tag in {@code pom.xml}. |
| 396 | */ |
| 397 | private void parentInPom() throws IOException { |
| 398 | final List<String> lines = FileUtils.readLines(new File("pom.xml"), SOURCE_ENCODING); |
| 399 | for (int i = 0; i < lines.size(); i++) { |
| 400 | if (lines.get(i).contains("<parent>")) { |
| 401 | addFailure("pom.xml", i + 1, "'pom.xml' should not have <parent> tag"); |
| 402 | break; |
| 403 | } |
| 404 | } |
| 405 | } |
| 406 | |
| 407 | /** |
| 408 | * Verifies that no direct instantiation of WebClient from a test that runs with BrowserRunner. |
no test coverage detected