[root]/groovy/groovy-core/src/test/groovy/tree
| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 76 (100.0%) | 584 (100.0%) | 7.6 |
| jstrachan | 54 (71.1%) | 512 (87.7%) | 9.4 |
| glaforge | 5 (6.6%) | 23 (3.9%) | 4.6 |
| bob | 1 (1.3%) | 22 (3.8%) | 22.0 |
| paulk | 7 (9.2%) | 12 (2.1%) | 1.7 |
| mguillem | 6 (7.9%) | 11 (1.9%) | 1.8 |
| tug | 1 (1.3%) | 2 (0.3%) | 2.0 |
| spullara | 1 (1.3%) | 1 (0.2%) | 1.0 |
| blackdrag | 1 (1.3%) | 1 (0.2%) | 1.0 |
reformat test code
5 lines of code changed in:
Minor refactoring to make tests work better across environments, e.g. SerializeTest uses SystemClassLoader, rename BinaryStreamsTest to include it in test suite
1 lines of code changed in:
GROOVY-1690
Add package declaration corresponding to the folder for (most of) unit tests where it was missing.
11 lines of code changed in:
minor test cleanup, converted some println's to asserts
6 lines of code changed in:
Missing def, required by Jochen's changes if we enable the JSR scope checks
22 lines of code changed in:
Missing def, required by Jochen's changes if we enable the JSR scope checks
1 lines of code changed in:
added a missing def
1 lines of code changed in:
updated the test cases to use JSR parser syntax
5 lines of code changed in:
Fix GROOVY-508
2 lines of code changed in:
Mispelled API call
1 lines of code changed in:
patch for GROOVY-242
2 lines of code changed in:
Fixes for GROOVY-94, GROOVY-118, GROOVY-114, GROOVY-113, GROOVY-111, GROOVY-99
Also added the first cut of the user guide
Patched the JUnit test case generation from the wiki to handle scripts as well as methods.
Patched the $ escaping logic to allow $${foo} to be used to represent the ${foo} string
Made strings support multi-line spanning
Improved some of the lexical exception messages
Added sample script to convert HTML into wiki notation
Added useWriter/Reader/InputStream/OutputStream making it easier to work with streams without having to clutter your code with resource closing code.
8 lines of code changed in:
removed the dependency on commons-logging. we may as well use JDK 1.4 logging instead since we're 1.4 dependent. This means 1 less jar for folks to use when embedding
9 lines of code changed in:
Fixed various test cases I broke with the GPath changes
38 lines of code changed in:
Apologies for the monster commit everyone - was stuck travelling for 24 hours so had heaps of time to hack groovy - without WiFi in Houston or Gatwick :(
here's a summary of the changes
* refactored the MetaClass method invocation code to be much cleaner (no List and Object[] crap) the dispatcher can now handle overloading of 1 type of a multi-arg list.
* fixed bad exception message when exceptions occur inside a closure which lead to a wierd exception message that was very confusing (due to an exception being wrapped). Added a test case to demonstrate this now works fine.
* added a NoSuchMethodException for better exception
* added better error checking validation messages & exceptions for bad class names & known properties & methods.
* attempted to tidy up the line numbers when exceptions occur; its not totally working yet :)
* tidied up class resolving code so that classpath & compile unit class resolutions work much cleaner.
* uncommented a bunch of test cases. If you search for @todo in the *.groovy files you'll often see little bits of tests that are commented out until some issue with the parser or runtime is sorted out.
* the while() loop appears to be working now
6 lines of code changed in:
Major refactor of the use of print() and println().
We've now added 'global' methods to handle printing out objects in a simple way (common in things like Python and Ruby). This avoids the long winded System.out.println().
So we can now just do
println( "hello world!" )
The nice thing about this is, the owner class in which you execute this operation could overload print() and println() to do something cunning, like redirecting output to a file or whatnot.
So the previously added methods to print an object have been removed. You can no longer do
"hello".println()
12 lines of code changed in:
* added SAX and Markup builders for easy creation of SAX events or XML / HTML markup
* added tree navigation methods to Node.
node.depthFirst().each { n | n.println() }
* added times() method to numbers for easy looping
* added join() method to collections for easy string concatenation
* fixed some bad exception stack traces when methods fail
* refactored the groovy packages into util
* nearly implemented while & do/while - just need a few bugs fixed
55 lines of code changed in:
added a bunch more unit tests of the concise GroovyMarkup
85 lines of code changed in:
Updated tests to use the nice new simpler closure syntax
8 lines of code changed in:
Fix for GROOVY-18.
:= has gone away, in favour of == for EQUALITY testing.
==, which previously meant IDENTITY testing has, as noted immediately
above, has become an EQUALITY test.
So, to do IDENTITY testing, you need === (yes, that's right, 3 of'em).
Three equals, ===, for IDENTITY testing.
Two for EQUALITY.
There is no :=
Hi mom.
22 lines of code changed in:
(11 more)