Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/upc
diff options
context:
space:
mode:
authorMike Kucera2007-06-13 03:59:55 +0000
committerMike Kucera2007-06-13 03:59:55 +0000
commite39c7acf193259e9a55f35f46c6804ddf71bdeb2 (patch)
tree5bf81df6d98dfa8fcef11dbe72a6dd31ddbd11a8 /upc
parent41cb2b5babbd38466ca6b216406a94d66e91ac8f (diff)
downloadorg.eclipse.cdt-e39c7acf193259e9a55f35f46c6804ddf71bdeb2.tar.gz
org.eclipse.cdt-e39c7acf193259e9a55f35f46c6804ddf71bdeb2.tar.xz
org.eclipse.cdt-e39c7acf193259e9a55f35f46c6804ddf71bdeb2.zip
added AST2UtilOldTests to C99 parser test suite
Diffstat (limited to 'upc')
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java1
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java23
2 files changed, 24 insertions, 0 deletions
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java
index 2c01f3b465a..fe995ae5789 100644
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java
+++ b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java
@@ -32,6 +32,7 @@ public class AutomatedIntegrationSuite extends TestSuite {
suite.addTestSuite(UPCLanguageExtensionTests.class);
suite.addTestSuite(UPCC99DigraphTrigraphTests.class);
suite.addTestSuite(UPCC99GCCTests.class);
+ suite.addTestSuite(UPCC99UtilOldTests.class);
return suite;
}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java
new file mode 100644
index 00000000000..f4f9a9bbc68
--- /dev/null
+++ b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2006, 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.cdt.core.parser.upc.tests;
+
+import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
+import org.eclipse.cdt.core.dom.upc.UPCLanguage;
+import org.eclipse.cdt.core.parser.c99.tests.C99UtilOldTests;
+
+public class UPCC99UtilOldTests extends C99UtilOldTests {
+
+ protected BaseExtensibleLanguage getLanguage() {
+ return UPCLanguage.getDefault();
+ }
+
+}

Back to the top