Commit Graph

425 Commits

Author SHA1 Message Date
Baratali Izmailov 881f9b5079 Issue #1293: Improving coverage of FallThroughCheck 2015-07-18 12:39:29 -07:00
Andrei Selkin 6c1b26a836 Fix RegexpHeader causing exception with default config, issue #1129. 2015-07-18 12:41:27 +03:00
Michal Kordas e59080b695 Remove dead code from ArrayInitHandler in Indentation check. #1270 2015-07-17 21:52:41 -07:00
Roman Ivanov 850a747710 temporary fix: coverage is decreased dut to Sourceforce site is not accesible 2015-07-17 10:59:43 -07:00
Roman Ivanov 313437caf5 powermock artifacts were moved to test scope as they are required only for UTs 2015-07-17 10:41:39 -07:00
Aleksandr Ivanov f6cb722588 Changing SWITCH to IF to improve coverage #1387 #1128 2015-07-16 17:23:47 -07:00
Ilja Dubinin 27045d71a3 Coverage has been increased to 100% in EmtyCatchBlockCheck 2015-07-16 17:09:00 -07:00
Michal Kordas 1aca5b65dc Remove dead code from ForHandler in Indentation check. #1270 2015-07-16 16:44:04 -07:00
Ruslan Diachenko 6d3dbe2fd3 Issue #1289: 'GenericWhitespaceCheck' refactored, UT coverage improved 2015-07-15 16:58:17 -07:00
Ruslan Diachenko 28e8f33dfd Issue #1289: 'EmptyLineSeparatorCheck' refactored, UT coverage improved 2015-07-15 21:22:02 +01:00
Baratali Izmailov f7309c4404 Issue #1293: Refactorgin of CovariantEqualsCheck 2015-07-14 23:46:21 -07:00
Ruslan Diachenko c09a1ecf33 Issue #1289: 'EmptyForIteratorPadCheck' UT coverage improved 2015-07-14 19:38:45 -07:00
Ruslan Diachenko d815ca6429 Issue #1289: 'MethodParamPadCheck' UT coverage improved 2015-07-14 19:38:04 -07:00
Ruslan Diachenko a038f3394f Issue #1289: 'SeparatorWrapCheck' UT coverage improved 2015-07-14 19:35:12 -07:00
Ruslan Diachenko 4f629d08ad Issue #1289: 'TypecastParenPadCheck' refactored, UT coverage improved 2015-07-14 19:33:39 -07:00
Baratali Izmailov 2314cb57d2 Issue #1293: Improved coverage for DefaultComesLastCheck 2015-07-14 19:32:30 -07:00
Michal Kordas d357465ea0 Update system-rules to 1.12.1. #1379 2015-07-14 14:01:46 -07:00
Michal Kordas 03637bdf87 Add test coverage to JavadocTagContinuationIndentation check. #1308 2015-07-14 20:45:48 +02:00
Ilja Dubinin c80e607ebb Coverage has been increased to 100% in ArrayTypeStyleCheck 2015-07-13 17:57:44 -07:00
Ilja Dubinin 86e805616d Coverage has been increased to 100%n TodoCommentCheck 2015-07-13 17:57:05 -07:00
Ilja Dubinin fa9ece71f4 Coverage has been increased to 100% in UpperEllCheck 2015-07-13 17:56:25 -07:00
Ilja Dubinin 10521b417e Coverage has been increased to 100% in AvoidNestedBlocksCheck 2015-07-13 17:55:35 -07:00
Ilja Dubinin 316f4a7ce0 Coverage has been increased to 100% in MissingOverrideCheck 2015-07-13 17:52:47 -07:00
Michal Kordas e68f47ce99 Remove non-testable reflection code from JavadocUtils. #1308
In `JavadocUtils` any reflection-related exception would mean programmer's mistake with no recovery. In such cases checked exceptions are useless, so new method in utils is provided to wrap any checked exceptions into unchecked ones.
2015-07-13 22:46:00 +02:00
Roman Ivanov 82c6366eda 100% UTs coverage for Check and AbstractViolationReporter. #1295 2015-07-12 23:38:35 -07:00
Roman Ivanov eb3b21e374 100% UT coverage for Comments. #1295 2015-07-12 23:16:22 -07:00
Roman Ivanov 1305704d33 100% UTs coverage for DetailAst. #1295 2015-07-12 23:09:27 -07:00
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