[root]/groovy/groovy-core/src/main/groovy/mock
interceptor
(8 files, 353 lines)
Trying to roll back the changes to invokeMethod - hold on to your hats!
0 lines of code changed in:
The four access modifiers (say, private, protected, public and package default)
to (static or not) methods should work like as they do in Java.
To do that, a new method
public Object invokeMethodAt(Class at, String name, Object args)
(which is a temporay replacement of the method "invokeMethod"),
has been added to the interface GroovyObject.
For a test suit, StaticMethodAccessBug.groovy and its companions have been added.
14 lines of code changed in:
this is a four part commit:
1) remove the ParameterArray workaround, but keep the functionality
2) transfer Closure's invocation rules to MetaClass
3) give all groovy methods the ability to use vargs
4) add a starting implementation of a replacement for ClassWorlds
1 lines of code changed in:
Fix bugs about the closures and methods with object array paramaters.
(GROOVY-584, GROOVY-886, GROOVY-888, GROOVY-918, GROOVY-930, and GROOVY-931)
2 lines of code changed in:
Applied patch for GROOVY-76 on behalf of Brad Dillman. Re-enabled all tests.
7 lines of code changed in:
* added more documentation, completing some javadoc.
* added a wiki plugin for the build so that the documentation can be written in Wiki notation including example source code and then turned into HTML.
This will also allow us to easily extract the example code used in the documentation and unit test it
8 lines of code changed in:
Added GroovyMock library for mock testing of groovy objects
115 lines of code changed in: