Skip to content

Commit

Permalink
[MPMD-367] don't fail on unrelated warnings (#121)
Browse files Browse the repository at this point in the history
* MPMD-367 don't fail on unrelated warnings
  • Loading branch information
elharo committed Apr 4, 2023
1 parent 0fbd7fd commit 78e7e37
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/it/MPMD-270-325-JDK11/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )
2 changes: 1 addition & 1 deletion src/it/MPMD-280-JDK12/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )
2 changes: 1 addition & 1 deletion src/it/MPMD-295-JDK13/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )
2 changes: 1 addition & 1 deletion src/it/MPMD-302-JDK14/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )
2 changes: 1 addition & 1 deletion src/it/MPMD-302-JDK15/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )
2 changes: 1 addition & 1 deletion src/it/MPMD-312-JDK16/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )
2 changes: 1 addition & 1 deletion src/it/MPMD-312-JDK17/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )
2 changes: 1 addition & 1 deletion src/it/MPMD-332-JDK18/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )
2 changes: 1 addition & 1 deletion src/it/MPMD-348-JDK19/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )
2 changes: 1 addition & 1 deletion src/it/MPMD-365-JDK20/verify.groovy
Expand Up @@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
assert !buildLog.text.contains( '[WARNING]' )
assert !buildLog.text.contains( '[WARNING] PMD' )

0 comments on commit 78e7e37

Please sign in to comment.