Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tpc2/qulice
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Feb 3, 2014
2 parents dd3fbe7 + 6263209 commit ab64e73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
*/
package com.qulice.plugin.violations;

import java.util.concurrent.atomic.AtomicInteger;

/**
* Validation of bracket structure check.
* @author Krzysztof Krason (Krzysztof.Krason@gmail.com)
Expand All @@ -50,6 +52,8 @@ public void wrongBrackets() {
this.call(null,
null
);
final AtomicInteger atom = new AtomicInteger(
1);
}

private void call(final String start, final String end) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
def log = new File(basedir, 'build.log')
assert log.text.contains('LICENSE found')
assert log.text.contains(' Checkstyle violations (see log above)')
assert log.text.findAll('ERROR.*Brackets.java.*BracketsStructureCheck').size() == 3
assert log.text.findAll('ERROR.*Brackets.java.*BracketsStructureCheck').size() == 4
assert log.text.contains('Tabs.java[4]: Line contains a tab character. (FileTabCharacterCheck)')
assert log.text.contains('tabs.txt[1]: Line contains a tab character. (FileTabCharacterCheck)')
assert log.text.findAll('Brackets.java.*(HeaderCheck)').empty
assert log.text.contains('Brackets.java[56]: Closing bracket should be on a new line (BracketsStructureCheck)')

0 comments on commit ab64e73

Please sign in to comment.