Commit Graph

398 Commits

Author SHA1 Message Date
Roman Ivanov 8571d9002a 100% UTs for FullIdent. #1294 2015-07-12 22:42:17 -07:00
Roman Ivanov 9a97b68c69 100% UTs coverage for SeverityLevelCounter. #1294 2015-07-12 22:24:00 -07:00
Roman Ivanov cb4bd82807 100% UTs coverage for PropertiesExpander ans PackageObjectFactory. #1294 2015-07-12 21:59:42 -07:00
Roman Ivanov 38f5fc0dc8 100% UTs coverage for DefaultConfiguration. #1294 2015-07-12 21:47:31 -07:00
Roman Ivanov 12a57d940d UTs coverage for SuppressionFilter is 100%. #1296 2015-07-12 21:25:25 -07:00
Roman Ivanov 15818b8260 UTs coverage of SuppressElement is 100%. #1296 2015-07-12 21:12:48 -07:00
Roman Ivanov f2429b8139 UTs coverage for IntMatchFilter become 100%, #1294 2015-07-12 19:50:54 -07:00
Roman Ivanov 4b2bb4388b XMLLogger should not catch UnsupportedEncodingException and rethrow it as ExceptionInInitializerError. #1294 2015-07-12 18:30:48 -07:00
Roman Ivanov 8fe2518e32 UTs coverage increaded for XMLLogger. #1294 2015-07-12 18:22:26 -07:00
Roman Ivanov 650272adb9 UTs coverage for ScopeUtils become 100%. #1294 2015-07-12 16:27:28 -07:00
Michal Kordas 574d7d458d Add test coverage to getAcceptableTokens in JavadocStyle check. #1308 2015-07-12 15:40:55 -07:00
Michal Kordas 21c0a8197a Simplify validation of parameter in JavadocVariable check. #1308 2015-07-12 15:02:24 -07:00
Baratali Izmailov 192a2eecfe Issue #1293: Refactoring of MultipleVariableDeclarationCheck 2015-07-12 15:01:10 -07:00
Roman Ivanov 7f740b18c9 UT coverage 100% for com.puppycrawl.tools.checkstyle.Utils. #1294 2015-07-12 14:57:04 -07:00
Michal Kordas 8da777a68a Remove dead code from TreeWalker. #1294 2015-07-12 09:32:30 -07:00
Vladislav Lisetskiy b5f92edbe5 fix structure of site.xml, #1341 2015-07-12 09:29:07 -07:00
Baratali Izmailov 6ebcf2733b Issue #1293: Refactoring of EqualsAvoidNullCheck. More UTs. 2015-07-12 07:02:38 -07:00
Aleksandr Ivanov 4be4abc636 UT coverage 100% for ImportControlCheck #1128 2015-07-11 22:13:21 -07:00
Aleksandr Ivanov ad42ed2979 UT coverage improved for ImportOrderCheck #1128 2015-07-11 22:10:11 -07:00
Michal Kordas b6aabf42b9 Remove unused method in IndexHandler from Indentation check. #1270 2015-07-11 22:06:20 -07:00
Michal Kordas f408160bf7 Add code coverage to PrimordialHandler in Indentation check. #1270 2015-07-11 22:06:20 -07:00
Roman Ivanov cc83880e8c surefire and failsafe plugins are moved above checkstyle validation to run before long checkstyle execution 2015-07-11 06:48:55 -07:00
Vladislav Lisetskiy 02aaa1b7f6 update build procedure to validate all XML files against their schemas,
#1275
2015-07-11 06:33:49 -07:00
Michal Kordas 6e3f04feaf Add test coverage to Javadoc checks. #1308 2015-07-10 20:52:07 -07:00
Michal Kordas 6f089559d7 Add test coverage to getAcceptableTokens in Javadoc checks. #1308 2015-07-10 16:22:20 -07:00
Michal Kordas 787bf0582b Add test coverage to HtmlTag in Javadoc checks. #1308 2015-07-10 16:20:32 -07:00
Baratali Izmailov 9470bb3a39 Issue #1293: Refactoring of MissingCtorCheck and MissingSwitchDefaultCheck 2015-07-10 13:55:41 -07:00
Baratali Izmailov 6e1b8917c1 Issue #1293: One more unit test for PackageDeclarationCheck. 2015-07-10 07:43:57 -07:00
Baratali Izmailov 95eb2122d5 Issue #1293: One more unit test for EqualsHashCodeCheck 2015-07-10 07:40:32 -07:00
Andrei Selkin b405880b6e Fix OneStatementPerLine on multiple field initialization bug, issue #1237. 2015-07-09 17:33:43 -07:00
Ruslan Diachenko 6985c4758d Issue #1289: 'WhitespaceAroundCheck' refactored, UT coverage improved 2015-07-09 23:57:05 +01:00
Michal Kordas e10364f313 Remove dead code from Javadoc checks. #1308 2015-07-08 18:34:07 -07:00
Michal Kordas 8f19f1d706 Remove non-testable reflection code from HandlerFactory. #1270
In `HandlerFactory` any reflection-related exception would mean programmer's mistake with no recovery. In such cases checked exceptions are useless, so new methods in utils are provided to wrap any checked exceptions into unchecked ones.
2015-07-08 18:32:31 -07:00
Baratali Izmailov a07cae0aca Issue #1293: Refactoring of Nested*DepthCheck-family 2015-07-08 18:27:46 -07:00
Baratali Izmailov 8ea8f96c0d Issue #1293: Refactoring of HiddenFieldCheck. 2015-07-08 18:23:48 -07:00
Ruslan Diachenko 31c6f5ebae Issue #1288: 'AbstractAccessControlNameCheck' refactored, UT coverage improved 2015-07-08 18:19:55 -07:00
Ruslan Diachenko f395e1d7fd Issue #1288: 'AbstractClassNameCheck' refactored, UT coverage improved 2015-07-08 18:17:25 -07:00
Ruslan Diachenko 1d932b1131 Issue #1288: 'AbstractNameCheck' refactored, UT coverage improved 2015-07-08 18:15:22 -07:00
Ruslan Diachenko 20d8e4338d Issue #1288: 'AbstractTypeParameterNameCheck' refactored, UT coverage improved 2015-07-08 23:07:40 +01:00
Roman Ivanov 0afb34f50e Restore checkstyle validation on nemo.sonarqube.org. #1319 2015-07-07 21:16:35 -07:00
Michal Kordas 1b3e900ee4 Update Maven PMD Plugin to 3.5. #1300 2015-07-07 19:40:01 -07:00
Michal Kordas e0471bb7f2 Add test coverage to toString in JavadocNodeImpl. #1308 2015-07-07 19:38:21 -07:00
Aleksandr Ivanov 6f51fa7e63 Improved UT coverage for CustomImportOrder #1128 2015-07-07 19:37:17 -07:00
Baratali Izmailov d0e8581e9c Issue #1293: UT coverage percents have been updated in pom.xml 2015-07-07 19:35:37 -07:00
Ruslan Diachenko 2f4f40d739 Issue #1288: 'ConstantNameCheck' refactored, UT coverage improved 2015-07-07 19:34:02 -07:00
Ruslan Diachenko 47cac8ffe7 Issue #1288: 'LocalFinalVariableNameCheck' refactored, UT coverage improved 2015-07-07 19:32:12 -07:00
Ruslan Diachenko 67857bbdce Issue #1288: 'LocalVariableNameCheck' refactored, UT coverage improved 2015-07-07 19:30:18 -07:00
Ruslan Diachenko 14d6d3aa31 Issue #1288: 'MemberNameCheck' refactored, UT coverage improved 2015-07-07 19:28:33 -07:00
Ruslan Diachenko 4a89cc801b Issue #1288: 'MethodNameCheck' UT coverage improved 2015-07-07 19:26:44 -07:00
Ruslan Diachenko 66cd03e57e Issue #1288: 'PackageNameCheck' UT coverage improved 2015-07-07 19:24:36 -07:00