System.err.println("expanding...");
Tree t = r2.expand1();
- TestCase[] expanded = (TestCase[])((Functor)t.head()).invoke(t.children());
+ TestCase[] expanded = (TestCase[])((Functor)t.head()).invoke(t);
System.err.println("executing...");
for(TestCase tc : expanded) {
tc.execute();
}
public static class TestCaseMakerHelper extends MetaGrammarBindings {
public static @bind.as("grammaro") @bind.raw Object grammaro(Iterable<Tree> t) {
- System.out.println("working on " + t);
return MetaGrammar.make(t.iterator().next(), "s", new TaggingGrammarBindingResolver());
}
//public static @bind.as("tca") Object tca(Object[] o) throws IOException {