[root]/groovy/groovy-core/src/test/groovy/model
increase coverage, minor checkstyle refactorings
6 lines of code changed in:
BUILD: added compiling src/examples to CI build, moved a few files into src/examples
0 lines of code changed in:
Missing def, required by Jochen's changes if we enable the JSR scope checks
10 lines of code changed in:
patched another couple of scripts
1 lines of code changed in:
updated the test cases to use JSR parser syntax
6 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
0 lines of code changed in:
Numerous changes.
* tidied up the closure methods - added many new helper methods such as for iterating over files by line
* added a Swing builder together with some MVC models to make creating Swing UIs in Groovy really simple
* various things tidied up and more unit test cases
* return statement is now optional
53 lines of code changed in: