Skip to content
Snippets Groups Projects
Commit 5018913a authored by Herve Boutemy's avatar Herve Boutemy
Browse files

fixed ITs after addition of license headers in test files

parent 749aa131
No related merge requests found
......@@ -22,4 +22,4 @@ File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert 1 == buildLog.getText().count('You have 1 warning')
assert 1 == buildLog.getText().count("PMD Warning: Foo:4 Rule:UnusedFormalParameter Priority:3 Avoid unused constructor parameters such as 'foo'..")
\ No newline at end of file
assert 1 == buildLog.getText().count("PMD Warning: Foo:23 Rule:UnusedFormalParameter Priority:3 Avoid unused constructor parameters such as 'foo'..")
\ No newline at end of file
......@@ -22,12 +22,12 @@ File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
// Module 1
assert 1 == buildLog.getText().count('[INFO] PMD Failure: test.MyClass:8 Rule:EmptyStatementNotInLoop Priority:3 An empty statement (semicolon) not part of a loop')
assert 1 == buildLog.getText().count('[INFO] PMD Failure: test.MyClass:9 Rule:UnnecessaryReturn Priority:3 Avoid unnecessary return statements')
assert 1 == buildLog.getText().count('[INFO] PMD Failure: test.MyClass:27 Rule:EmptyStatementNotInLoop Priority:3 An empty statement (semicolon) not part of a loop')
assert 1 == buildLog.getText().count('[INFO] PMD Failure: test.MyClass:28 Rule:UnnecessaryReturn Priority:3 Avoid unnecessary return statements')
assert 1 == buildLog.getText().count('[INFO] You have 2 PMD violations. For more details see:')
// Module 2
assert 1 == buildLog.getText().count('[INFO] PMD Failure: test.MyClass:5 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as \'x\'')
assert 1 == buildLog.getText().count('[INFO] PMD Failure: test.MyClass:24 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as \'x\'')
assert 1 == buildLog.getText().count('[INFO] You have 1 PMD violation. For more details see:')
// Module 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment