1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

cleaned up C99 test suite a bit, added some more of the DOM tests

This commit is contained in:
Mike Kucera 2007-06-13 17:23:53 +00:00
parent 30f1fa9ca6
commit 0e1edc6708
5 changed files with 75 additions and 11 deletions

View file

@ -33,6 +33,9 @@ public class AutomatedIntegrationSuite extends TestSuite {
suite.addTestSuite(UPCC99DigraphTrigraphTests.class);
suite.addTestSuite(UPCC99GCCTests.class);
suite.addTestSuite(UPCC99UtilOldTests.class);
suite.addTestSuite(UPCC99UtilTests.class);
suite.addTestSuite(UPCC99CompleteParser2Tests.class);
suite.addTestSuite(UPCC99TaskParserTest.class);
return suite;
}

View file

@ -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.C99CompleteParser2Tests;
public class UPCC99CompleteParser2Tests extends C99CompleteParser2Tests {
protected BaseExtensibleLanguage getLanguage() {
return UPCLanguage.getDefault();
}
}

View file

@ -16,19 +16,11 @@ import org.eclipse.cdt.core.parser.c99.tests.C99SelectionParseTest;
public class UPCC99SelectionParseTest extends C99SelectionParseTest {
public UPCC99SelectionParseTest() {
}
public UPCC99SelectionParseTest(String name, Class className) {
super(name, className);
}
public UPCC99SelectionParseTest(String name) {
super(name);
}
public UPCC99SelectionParseTest() { }
public UPCC99SelectionParseTest(String name) { super(name); }
protected BaseExtensibleLanguage getLanguage() {
return UPCLanguage.getDefault();
}
}

View file

@ -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.C99TaskParserTest;
public class UPCC99TaskParserTest extends C99TaskParserTest {
protected BaseExtensibleLanguage getLanguage() {
return UPCLanguage.getDefault();
}
}

View file

@ -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.C99UtilTests;
public class UPCC99UtilTests extends C99UtilTests {
protected BaseExtensibleLanguage getLanguage() {
return UPCLanguage.getDefault();
}
}