summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-02-05 04:45:12 (EST)
committer sefftinge2009-02-05 04:45:12 (EST)
commit487d2685871a6ed0aeaa2e7ba5f7548993f3ec38 (patch)
tree160d66cb48b3e7a9a0ecb11a366a2cf9475416eb
parent5f1632aba4b9f0c90c5a9cfc3cc350be64179e40 (diff)
downloadorg.eclipse.xtext-487d2685871a6ed0aeaa2e7ba5f7548993f3ec38.zip
org.eclipse.xtext-487d2685871a6ed0aeaa2e7ba5f7548993f3ec38.tar.gz
org.eclipse.xtext-487d2685871a6ed0aeaa2e7ba5f7548993f3ec38.tar.bz2
Added missing entries to testsuite
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/generator/PluginTestSuite.java52
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/datatyperules/ValueConverterTest.java (renamed from tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/datatyperules/TestValueConverter.java)2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/epatch/EpatchComparingTest.java1
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/formatter/FormatterTestLanguageRuntimeModule.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/WhitespacePreservingCallbackTest.java1
5 files changed, 47 insertions, 11 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 070589b..2a7c49f 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
@@ -13,8 +13,12 @@ public class PluginTestSuite {
public static Test suite() {
TestSuite suite = new TestSuite("org.eclipse.xtext.generator.tests");
- suite.addTestSuite(org.eclipse.xtext.XtextGrammarTest.class);
suite.addTestSuite(org.eclipse.xtext.EcoreUtil2Tests.class);
+ suite.addTestSuite(org.eclipse.xtext.GrammarUtilTest.class);
+ suite.addTestSuite(org.eclipse.xtext.XtextGrammarTest.class);
+ suite.addTestSuite(org.eclipse.xtext.crossrefs.CrossRefTest.class);
+ suite.addTestSuite(org.eclipse.xtext.crossrefs.DefaultScopeProviderTest.class);
+ suite.addTestSuite(org.eclipse.xtext.crossrefs.LinkingErrorTest.class);
suite.addTestSuite(org.eclipse.xtext.generator.resource.ResourceTest.class);
suite.addTestSuite(org.eclipse.xtext.grammarinheritance.InheritanceTest.class);
suite.addTestSuite(org.eclipse.xtext.grammarinheritance.ToEcoreTrafoTest.class);
@@ -23,11 +27,36 @@ public class PluginTestSuite {
suite.addTestSuite(org.eclipse.xtext.metamodelreferencing.tests.MetamodelRefTest.class);
suite.addTestSuite(org.eclipse.xtext.metamodelreferencing.tests.MultiGenMMTest.class);
suite.addTestSuite(org.eclipse.xtext.parseerrorhandling.ParseErrorHandlingTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.OffsetInformationTest.class);
suite.addTestSuite(org.eclipse.xtext.parser.PartialParserReplaceTest.class);
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.XtextGrammarComparingTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.XtextParserBugsTest.class);
suite.addTestSuite(org.eclipse.xtext.parser.XtextParserTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.datatyperules.GrammarTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.datatyperules.MetamodelTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.datatyperules.MetamodelTransformationErrorTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.datatyperules.MetamodelTransformationTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.datatyperules.PackratParserTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.datatyperules.ParserTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.datatyperules.PartialParserTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.datatyperules.SerializationTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.datatyperules.ValueConverterTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.epatch.EpatchComparingTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.keywords.GrammarAccessTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.keywords.ParserTest.Antlr.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.keywords.ParserTest.Packrat.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.packrat.PackratParserGenUtilTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.packrat.PerformanceTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.packrat.PerformanceTestXtextGrammar.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.terminalrules.DynamicChannelTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.terminalrules.HiddensTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.terminalrules.InterpreterTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.terminalrules.PackratHiddensTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.terminalrules.PackratParserTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parser.terminalrules.ParserTest.class);
suite.addTestSuite(org.eclipse.xtext.parsetree.ASTChangeTest.class);
suite.addTestSuite(org.eclipse.xtext.parsetree.CommentTest.class);
suite.addTestSuite(org.eclipse.xtext.parsetree.EmptyModelTest.class);
@@ -36,20 +65,27 @@ public class PluginTestSuite {
suite.addTestSuite(org.eclipse.xtext.parsetree.LengthOffsetLineTest.class);
suite.addTestSuite(org.eclipse.xtext.parsetree.NodeContentAdapterTest.class);
suite.addTestSuite(org.eclipse.xtext.parsetree.NodeModelTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parsetree.ParseTreeUtilTest.class);
suite.addTestSuite(org.eclipse.xtext.parsetree.SerializeTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parsetree.formatter.FormatterTest.class);
suite.addTestSuite(org.eclipse.xtext.parsetree.reconstr.ComplexReconstrTest.class);
suite.addTestSuite(org.eclipse.xtext.parsetree.reconstr.SimpleReconstrTest.class);
suite.addTestSuite(org.eclipse.xtext.parsetree.reconstr.WhitespacePreservingCallbackTest.class);
- suite.addTestSuite(org.eclipse.xtext.parsetree.ParseTreeUtilTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parsetree.reconstr.XtextGrammarReconcilationTest.class);
+ suite.addTestSuite(org.eclipse.xtext.parsetree.transientvalues.TransientValuesTest.class);
suite.addTestSuite(org.eclipse.xtext.reference.CommentOnEofBug_234135_Test.class);
suite.addTestSuite(org.eclipse.xtext.reference.LeafNodeBug_234132_Test.class);
- suite.addTestSuite(org.eclipse.xtext.resource.metamodel.Xtext2EcoreTransformerTest.class);
+ suite.addTestSuite(org.eclipse.xtext.resource.XtextResourcePerformanceTest.class);
+ suite.addTestSuite(org.eclipse.xtext.resource.XtextResourceTest.class);
+ suite.addTestSuite(org.eclipse.xtext.resource.metamodel.MultiValueFeatureTest.class);
+ suite.addTestSuite(org.eclipse.xtext.resource.metamodel.ResourceTests.class);
suite.addTestSuite(org.eclipse.xtext.resource.metamodel.TypeHierarchyHelperTests.class);
- suite.addTestSuite(org.eclipse.xtext.crossrefs.CrossRefTest.class);
- suite.addTestSuite(org.eclipse.xtext.crossrefs.LinkingErrorTest.class);
- suite.addTestSuite(org.eclipse.xtext.parser.XtextParserBugsTest.class);
- suite.addTestSuite(org.eclipse.xtext.parsetree.transientvalues.TransientValuesTest.class );
- suite.addTestSuite(org.eclipse.xtext.parsetree.formatter.FormatterTest.class );
+ suite.addTestSuite(org.eclipse.xtext.resource.metamodel.Xtext2EcoreTransformerTest.class);
+ suite.addTestSuite(org.eclipse.xtext.resource.metamodel.XtextMetamodelResourceTest.class);
+ suite.addTestSuite(org.eclipse.xtext.valueconverter.Bug250313.class);
+ suite.addTestSuite(org.eclipse.xtext.xtext.ExceptionTest.class);
+ suite.addTestSuite(org.eclipse.xtext.xtext.ResourceLoadTest.class);
+ suite.addTestSuite(org.eclipse.xtext.xtext.parser.packrat.XtextPackratParserTest.class);
return suite;
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/datatyperules/TestValueConverter.java b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/datatyperules/ValueConverterTest.java
index 7c4dc9a..a5aa6a9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/datatyperules/TestValueConverter.java
+++ b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/datatyperules/ValueConverterTest.java
@@ -17,7 +17,7 @@ import org.eclipse.xtext.conversion.ValueConverterException;
/**
* @author Sebastian Zarnekow - Initial contribution and API
*/
-public class TestValueConverter extends TestCase {
+public class ValueConverterTest extends TestCase {
private IValueConverter<BigDecimal> valueConverter;
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/epatch/EpatchComparingTest.java b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/epatch/EpatchComparingTest.java
index 126d0e7..b98c7ab 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/epatch/EpatchComparingTest.java
+++ b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/epatch/EpatchComparingTest.java
@@ -47,6 +47,7 @@ public class EpatchComparingTest extends AbstractPackratAntlrComparingTest {
});
}
+ @SuppressWarnings("all")
private Iterator<String> getAllEpatchTestcases() {
final ClassLoader classLoader = getClass().getClassLoader();
final String root = (getClass().getPackage().getName() + ".testcases.").replace('.', '/');
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/formatter/FormatterTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/formatter/FormatterTestLanguageRuntimeModule.java
index 862982b..62bc54d 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/formatter/FormatterTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/formatter/FormatterTestLanguageRuntimeModule.java
@@ -5,8 +5,6 @@ package org.eclipse.xtext.parsetree.formatter;
import org.eclipse.xtext.parsetree.reconstr.ITokenSerializer;
-import com.google.inject.Binder;
-
/**
* used to register components to be used within the IDE.
*/
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/WhitespacePreservingCallbackTest.java b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/WhitespacePreservingCallbackTest.java
index c00d604..1edc66e 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/WhitespacePreservingCallbackTest.java
+++ b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/WhitespacePreservingCallbackTest.java
@@ -60,6 +60,7 @@ public class WhitespacePreservingCallbackTest extends AbstractGeneratorTest {
return serialize(result);
}
+ @SuppressWarnings("unused")
private void failsWith(EObject o, Class<? extends RuntimeException> clazz) {
try {
SerializerUtil.serialize(getCurrentServiceScope(), o);