>
> Version 2353 was commited by steve on 2012-10-31 14:15:43 +0000 (Wed, 31 Oct
> 2012)
>
> A few tests for WanMil's style functions.
Thanks for adding these tests.
Do you think a "negative" test would also be good?
@Test
public void testNoFunctionParameters() {
// a parameter in a function is not allowed yet
try {
// this should throw a SyntaxException
makeRuleSet("A=B & length(a) > 91 [0x5]");
assertTrue("Function with parameters are not allowed", false);
} catch (SyntaxException exp) {
}
}
WanMil
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev