preparing for CSharp

This commit is contained in:
ericvergnaud 2014-11-09 13:22:52 +08:00
parent 86fc7fd44d
commit 5847fd6995
1 changed files with 10 additions and 4 deletions

View File

@ -34,10 +34,11 @@ public class Generator {
Map<String, File> configs = new HashMap<String, File>();
configs.put("Source", readGrammarDir()); // source of test templates
configs.put("Java", readJavaDir()); // generated Java tests
configs.put("Python2", readPython2Dir()); // generated Python2 tests
configs.put("Python3", readPython3Dir()); // generated Python3 tests
configs.put("NodeJS", readNodeJSDir()); // generated NodeJS tests
configs.put("Safari", readSafariDir()); // generated Firefox tests
configs.put("CSharp", readCSharpDir()); // generated CSharp tests
// configs.put("Python2", readPython2Dir()); // generated Python2 tests
// configs.put("Python3", readPython3Dir()); // generated Python3 tests
// configs.put("NodeJS", readNodeJSDir()); // generated NodeJS tests
// configs.put("Safari", readSafariDir()); // generated Firefox tests
// configs.put("Firefox", readFirefoxDir()); // generated Firefox tests
return configs;
}
@ -50,6 +51,11 @@ public class Generator {
return new File(new URI(uri));
}
private static File readCSharpDir() {
// TODO Auto-generated method stub
return new File("/Users/ericvergnaud/Development/antlr4/antlr/antlr4-csharp/tool/test/org/antlr/v4/test/rt/csharp");
}
private static File readPython2Dir() {
// TODO Auto-generated method stub
return new File("/Users/ericvergnaud/Development/antlr4/antlr/antlr4-python2/tool/test/org/antlr/v4/test/rt/py2");