[stringtemplate-interest] Test changes and maven...
Caleb Lyness
caleb.lyness at ezswitch.net
Tue Mar 6 02:41:15 PST 2007
Hi,
First the maven part... I have got string template kinda building
automatically with maven 2.
There is a little batch job to move source files around to match maven
2's style and a pom.
The rest:
I have modified the junit tests so that they work under windows. I made
some minor changes:
removed unused symbols by commenting them out and
swapped parameter order for asserts. Now the asserts should all be
consistent and matching the formal
arguments (expected,actual). *Note test writers*: expected is what we
actually want the output
to look like.
I modified groups definition so that maps can consist of default only
entries:
map ::= [default: "value"]
See JIRA bug ST-15
I added 2 test for JIRA bug ST-15
The first checks that the map as given above works. The second checks
that the string "default"
can be returned. This still needs to be fixed
I added a test for JIRA bug ST-2. This is still needs fixing.
The following other tests also need attention.
*test8BitEuroChars:*
Please specify the actual characters escape code wanted. I had to remove
it before I could do
anything with the junit test code. I don't know what the actual
character used to be...
*testEmbeddedRegionRefWithNewlinesAngleBrackets:
*White space is causing this test to fail.
Assertion Equals details:
----
Expected:
XblortY
----
Actual:
Xblort
Y
----
*
**testRepeatedRestOpAsArg:
*This has been marked as a bug before.
Assertion Equals details:
----
Expected:
Tom, Tom
----
Actual:
Tom,
----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20070306/c6654e85/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sro.zip
Type: application/x-zip-compressed
Size: 29925 bytes
Desc: not available
Url : http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20070306/c6654e85/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20070306/c6654e85/attachment-0003.bin
More information about the stringtemplate-interest
mailing list