Directory groovy/groovy-core/src/test/groovy/tree/

Directory Created:
2003-09-30 11:15
Total Files:
7
Deleted Files:
1
Lines of Code:
359

Browse with ViewVC

[root]/groovy/groovy-core/src/test/groovy/tree

Lines of Code

groovy/groovy-core/src/test/groovy/tree/ Lines of Code

Developers

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

Most Recent Commits

paulk 2007-04-04 06:37

reformat test code

5 lines of code changed in:

paulk 2007-02-23 02:17

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:

mguillem 2007-02-01 17:21

GROOVY-1690

Add package declaration corresponding to the folder for (most of) unit tests where it was missing.

11 lines of code changed in:

paulk 2006-12-21 12:51

minor test cleanup, converted some println's to asserts

6 lines of code changed in:

glaforge 2005-06-12 17:01

Missing def, required by Jochen's changes if we enable the JSR scope checks

22 lines of code changed in:

glaforge 2005-06-12 16:06

Missing def, required by Jochen's changes if we enable the JSR scope checks

1 lines of code changed in:

blackdrag 2005-04-14 18:07

added a missing def

1 lines of code changed in:

jstrachan 2005-03-02 09:23

updated the test cases to use JSR parser syntax

5 lines of code changed in:

tug 2004-06-01 16:55

Fix GROOVY-508

2 lines of code changed in:

spullara 2004-04-27 09:13

Mispelled API call

1 lines of code changed in:

jstrachan 2004-03-07 15:25

patch for GROOVY-242

2 lines of code changed in:

jstrachan 2004-01-12 13:07

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:

jstrachan 2003-12-23 14:43

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:

jstrachan 2003-11-16 19:52

Fixed various test cases I broke with the GPath changes

38 lines of code changed in:

jstrachan 2003-11-15 06:42

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:

jstrachan 2003-10-30 15:12

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:

jstrachan 2003-10-09 18:24

* 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:

jstrachan 2003-10-09 08:24

added a bunch more unit tests of the concise GroovyMarkup

85 lines of code changed in:

jstrachan 2003-10-08 07:46

Updated tests to use the nice new simpler closure syntax

8 lines of code changed in:

bob 2003-10-07 23:07

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)

Generated by StatSVN 0.3.2-SNAPSHOT