[antlr-interest] Specifying string template file location with GUnit

Cameron Ross cross at kojeware.com
Wed Dec 16 05:47:24 PST 2009


Hi,

I'm using GUnit to test an ANLTR tree walker and it works very well.  
However, the only way I've found to tell GUnit where my template file 
resides is set the template library from within @init for the grammar 
rule being tested.  This has the obvious drawback of placing test code 
within the tree walker itself.  Is there another way of specifying the 
template library when using GUnit?

Thanks,
Cameron.


More information about the antlr-interest mailing list