Commit Graph

827 Commits

Author SHA1 Message Date
Rick Giles 118b4451d1 updated to current set of test cases 2002-12-06 14:04:04 +00:00
Oliver Burn 53e4d78c19 Fix some more checkstyle errors. Big thanks Rick for doing the others. 2002-12-06 13:40:11 +00:00
Rick Giles 6b55f0fc42 refactoring. If it gets like a bean and sets like a bean, then it is a bean. 2002-12-06 12:59:25 +00:00
Rick Giles 9dfb4e0f6b removed dead code. 2002-12-06 12:41:35 +00:00
Rick Giles 256220f857 corrected checkstyle errors. removed dead code. 2002-12-06 11:24:21 +00:00
Rick Giles 419d924386 corrected checkstyle errors 2002-12-06 11:23:46 +00:00
Rick Giles 3020319895 corrected checkstyle errors 2002-12-06 10:38:08 +00:00
Oliver Burn cf5946b2ce Now all the tests run again! Now we need to fix all the
Checkstyle errors in the newly added source code.
2002-12-06 06:39:14 +00:00
Oliver Burn 5b90aaa412 Start of investigation into getting the unit tests to run. 2002-12-06 06:31:51 +00:00
Oliver Burn 1b7dd85b3f Finish the conversion job. 2002-12-06 06:31:06 +00:00
Oliver Burn 4d769d48f1 Fixed up all the class loader issues that were preventing
Checkstyle running via ANT.
2002-12-06 05:29:34 +00:00
Oliver Burn 230d434a19 Copy across the XML files to be in the classpath. This will
get the 'run.checkstyle' target to run.
2002-12-06 04:10:49 +00:00
Oliver Burn d38ddaad92 Found it - was looking for this file 2002-12-06 04:07:07 +00:00
Oliver Burn 90ab42cdc7 Small refactoring 2002-12-06 03:52:36 +00:00
Oliver Burn fed8d5b5e8 Cleaned up the imports 2002-12-06 03:50:54 +00:00
Rick Giles d056b3b6bb error message correction 2002-12-06 00:46:14 +00:00
Rick Giles eb68cde2e3 Correct Javadoc 2002-12-06 00:38:26 +00:00
Oliver Burn 64daa21b1c Cosmetic changes - but unable to run the tests to see if I
broke anything. :-(
2002-12-06 00:31:34 +00:00
Rick Giles 5ce7d2562f Improved exception message for the case that a registering
Check has an invalid token.
2002-12-06 00:10:45 +00:00
Rick Giles 5f0d69b64d included OperatorWrapCheck with assignment tokens, now that
BeanUtils conversion of String arrays has been remedied.
2002-12-05 23:51:20 +00:00
Rick Giles bd2731070a Hacked replacement class for StringArrayConverter so that it
properly converts an array of tokens with an element
containing an underscore :(
2002-12-05 23:47:41 +00:00
Rick Giles 06f9b6d255 removed unnecessary imports and made mPackageNames private with
accessor method.
2002-12-05 20:57:37 +00:00
Rick Giles 16ba5b35f9 modified for config XML and mapping names to full class names - see
posting to checkstyle-devel@lists.sourceforge.net
2002-12-05 18:54:28 +00:00
Rick Giles 686afc521a modified for config XML 2002-12-05 18:50:13 +00:00
Rick Giles 440cf6836f test inputs for ConfigurationLoaderTest 2002-12-05 18:48:37 +00:00
Lars Kühne d91d78bc0f removed unused constant and fixed small javadoc error 2002-12-05 06:50:20 +00:00
Lars Kühne 8970d00517 hide default constructor in FullIdent and make the class final.
Instances should only be created through the factory method
2002-12-05 06:47:38 +00:00
Lars Kühne ce9f55c439 make sure that Checker calls the destroy method of FileSetCheck.
Clover is really cool, I found this bug by looking at the coverage
of AbstractFileSetCheck - clover told me that destroy was never
executed and that seemed strange to me.
2002-12-05 06:29:51 +00:00
Lars Kühne 46c634bea2 added test for TranslationCheck along with some imput files 2002-12-05 06:07:32 +00:00
Oliver Burn 9118f376be simplified implementation 2002-12-04 06:41:20 +00:00
Rick Giles e52c0ac541 Beef up Javadoc. 2002-12-03 18:53:56 +00:00
Rick Giles 19368509da Beef up Javadoc. Add other assignment operators. 2002-12-03 18:19:40 +00:00
Rick Giles 1ed1a11612 Beef up Javadoc. Change setIllegalPkgs to let beanutils do the work. 2002-12-03 17:47:34 +00:00
Rick Giles 903d3db9ec Added rules. Enhanced test output. 2002-12-02 23:27:10 +00:00
Rick Giles 4bcc70534f Demonstration of two formats
for configuration and digester loader XML files.
Requires recent build of commons-digester
2002-12-02 22:34:43 +00:00
Oliver Burn b2217341ec wrote in a cleaner way (IMHO :-) 2002-12-02 11:00:22 +00:00
Lars Kühne dcec4c27ea fixed bundle of ws.notFollowed 2002-12-02 06:05:30 +00:00
Rick Giles 04ad1d6947 proof-of-concept for DigesterLoader 2002-12-01 22:20:48 +00:00
Lars Kühne e09a108f22 PackageHtmlCheckTest now actually tests something 2002-12-01 11:43:40 +00:00
Lars Kühne 42015d3ea3 moved AbstractFileSetCheck to api package 2002-12-01 11:33:42 +00:00
Lars Kühne 7d6f42cd20 moved AbstractFileSetCheck from checks package to api package 2002-12-01 11:14:25 +00:00
Lars Kühne 28d305efa2 fixed copy+paste error in last cleanup (RegexpHeaderCheck vs. HeaderCheck)
All Checks are running again, Oliver, thanks for your help
2002-12-01 11:05:19 +00:00
Lars Kühne a47526404d rename Check.getTokens() to getTokenNames() so BeanUtils
can find the setter method and is not confused about
the type of the bean property
2002-12-01 10:46:39 +00:00
Lars Kühne 721bd2c690 changed expected exception class to CheckstyleException 2002-12-01 09:04:36 +00:00
Lars Kühne 8bb244d50b implement createChecker for real, most tests are running now 2002-12-01 09:02:58 +00:00
Lars Kühne 0fb155232f improved error message 2002-12-01 09:01:33 +00:00
Oliver Burn fbbaff4827 Finally. The tests compile, now to make them run, then pass. 2002-12-01 05:27:33 +00:00
Oliver Burn 5ace8fc09d Cleanup of the configuration tests. Need to implement
new ones..................
2002-12-01 05:25:41 +00:00
Oliver Burn 6a30bbf329 Not required 2002-12-01 05:20:33 +00:00
Oliver Burn d98c96c4dd Add done with the easy stuff. 2002-12-01 05:16:37 +00:00