From e25731ec267e4d9eb2d9350144175c161e94dc54 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Mon, 10 Mar 2008 03:45:21 +0000 Subject: [PATCH] Minor test adjustment. --- .../core/parser/tests/ast2/AST2TemplateTests.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java index 672725b472a..75c06557076 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java @@ -2097,19 +2097,19 @@ public class AST2TemplateTests extends AST2BaseTest { assertTrue(name.resolveBinding() instanceof IParameter); } - // template + // template // class A { // public: - // typedef _TpA ta; + // typedef TpA ta; // }; // - // template + // template // class B { // public: - // typedef typename A<_TpB>::ta tb; + // typedef typename A::ta tb; // }; // - // void f(A::tb r) {} + // void f(B::tb r) {} public void _testTemplateTypedef_214447() throws Exception { StringBuffer buffer = getContents(1)[0]; IASTTranslationUnit tu = parse(buffer.toString(), ParserLanguage.CPP, true, true); @@ -2144,7 +2144,7 @@ public class AST2TemplateTests extends AST2BaseTest { // }; // // void f(Vec::reference r) {} - public void _testRebindPattern_214447_2() throws Exception { + public void _testRebindPattern_214447_1() throws Exception { StringBuffer buffer = getContents(1)[0]; IASTTranslationUnit tu = parse(buffer.toString(), ParserLanguage.CPP, true, true); @@ -2184,7 +2184,7 @@ public class AST2TemplateTests extends AST2BaseTest { // }; // // void f(Vec::reference r) {} - public void _testRebindPattern_214017_3() throws Exception { + public void _testRebindPattern_214017_2() throws Exception { StringBuffer buffer = getContents(1)[0]; IASTTranslationUnit tu = parse(buffer.toString(), ParserLanguage.CPP, true, true);