Directory groovy/groovy-core/src/test/org/codehaus/groovy/bsf/

Directory Created:
2003-10-31 19:44
Total Files:
2
Deleted Files:
0
Lines of Code:
348

Browse with ViewVC

[root]/groovy/groovy-core/src/test/org/codehaus/groovy/bsf

Lines of Code

groovy/groovy-core/src/test/org/codehaus/groovy/bsf/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 16 (100.0%) 455 (100.0%) 28.4
jstrachan 9 (56.3%) 288 (63.3%) 32.0
paulk 5 (31.3%) 165 (36.3%) 33.0
glaforge 1 (6.3%) 2 (0.4%) 2.0
blackdrag 1 (6.3%) 0 (0.0%) 0.0

Most Recent Commits

paulk 2007-04-04 06:37

reformat test code

11 lines of code changed in:

paulk 2007-03-06 12:09

CHECKSTYLE: remove unused imports

0 lines of code changed in:

blackdrag 2006-11-23 21:38

* replaces all ClassCastException with a new class GroovyCastException, this reaplces TypeMisMatchException too

* centralizes the coercion

* setting a non existent property will now throw an Exception

* Exceptions thrown in property setter/getter methods are no longer ignored

* simplifies the property handlig code a bit

* corrects wrapping to InvokerInvocationException

* changes the GCL a bit to simplify custom Collector code

* removes setProperties as public method

* added boolean to castToType in DefaultTypeTransformation.java

0 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/bsf: BSFTest.java (-1)
paulk 2006-10-25 08:07

improved coverage

154 lines of code changed in:

glaforge 2005-04-04 22:46

- made the build actually build

- fixed some bugs and missing def keywords

- commented some tests (like the standard jdk5 for loop) since it's been outlawed

- there seems to be some problem of exception thrown by antlr instead of CompilationFailedException

2 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/bsf: BSFTest.java (+2 -2)
jstrachan 2005-03-02 09:23

updated the test cases to use JSR parser syntax

0 lines of code changed in:

jstrachan 2004-03-23 15:39

test case and fix for GROOVY-311

12 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/bsf: BSFTest.java (+12)
jstrachan 2004-03-03 19:39

applied Peter Reilly's test case and fix for GROOVY-192 - thanks Peter!

9 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/bsf: BSFTest.java (+9)
jstrachan 2004-01-23 20:53

Appended another test in an attempt to reproduce this bug



http://www.jroller.com/page/gregorypierce/

35 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/bsf: BSFTest.java (+35 -10)
jstrachan 2004-01-02 18:03

Patch to avoid exceptions when performing two eval() calls via BSF with the same source file name and different code

8 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/bsf: BSFTest.java (+8)
jstrachan 2003-12-23 16:51

test case and fix for GROOVY-88

1 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/bsf: BSFTest.java (+1 -1)
jstrachan 2003-12-23 14:56

Added James Birchfield's patch to allow caching in the BSF integration.



We might wanna refactor more to combine the caching into GroovyClassLoader

127 lines of code changed in:

jstrachan 2003-10-31 19:44

Fully working BSF engine including variable passing context etc.



Now rather than just Groovy scripts being put into the static main() method, the scripts now derive from Script, the code is in the run() instance method and the Script object can take a ScriptContext to allow variables to be passed into and out of the script.



This makes for easy BSF integration. It will also be useful for interactive shells too; the variables can be shared across script invocations. Indeed each script can be in its own classloader and only the ScriptContext shared.

96 lines of code changed in:

  • groovy/groovy-core/src/test/org/codehaus/groovy/bsf: BSFTest.java (new 96)
Generated by StatSVN 0.3.2-SNAPSHOT