1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 09:45:39 +02:00

Tests for bug 223660

This commit is contained in:
Anton Leherbauer 2008-03-28 12:52:40 +00:00
parent 7cd517b279
commit 5107c20849

View file

@ -1,12 +1,13 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2007 QNX Software Systems and others. * Copyright (c) 2007, 2008 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Bryan Wilkinson (QNX) - Initial API and implementation * Bryan Wilkinson (QNX) - Initial API and implementation
* Anton Leherbauer (Wind River Systems)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.ui.tests.text.contentassist2; package org.eclipse.cdt.ui.tests.text.contentassist2;
@ -128,7 +129,8 @@ public class ParameterHintTests extends AbstractContentAssistTest {
} }
//void foo(){bClass b( //void foo(){bClass b(
public void _testConstructor2() throws Exception { public void _testConstructor2_Bug223660() throws Exception {
// http://bugs.eclipse.org/223660
assertParameterHints(new String[] { assertParameterHints(new String[] {
"bClass(int x)", "bClass(int x)",
"bClass(int x,int y)", "bClass(int x,int y)",
@ -145,7 +147,8 @@ public class ParameterHintTests extends AbstractContentAssistTest {
} }
//void foo(){tClass<int> t( //void foo(){tClass<int> t(
public void _testTemplateConstructor2() throws Exception { public void _testTemplateConstructor2_Bug223660() throws Exception {
// http://bugs.eclipse.org/223660
assertParameterHints(new String[] { assertParameterHints(new String[] {
"tClass(T t)", "tClass(T t)",
"tClass(const tClass &)" "tClass(const tClass &)"