Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f176d04c50f89e87274792f68f0ac7854b5f1dd6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*******************************************************************************
 *  Copyright (c) 2006, 2010 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 junit.framework.TestSuite;

import org.eclipse.cdt.core.dom.upc.UPCLanguage;
import org.eclipse.cdt.core.lrparser.tests.LRTests;
import org.eclipse.cdt.core.model.ILanguage;
/**
 * Run the C99 tests against the UPC parser
 *
 */
public class UPCTests extends LRTests {

	public static TestSuite suite() {
    	return suite(UPCTests.class);
    }
	
	public UPCTests(String name) {
		super(name);
	}
	
	//TODO ??? overwrite some failed test cases
	//some test cases which are not applicable to UPC are bypassed here.
	//UPC extends from C99, which doesn't include some GNU extending features such as "typeof".
	@Override
	public void testCompositeTypes() throws Exception {}
	@Override
	public void testBug93980() throws Exception {}
	@Override
	public void testBug95866() throws Exception {}
	@Override
	public void testBug191450_attributesInBetweenPointers() throws Exception {}
	@Override
	public void testOmittedPositiveExpression_212905() throws Exception {}
	@Override
	public void testRedefinedGCCKeywords_226112() throws Exception {}
	@Override
	public void testASMLabels_226121() throws Exception {}
	@Override
	public void testCompoundStatementExpression_226274() throws Exception {}
	@Override
	public void testTypeofUnaryExpression_226492() throws Exception {}
	@Override
	public void testTypeofExpression_226492() throws Exception {}
	@Override
	public void testTypeofExpressionWithAttribute_226492() throws Exception {}
	@Override
	public void testAttributeInElaboratedTypeSpecifier_227085() throws Exception {}
	@Override
	public void testRedefinePtrdiff_230895() throws Exception {}
	@Override
	public void testDeclspecInEnumSpecifier_241203() throws Exception  {}
	@Override
	public void testBuiltinTypesCompatible_241570() throws Exception  {}
	@Override
	public void testThreadLocalVariables_260387() throws Exception {}
	@Override
	public void testVaArgWithFunctionPtr_311030() throws Exception {}
	@Override
	public void testRecursiveFunctionType_321856() throws Exception {}
	@Override
	public void testPtrDiffRecursion_317004() throws Exception {}
	
	@Override
	protected ILanguage getCLanguage() {
		return UPCLanguage.getDefault();
	}
}

Back to the top