Oliver Burn
b787d5ed90
Fix bug with needing whitespace around '*' using in import blah.*;
2002-11-22 14:14:37 +00:00
Oliver Burn
068f85a72b
fixed checkstyle error. We now have reached 0 (thats ZERO) errors. Yahoo!!!!
2002-11-22 13:53:58 +00:00
Oliver Burn
109b8f02b6
Sorry, but the Eclipse warning was getting annoying. I wish there was a way to
...
ignore specific errors.
2002-11-22 13:45:26 +00:00
Oliver Burn
2d1cc52679
fixed checkstyle errors
2002-11-22 13:43:10 +00:00
Oliver Burn
d83cf71c6b
Fixed bug in parameter name check. did not handle catch blocks.
2002-11-22 13:35:49 +00:00
Oliver Burn
303352fe2d
fixed checkstyle errors
2002-11-22 13:00:01 +00:00
Oliver Burn
3430721be2
fixed checkstyle errors
2002-11-22 12:46:24 +00:00
Oliver Burn
91aa657832
putting back the checkstyle settings back and now getting 67 odd errors. :-(
2002-11-22 12:37:00 +00:00
Oliver Burn
0ff652ab52
minor patch
2002-11-22 10:09:02 +00:00
Oliver Burn
fe98987973
Minor cleanup
2002-11-21 10:53:14 +00:00
Lars Kühne
7429b6641b
removed some debugging leftovers
2002-11-20 21:57:37 +00:00
Lars Kühne
fe39ab1558
fixed message bundle PacakgeHtmlCheck
2002-11-20 21:55:07 +00:00
Lars Kühne
f116754656
added test for PackageHtmlCheck
2002-11-20 21:53:45 +00:00
Lars Kühne
6568a9b882
fixed checkstyle errors
2002-11-20 05:56:06 +00:00
Lars Kühne
0f050732b0
added todo comment about GlobalConfiguration field
2002-11-20 05:50:38 +00:00
Lars Kühne
abff1a2489
Made TreeWalker a FileSetCheck and moved the
...
processing logic from Checker to TreeWalker.
Checker is now only concerned with managing FileSetChecks,
although the setup is still hardcoded in the constructor,
c.f. TODO comments in Checker constructor.
Uncommenting the addFileSetCheck calls for real is
left until we have better control our configuration.
2002-11-19 20:21:46 +00:00
Lars Kühne
54a09706ec
Introduced MessageDispatcher interface so
...
FileSetChecks do not need to be tightly coupled
with Checker to report errors.
FileSetCheck implementations report errors now.
Error counting in Checker is now done via an
AuditListener, no need to bother about that in
each individual FileSetCheck.
2002-11-19 19:17:25 +00:00
Oliver Burn
a49d4e972a
fix import
2002-11-19 10:08:25 +00:00
Rick Giles
cf7e4c19e3
renamed XML element "set-property" to "property"
2002-11-18 10:03:05 +00:00
Lars Kühne
bac2f07937
removed toString() to
...
get better coverage of DetailAST and to
improve the readability of the leftmost column in the gui
2002-11-17 16:13:38 +00:00
Lars Kühne
0e57b8d026
improve test coverage of AbstractFormatCheck
2002-11-17 15:57:36 +00:00
Lars Kühne
a8dc464f06
improve test coverage of HeaderCheck
2002-11-17 15:41:06 +00:00
Lars Kühne
dce6e0d57e
removed obsolete Global Property "require package html"
...
and additional cleanup since that was the last boolean property
2002-11-17 15:37:39 +00:00
Lars Kühne
08f2b317d6
removed obsolete Global Property "require package html"
...
and additional cleanup since that was the last boolean property
2002-11-17 15:24:55 +00:00
Lars Kühne
52d9d94ca6
removed obsolete Global Property "require package html"
...
and additional cleanup since that was the last boolean property
2002-11-17 09:14:30 +00:00
Lars Kühne
82b2ba5269
Moved stripping of basedir to the event handling routines.
...
This separates concerns in parse(File) as a preparation for moving that method to TreeWalker.
It also fixes bug #622290 (package name reported incorrectly) once I integrate PackageHtmlCheck.
2002-11-17 08:24:50 +00:00
Lars Kühne
b33ff29c69
made TreeWalker public so that parse() is accessible from gui
2002-11-17 08:13:20 +00:00
Lars Kühne
93390fbc8a
moved parse() from Checker to TreeWalker
2002-11-17 08:05:35 +00:00
Lars Kühne
62133d9541
fixed javadoc errors for build.bindist
2002-11-17 07:17:35 +00:00
Lars Kühne
822384a711
Changed signature of Checker.process(String[]) to process(File[])
...
This is a step towards making TreeWalker a FileSetCheck, next some
methods need to be moved around.
2002-11-17 06:48:56 +00:00
Lars Kühne
cb2862b73a
fixed checkstyle errors
2002-11-17 06:47:38 +00:00
Rick Giles
cb475adb81
corrected syntax errors in test inputs
2002-11-16 20:27:48 +00:00
Rick Giles
2debda611f
Added overriding global properties
...
Needs testing, especially in ant with CheckstyleTask.
2002-11-16 19:38:07 +00:00
Lars Kühne
a4ce4c6bb4
added initial core implementation of TranslationCheck (rfe #634966 )
...
integration into checker and tests is still missing
2002-11-16 17:31:56 +00:00
Rick Giles
3c0608f33a
Wrapped GlobalProperties and CheckConfiguration[] into a Configuration
...
class. TODO: Integrate with CheckStyleTask
2002-11-15 18:18:52 +00:00
Oliver Burn
f8f6ded7b4
Upgrading to JUnit 3.8.1
2002-11-15 14:08:11 +00:00
Oliver Burn
5fdbc89958
removed unused import - Eclipse keeps telling me about it. :-)
2002-11-15 13:42:48 +00:00
Rick Giles
2cb0dc8423
added tests for Options - especially sensitive to enumerations
2002-11-14 23:47:51 +00:00
Lars Kühne
788044ce81
removed old package.html check
2002-11-14 18:04:02 +00:00
Lars Kühne
0de0817fb1
added scetch of PackageHtmlCheck as the first FileSetCheck
2002-11-14 18:01:22 +00:00
Lars Kühne
6f378fdf3d
added scetch of PackageHtmlCheck as the first FileSetCheck
2002-11-14 17:48:08 +00:00
Lars Kühne
efea3a3e56
added FileSetCheck interface
2002-11-14 17:43:01 +00:00
Rick Giles
9413f1a0af
fixed bug in option enumerations - now each class has it's own enumeration
2002-11-14 15:59:49 +00:00
Oliver Burn
59ef3ec378
fix minor bug
2002-11-14 12:06:45 +00:00
Oliver Burn
c6fcfc3e22
Updated to include the checks package. I am thinking that standard Javadoc is
...
a good way to document our checks. Suggest others generate the Javadoc and
have a look at it.
2002-11-14 12:02:06 +00:00
Rick Giles
224c9c3c45
renamed Configuration to GlobalProperties
2002-11-14 10:37:34 +00:00
Rick Giles
4a638fc0e6
Added global-property to DTD.
...
Removed DTD from XML file until fix of ConfigurationLoader
2002-11-14 10:10:27 +00:00
Rick Giles
6f4247181b
rename Configuration to GlobalProperties
2002-11-14 10:07:16 +00:00
Rick Giles
e71b877a42
corrected TestCases
2002-11-14 01:06:24 +00:00
Rick Giles
a5adce4215
added a JUnit TestSuite for all the tests
2002-11-14 00:39:49 +00:00