File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
qulice-maven-plugin/src/it/checkstyle-violations Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 66
77def log = new File (basedir, ' build.log' )
88assert log. text. findAll(' .*Brackets.java.*BracketsStructureCheck' ). size() == 4
9- assert log. text. contains(' Tabs.java[34 ]: Line contains a tab character. (FileTabCharacterCheck)' )
9+ assert log. text. contains(' Tabs.java[8 ]: Line contains a tab character. (FileTabCharacterCheck)' )
1010assert log. text. findAll(' Brackets.java.*(HeaderCheck)' ). empty
1111// assert log.text.contains('Violations.java[6]: This method must be static, because it does not refer to "this"')
12- assert log. text. contains(' Brackets.java[54 ]: Closing bracket should be on a new line (BracketsStructureCheck)' )
13- assert log. text. contains(' Violations.java[44 ]: Parameter txt should be final. (FinalParametersCheck)' )
14- assert log. text. contains(' Violations.java[55 ]: Parameter ex should be final. (FinalParametersCheck)' )
15- assert log. text. contains(' Violations.java[63 ]: ArrayList should be initialized with a size parameter' )
16- assert log. text. contains(' Violations.java[64 ]: ArrayList should be initialized with a size parameter' )
12+ assert log. text. contains(' Brackets.java[28 ]: Closing bracket should be on a new line (BracketsStructureCheck)' )
13+ assert log. text. contains(' Violations.java[18 ]: Parameter txt should be final. (FinalParametersCheck)' )
14+ assert log. text. contains(' Violations.java[29 ]: Parameter ex should be final. (FinalParametersCheck)' )
15+ assert log. text. contains(' Violations.java[37 ]: ArrayList should be initialized with a size parameter' )
16+ assert log. text. contains(' Violations.java[38 ]: ArrayList should be initialized with a size parameter' )
1717assert ! log. text. contains(' Got an exception - java.lang.NullPointerException' )
1818assert log. text. findAll(' SomeTest.java .+ (JavadocMethodCheck)' ). isEmpty()
1919assert ! log. text. contains(' IndentationChecks.java[49]: method call rparen at indentation level 12' )
You can’t perform that action at this time.
0 commit comments