|
|
|
@ -19,10 +19,6 @@ public class DynamicCodeCheckerTest { |
|
|
|
|
|
|
|
|
|
DynamicCodeChecker rule = new DynamicCodeChecker(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Verifies that the check will raise the adequate issues with the expected message.
|
|
|
|
|
// In the test file, lines which should raise an issue have been commented out
|
|
|
|
|
// by using the following syntax: "// Noncompliant {{EXPECTED_MESSAGE}}"
|
|
|
|
|
CheckVerifier.newVerifier() |
|
|
|
|
.onFile("src/test/files/DynamicCodeCheckerRule.java") |
|
|
|
|
.withCheck(rule) |
|
|
|
|