Commit Graph

2792 Commits

Author SHA1 Message Date
Michal Kordas 5e40ee669c Add test for getModuleId from LocalizedMessage. #152 2015-05-27 08:37:55 -07:00
Michal Kordas 252ee0c9e1 Add additional locale tests to LocalizedMessage. #152 2015-05-27 08:37:55 -07:00
Michal Kordas d6966ec1f7 Fix no possibility to set English language explicitly in config. #152 2015-05-27 08:37:54 -07:00
Michal Kordas 59ffd34e43 Add failing test showing that setting English does not work. #152 2015-05-27 08:37:54 -07:00
vlad 5f047efa20 ThrowCountCheck should have option to skip private methods, #1136 2015-05-27 17:17:14 +03:00
vlad e6f4dad587 Do not verify overriding methods in ThrowsCount check, #1085 2015-05-26 15:01:18 -07:00
MEZk a077b72827 100% conditional coverage for visitToken(), leaveToken() and leaveMemberDef() methods in class ExecutableStatementCountCheck, issue#1024 2015-05-26 13:05:38 -07:00
Michal Kordas edc4cc9ffc Fix Regexp check causing exception on file with newline on top. #1129 2015-05-26 02:55:58 +02:00
Michal Kordas 4e0cb46ae5 Fix RegexpMultiline causing exception with default config. #1129 2015-05-26 02:20:05 +02:00
Roman Ivanov 0ba72f9767 test coverage for getDefaultTokens(), getAcceptableTokens(), issue #1022 2015-05-25 16:00:20 -07:00
Michal Kordas 050de1a6c0 Add support for canonical class names in MutableException. #1124 2015-05-25 15:38:49 -07:00
Michal Kordas cdf3c3848a Add failing test for MutableException with canonical names. #1124 2015-05-25 15:38:49 -07:00
Roman Ivanov bce57572e4 Option allowPublicFinalFields does not exist in VisibilityModifier check. #1126 2015-05-24 19:11:12 -07:00
vlad 3eb75145e9 fix in MutableExceptionCheck, #1124 2015-05-24 18:58:55 -07:00
vlad 058eb9990a 100% test coverage for VisibilityModifierCheck, #1009 2015-05-24 15:56:23 -07:00
vlad 008d7f5db9 removing dead code and refactoring in VisibilityModifierCheck, #1107 2015-05-24 15:56:23 -07:00
Michal Kordas cc355f7e10 Fix NeedBraces check not requiring braces in multiline statements when using allowSingleLineStatement option. #895 2015-05-24 15:28:34 -07:00
Michal Kordas be08323f8a Fix equals and hashCode in SuppressionFilter and remove toString. #1088 2015-05-23 12:59:25 -07:00
Michal Kordas ffd17e5ad6 Fix equals and hashCode in SuppressElement and remove toString. #1088 2015-05-23 20:58:48 +02:00
Michal Kordas 37a393ae29 Fix equals and hashCode in IntRangeFilter and remove toString. #1088 2015-05-23 10:16:15 +02:00
Michal Kordas 9dc87c52e5 Add docs for list of allowed tokens in MagicNumber check. #1113 2015-05-21 16:44:09 -07:00
Michal Kordas fabe679752 Add "+" and "-" to list of allowed tokens in MagicNumber check. #1113 2015-05-21 16:44:09 -07:00
Michal Kordas 262bcabc07 Add DIV to list of allowed tokens in MagicNumber check. #1113 2015-05-21 16:44:09 -07:00
Michal Kordas 291cde4801 Fix equals and hashCode in LocalizedMessage. #1088 2015-05-21 16:34:06 -07:00
Michal Kordas f786378e23 Replace deprecated PosixParser with DefaultParser. #1099 2015-05-22 00:16:07 +02:00
Martin Steiger 384ecfc7d5 Add LineSeparatorOption.LF_CR_CRLF. Issue #1045 2015-05-21 11:48:15 -07:00
Roman Ivanov b2991ef9e7 Append google analytics to all HTML pages. #1111 2015-05-20 20:56:29 -04:00
Michal Kordas f6dd135e13 Add tests for equals, hashCode and compareTo in LineColumn. #1088 2015-05-20 16:43:09 -07:00
Roman Ivanov d6205babad FilterSet - restoring method that were removed by mistake in scope of, getFilters become public to make class full functional. #1088 2015-05-19 14:30:15 -07:00
vlad 66caf30d0f 100% test coverage for MutableExceptionCheck, #1009 2015-05-19 10:46:40 +03:00
Michal Kordas d8c8ab3077 Use EqualsVerifier to test FilterSet and remove obsolete code. #1088 2015-05-18 22:38:54 -07:00
vlad e8255c208f remove dead code from MutableExceptionCheck, #1103 2015-05-19 04:29:03 +03:00
vlad 947e230fbf 100% test coverage for FinalClassCheck, #1009 2015-05-19 03:29:55 +03:00
vlad 989745bb60 remove dead code from FinalClassCheck, #1100 2015-05-18 17:10:50 -07:00
vlad 2c99b9706e 100% test coverage for ThrowsCountCheck, #1009 2015-05-19 00:00:05 +03:00
vlad 893621b965 100% test coverage for HideUtilityClassConstructor, #1009 2015-05-18 18:06:44 +03:00
Michal Kordas cf5851ed29 Use EqualsVerifier to test CSVFilter. #1088 2015-05-18 05:56:41 -07:00
vlad e67c9bf046 100% coverage for DesignForExtensionCheck, #1009 2015-05-18 11:37:47 +03:00
vlad c5e7dea987 fix for testGetRequiredTokens() methods in the package, #1009 2015-05-18 11:37:47 +03:00
Michal Kordas 2f1b20f220 Use EqualsVerifier to test SuppressWithNearbyCommentFilter. #1088 2015-05-17 19:31:28 +02:00
Michal Kordas 0f58857d73 Change location of left curly braces to end of line. #1089 2015-05-17 13:47:09 +02:00
Michal Kordas fb9f55e890 Make tests of Main class platform independent. #1086 2015-05-16 22:22:27 -07:00
Michal Kordas 56743942d5 Extend ReturnCount Check to treat lambdas separately. #1068 2015-05-16 22:19:07 -07:00
Roman Ivanov 6cdcfc135a Findbugs violation: defines compareTo(LineColumn) and uses Object.equals(). #911 2015-05-15 23:52:15 -07:00
Roman Ivanov e6034ec381 Findbugs violation: AuditEvent.message is transient but isn't set by deserialization. #909 2015-05-15 17:04:32 -07:00
Roman Ivanov 5e0b6286ac Findbugs violation: api.TokenTypes do System.exit(...). #923 2015-05-15 15:31:59 -07:00
Roman Ivanov 0f06b92909 minor, activate link in javadoc/xdoc 2015-05-15 13:52:01 -07:00
Roman Ivanov 3e22f93479 minor, activate link in javadoc/xdoc 2015-05-15 13:46:10 -07:00
Roman Ivanov c3dc1a94f3 Findbugs violation: resolve all violations from gui package. #925 2015-05-15 13:23:17 -07:00
Roman Ivanov e1a27939ae method setClassloader was renamed to setClassLoader with deprecation of old method. #922 2015-05-15 10:59:13 -07:00