summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-03-27 05:01:05 (EDT)
committer sefftinge2009-03-27 05:01:05 (EDT)
commitc96095963bd688243ebd6033de92d35a3550175c (patch)
tree936a14111e095b84085def802f867d79f9c1fe7f
parent41724c9737e672ba2650419624b1bce1d2d27a69 (diff)
downloadorg.eclipse.xtext-c96095963bd688243ebd6033de92d35a3550175c.zip
org.eclipse.xtext-c96095963bd688243ebd6033de92d35a3550175c.tar.gz
org.eclipse.xtext-c96095963bd688243ebd6033de92d35a3550175c.tar.bz2
Remove accidently introduced dependency to de.itemis.xtext.antlr ..
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/generator/PluginTestSuite.java1
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/TerminalRuleToLexerBodyTest.java27
2 files changed, 14 insertions, 14 deletions
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/generator/PluginTestSuite.java b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/generator/PluginTestSuite.java
index 8db9d47..9cc07b3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/generator/PluginTestSuite.java
+++ b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/generator/PluginTestSuite.java
@@ -39,7 +39,6 @@ public class PluginTestSuite {
suite.addTestSuite(org.eclipse.xtext.parser.PartialParserTest.class);
suite.addTestSuite(org.eclipse.xtext.parser.PartialParsingPerformanceTest.class);
suite.addTestSuite(org.eclipse.xtext.parser.PartialParsingPointerTest.class);
- suite.addTestSuite(org.eclipse.xtext.parser.TerminalRuleToLexerBodyTest.class);
suite.addTestSuite(org.eclipse.xtext.parser.XtextGrammarComparingTest.class);
suite.addTestSuite(org.eclipse.xtext.parser.XtextParserBugsTest.class);
suite.addTestSuite(org.eclipse.xtext.parser.XtextParserTest.class);
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/TerminalRuleToLexerBodyTest.java b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/TerminalRuleToLexerBodyTest.java
index 3e3b82a..1cf29f6 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/TerminalRuleToLexerBodyTest.java
+++ b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/TerminalRuleToLexerBodyTest.java
@@ -13,12 +13,13 @@ import org.eclipse.xtext.TerminalRule;
import org.eclipse.xtext.XtextStandaloneSetup;
import org.eclipse.xtext.junit.AbstractXtextTests;
-import de.itemis.xtext.antlr.TerminalRuleToLexerBody;
+//import de.itemis.xtext.antlr.TerminalRuleToLexerBody;
/**
* @author Sebastian Zarnekow - Initial contribution and API
+ * TODO reactivate testcase and move to test plugin, that is not hosted at eclipse
*/
-public class TerminalRuleToLexerBodyTest extends AbstractXtextTests {
+public abstract class TerminalRuleToLexerBodyTest extends AbstractXtextTests {
private Grammar grammar;
private TerminalRule adaString;
@@ -39,15 +40,15 @@ public class TerminalRuleToLexerBodyTest extends AbstractXtextTests {
workaroundString = (TerminalRule) GrammarUtil.findRuleForName(grammar, "WORKAROUND_STRING");
}
- public void testToLexerBody_01() {
- String ada = TerminalRuleToLexerBody.toLexerBody(adaString);
- String expectation = "'\"' (~('\"')|'\"\"')* '\"'"; // '"' (~('"')|'""')* '"'
- assertEquals(expectation, ada);
- }
-
- public void testToLexerBody_02() {
- String workaround = TerminalRuleToLexerBody.toLexerBody(workaroundString);
- String expectation = "'\"' (~('\"')|'\"' '\"')* '\"'"; // '"' (~('"')|'"' '"')* '"'
- assertEquals(expectation, workaround);
- }
+// public void testToLexerBody_01() {
+// String ada = TerminalRuleToLexerBody.toLexerBody(adaString);
+// String expectation = "'\"' (~('\"')|'\"\"')* '\"'"; // '"' (~('"')|'""')* '"'
+// assertEquals(expectation, ada);
+// }
+//
+// public void testToLexerBody_02() {
+// String workaround = TerminalRuleToLexerBody.toLexerBody(workaroundString);
+// String expectation = "'\"' (~('\"')|'\"' '\"')* '\"'"; // '"' (~('"')|'"' '"')* '"'
+// assertEquals(expectation, workaround);
+// }
}