• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1gUnit
2
3Leon, Jen-Yuan Su
4leonsu at mac com
5
6CHANGES
7
8December 15, 2010
9
10* TJP gunit checked tokens.index() != size instead of size()-1
11
12November 26, 2010
13
14* Added -p package-name-for-junit-output since test package is usually
15  different than parser package. TJP
16
17January 24, 2009
18
19* Improved error messages
20
21* stderr was being ignored upon exception.
22
23* generated junit test code indicate lines in gunit script. also error
24  messages during parse time show line number from gunit script.
25
26* refactored template generation / parameters
27
28* Allow strings in AST descriptions (gUnit.g). E.g., it handle this rule
29  (I had to quote the "^(" root tokens):
30
31  block:
32	"( ^(A B) | ^(b C) )" -> (BLOCK (ALT ("^(" A B)) (ALT ("^(" b C)))
33
34
35January 23, 2009
36
37* whitespace ignored and "x y z" turned into x y z now in	expected tree p\
38attern. E.g.,
39
40rule:
41    "a : A<X,Y=a.b.c>;" -> (RULE a (BLOCK (ALT
42                            (A (ELEMENT_OPTIONS X (= Y "a.b.c")))))
43                           )
44
45July 31, 2009
46
47* support custom tree adaptor in gUnit script
48
49March 21, 2009
50
51* gUnitTestSuite.java: use lexer rule name if parser rule name is null (by Shaoting)
52
53* add gunit/swingui package for gUnitEditor GUI
54
55Feb 17, 2009
56
57* added new interfaces for GUI editor
58
59* recognizes invalid input as a FAIL case instead of throwing an exception
60
61Steve Ebersole provided a patch for the following two fixes.
62* allows setting an output directory (for JUnitCodeGen)
63
64* allows providing a classloader (for both JUnitCodeGen and gUnitExecutor)
65
66Nov 25, 2008
67
68* fixed external test file path issue. if an input test file is not found under the current dir, then try to look for it under the package dir also.
69
70* fixed multiple-line input indentation issue.
71
72* fixed bug: FileNotFoundException terminated gUnit tests due to any non-existent input test file.
73
74* display escaped text for newline characters in the test result for comparing expected and actual string.
75
76Nov 20, 2008
77
78* added new functionality of testing lexical rules
79
80* fixed bug of using PipedInput/Output Stream and changed to ByteArrayOutputStream. Jared Bunting provided a patch on this issue.
81
82* improved jUnit translation mode and moved supporting codes into gUnitBaseTest.
83
84Oct 31, 2008
85
86* fixed bug of testing a tree grammar's template output
87
88July 9, 2008
89
90* fixed bug: program exited upon InvocationTargetException
91  Sumanto Biswas pointed out the issue and provided suggestions.
92
93* Better handle on test rule's StringTemplate output
94
95May 10, 2008
96
97* added exit code functionality
98
99* fixed string escaping bug for junit generator
100
1011.0.2 - Apr 01, 2008
102
103* fixed grammar bug: multiple-line input, AST output
104
105* adjusted the output of test result
106
107Mar 20, 2008
108
109* moved test result to string template (gUnitTestResult.stg)
110
111* added the display of line of test in the test result
112
113Feb 19, 2008
114
115* fixed bug of displaying test sequence and error message from ANTLR
116
117Feb 8, 2008
118
119* made compatible with ANTLR 3.1b1
120
1211.0.1 - Jan 11, 2008
122
123* Kenny MacDermid helps with code refactoring
124
1251.0 - Aug 20, 2007
126
127Initial early access release
128