diff --git a/tool/test/org/antlr/v4/test/runtime/csharp/Antlr4.Test.mono.csproj b/tool/test/org/antlr/v4/test/runtime/csharp/Antlr4.Test.mono.csproj
deleted file mode 100644
index eb487094..00000000
--- a/tool/test/org/antlr/v4/test/runtime/csharp/Antlr4.Test.mono.csproj
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
- Debug
- AnyCPU
- {EDC70A11-C4C1-4209-93A6-CCE2B19E8E95}
- Exe
- Antlr4.Test.mono
- Test
- Test
- v3.5
-
-
- true
- full
- false
- bin\Debug
- DEBUG;
- prompt
- 4
- true
-
-
- true
- bin\Release
- prompt
- 4
- true
-
-
-
-
-
-
- {E1A46D9D-66CB-46E8-93B0-7FC87299ABEF}
- Antlr4.Runtime.mono
-
-
-
-
-
-
-
-
-
-
- Test.exe.config
- Always
-
-
-
diff --git a/tool/test/org/antlr/v4/test/runtime/csharp/Antlr4.Test.vs2013.csproj b/tool/test/org/antlr/v4/test/runtime/csharp/Antlr4.Test.vs2013.csproj
deleted file mode 100644
index 08b976dc..00000000
--- a/tool/test/org/antlr/v4/test/runtime/csharp/Antlr4.Test.vs2013.csproj
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
- Debug
- AnyCPU
- {EDC70A11-C4C1-4209-93A6-CCE2B19E8E95}
- Exe
- Antlr4.Test.mono
- Test
- Test
- v4.5
-
-
- true
- full
- false
- bin\Debug
- DEBUG;
- prompt
- 4
- true
-
-
- true
- bin\Release
- prompt
- 4
- true
-
-
-
-
-
-
-
-
-
-
-
-
- {E1A46D9D-66CB-46E8-93B0-7FC87299ABEF}
- Antlr4.Runtime.net45
-
-
-
diff --git a/tool/test/org/antlr/v4/test/runtime/csharp/App.config b/tool/test/org/antlr/v4/test/runtime/csharp/App.config
deleted file mode 100644
index 126525c2..00000000
--- a/tool/test/org/antlr/v4/test/runtime/csharp/App.config
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/tool/test/org/antlr/v4/test/runtime/csharp/AssemblyInfo.cs b/tool/test/org/antlr/v4/test/runtime/csharp/AssemblyInfo.cs
deleted file mode 100644
index 40bdfbe7..00000000
--- a/tool/test/org/antlr/v4/test/runtime/csharp/AssemblyInfo.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using System;
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-// Information about this assembly is defined by the following attributes.
-// Change them to the values specific to your project.
-
-[assembly: AssemblyTitle ("Antlr4.Test.mono")]
-[assembly: AssemblyDescription ("")]
-[assembly: AssemblyConfiguration ("")]
-[assembly: AssemblyCompany ("")]
-[assembly: AssemblyProduct ("")]
-[assembly: AssemblyCopyright ("")]
-[assembly: AssemblyTrademark ("")]
-[assembly: AssemblyCulture ("")]
-[assembly: CLSCompliant (true)]
-// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
-// The form "{Major}.{Minor}.*" will automatically update the build and revision,
-// and "{Major}.{Minor}.{Build}.*" will update just the revision.
-
-[assembly: AssemblyVersion ("1.0.*")]
-
-// The following attributes are used to specify the signing key for the assembly,
-// if desired. See the Mono documentation for more information about signing.
-
-//[assembly: AssemblyDelaySign(false)]
-//[assembly: AssemblyKeyFile("")]
-
-partial class TParser
-{
- public Antlr4.Runtime.Atn.ParserATNSimulator getInterpreter()
- {
- return ((Antlr4.Runtime.Parser)(object)this).Interpreter;
- }
-}
diff --git a/tool/test/org/antlr/v4/test/runtime/csharp/BaseTest.java b/tool/test/org/antlr/v4/test/runtime/csharp/BaseTest.java
index 4ca225cc..e3a323fc 100644
--- a/tool/test/org/antlr/v4/test/runtime/csharp/BaseTest.java
+++ b/tool/test/org/antlr/v4/test/runtime/csharp/BaseTest.java
@@ -32,13 +32,10 @@
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.Collections;
-import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
-import java.util.Set;
import org.antlr.v4.CSharpTool;
import org.antlr.v4.Tool;
import org.antlr.v4.runtime.Token;
@@ -58,9 +55,6 @@ public abstract class BaseTest {
protected String input;
protected String expectedOutput;
protected String expectedErrors;
- private String stderrDuringParse;
- public static final String newline = System.getProperty("line.separator");
- public static final String pathSep = System.getProperty("path.separator");
/**
* Generates C# verbatim style Template String body (WITHOUT surrounding quotes)
@@ -184,7 +178,6 @@ protected void generateParserTest(String grammarFileName,
lexerName,
"-visitor");
assertTrue(success);
- this.stderrDuringParse = null;
if (parserName == null) {
writeLexerTestFile(lexerName, false);
}
@@ -212,28 +205,7 @@ private boolean rawGenerateRecognizer(String grammarFileName,
String... extraOptions)
{
ErrorQueue equeue = antlr(grammarFileName, grammarStr, defaultListener, extraOptions);
- if (!equeue.errors.isEmpty()) {
- return false;
- }
-
- List files = new ArrayList();
- if ( lexerName!=null ) {
- files.add(lexerName+".cs");
- }
- if ( parserName!=null ) {
- files.add(parserName+".cs");
- Set optionsSet = new HashSet(Arrays.asList(extraOptions));
- String grammarName = grammarFileName.substring(0, grammarFileName.lastIndexOf('.'));
- if (!optionsSet.contains("-no-listener")) {
- files.add(grammarName+"Listener.cs");
- files.add(grammarName+"BaseListener.cs");
- }
- if (optionsSet.contains("-visitor")) {
- files.add(grammarName+"Visitor.cs");
- files.add(grammarName+"BaseVisitor.cs");
- }
- }
- return true;
+ return equeue.errors.isEmpty();
}
protected void mkdir(String dir) {