projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checkpoint
[sbp.git]
/
src
/
edu
/
berkeley
/
sbp
/
misc
/
RegressionTests.java
diff --git
a/src/edu/berkeley/sbp/misc/RegressionTests.java
b/src/edu/berkeley/sbp/misc/RegressionTests.java
index
02a5eee
..
3255630
100644
(file)
--- a/
src/edu/berkeley/sbp/misc/RegressionTests.java
+++ b/
src/edu/berkeley/sbp/misc/RegressionTests.java
@@
-103,18
+103,18
@@
public class RegressionTests {
});
}
public static class TestCaseMakerHelper extends MG {
});
}
public static class TestCaseMakerHelper extends MG {
- public static @tag("grammaro") @raw Object grammaro(Iterable<Tree> t) {
+ public static @bind.as("grammaro") @raw Object grammaro(Iterable<Tree> t) {
System.out.println("working on " + t);
return Demo.make(t.iterator().next(), "s", new ReflectiveMetaPlain());
}
System.out.println("working on " + t);
return Demo.make(t.iterator().next(), "s", new ReflectiveMetaPlain());
}
- //public static @tag("tca") Object tca(Object[] o) throws IOException {
+ //public static @bind.as("tca") Object tca(Object[] o) throws IOException {
//return new TestCase((String)o[0], (String[])o[1], (Union)o[2], false, false); }
//return new TestCase((String)o[0], (String[])o[1], (Union)o[2], false, false); }
- public static @tag("tca") Object tca(String input, String[] output, Union u) throws IOException {
+ public static @bind.as("tca") Object tca(String input, String[] output, Union u) throws IOException {
return new TestCase(input, output, u, false, false); }
return new TestCase(input, output, u, false, false); }
- public static @tag("tcb") Object tca(String input, Union u) throws IOException {
+ public static @bind.as("tcb") Object tca(String input, Union u) throws IOException {
return new TestCase(input, new String[0], u, false, false); }
return new TestCase(input, new String[0], u, false, false); }
- public static @tag("ts") TestCase[] go(TestCase[] cases) { return cases; }
- public static @tag("o") Object o(Object[] s) { return s; }
+ public static @bind.as("ts") TestCase[] go(TestCase[] cases) { return cases; }
+ public static @bind.as("o") Object o(Object[] s) { return s; }
}
}
}
}