From df7434c2bc30bd38683f40c8c9e7c9a63d45b1a4 Mon Sep 17 00:00:00 2001 From: Vivian Kong Date: Mon, 6 Jun 2011 15:55:20 +0000 Subject: [PATCH] Bug 348426 - Disable failed test cases in LR parser that are inherited from CDT DOM Parser test for John Liu --- .../core/lrparser/tests/LRCompletionBasicTest.java | 9 +++++++-- .../tests/LRGCCCompleteParseExtensionsTest.java | 6 +++++- .../cdt/core/lrparser/tests/LRTemplateTests.java | 13 +++++++++++-- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRCompletionBasicTest.java b/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRCompletionBasicTest.java index 225f43be8c8..e8499024b80 100644 --- a/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRCompletionBasicTest.java +++ b/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRCompletionBasicTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006, 2010 IBM Corporation and others. + * Copyright (c) 2006, 2011 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 @@ -32,7 +32,12 @@ public class LRCompletionBasicTest extends BasicCompletionTest { public LRCompletionBasicTest() { } - //TODO ??? overwrite some failed test cases + //override the test failed case for 340664 + @Override + public void testCompletionInSizeof340664() throws Exception {} + + + //override some failed test cases @Override public void testBug279931() throws Exception {} @Override diff --git a/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRGCCCompleteParseExtensionsTest.java b/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRGCCCompleteParseExtensionsTest.java index eeea2f59f5d..e689324df99 100644 --- a/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRGCCCompleteParseExtensionsTest.java +++ b/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRGCCCompleteParseExtensionsTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006, 2009 IBM Corporation and others. + * Copyright (c) 2006, 2011 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 @@ -29,6 +29,10 @@ public class LRGCCCompleteParseExtensionsTest extends GCCCompleteParseExtensions public LRGCCCompleteParseExtensionsTest() {} public LRGCCCompleteParseExtensionsTest(String name) { super(name); } + + //override the test failed case for 342683 + @Override + public void testTypetraits_Bug342683() throws Exception {} @Override diff --git a/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRTemplateTests.java b/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRTemplateTests.java index cc2c3f2b205..6175c96f960 100644 --- a/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRTemplateTests.java +++ b/lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRTemplateTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006, 2010 IBM Corporation and others. + * Copyright (c) 2006, 2011 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 @@ -28,8 +28,17 @@ public class LRTemplateTests extends AST2TemplateTests { return suite(LRTemplateTests.class); } + //override the test failed cases of 341747 + @Override + public void testTemplateIDAmbiguity_341747a() throws Exception{} + @Override + public void testTemplateIDAmbiguity_341747b() throws Exception{} + @Override + public void testTemplateIDAmbiguity_341747c() throws Exception{} + @Override + public void testTemplateIDAmbiguity_341747d() throws Exception{} - //TODO ??? overwrite some failed test cases + //override some failed test cases @Override public void testNestedArguments_246079() throws Throwable {} @Override