Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2011-06-06 11:55:20 -0400
committerVivian Kong2011-06-06 11:55:20 -0400
commitdf7434c2bc30bd38683f40c8c9e7c9a63d45b1a4 (patch)
tree054977a8bbabb29b2ed96624542d8541b13591d2 /lrparser
parent88fcec59fdbab689fa903e4b2efb2f812ceac2f5 (diff)
downloadorg.eclipse.cdt-df7434c2bc30bd38683f40c8c9e7c9a63d45b1a4.tar.gz
org.eclipse.cdt-df7434c2bc30bd38683f40c8c9e7c9a63d45b1a4.tar.xz
org.eclipse.cdt-df7434c2bc30bd38683f40c8c9e7c9a63d45b1a4.zip
Bug 348426 - Disable failed test cases in LR parser that are inherited from CDT DOM Parser test for John Liu
Diffstat (limited to 'lrparser')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRCompletionBasicTest.java9
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRGCCCompleteParseExtensionsTest.java6
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser.tests/src/org/eclipse/cdt/core/lrparser/tests/LRTemplateTests.java13
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 225f43be8c..e8499024b8 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 eeea2f59f5..e689324df9 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 cc2c3f2b20..6175c96f96 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

Back to the top