Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 98c5fb67c6eaff5d2f44781d6228d2fea39b85c6 (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
/*******************************************************************************
 * Copyright (c) 2005, 2012 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.core.model.tests;

/**
 * @author hamer
 *
 */

import org.eclipse.cdt.core.model.CModelException;

import junit.framework.Test;
import junit.framework.TestSuite;

public class StructuralMacroTests extends IMacroTests {

	/**
	 * @returns a test suite named after this class
	 *          containing all its public members named "test*"
	 */
	public static Test suite() {
		TestSuite suite = new TestSuite(StructuralMacroTests.class.getName());
		suite.addTest(new StructuralMacroTests("testGetElementName"));
		return suite;
	}

	/**
	 * @param name
	 */
	public StructuralMacroTests(String name) {
		super(name);
	}

	@Override
	public void testGetElementName() throws CModelException {
		setStructuralParse(true);
		super.testGetElementName();
	}
}

Back to the top