Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Camelon2003-08-25 10:13:26 -0400
committerJohn Camelon2003-08-25 10:13:26 -0400
commitd6a7d069a1cb8c99f424803eeddf832c9cb12d8e (patch)
tree6d60ea6bc245e58fd278dcc566a02cab3c336f25
parentc55ebd35d11e5676a0ead722146f8e3a1586a346 (diff)
downloadorg.eclipse.cdt-d6a7d069a1cb8c99f424803eeddf832c9cb12d8e.tar.gz
org.eclipse.cdt-d6a7d069a1cb8c99f424803eeddf832c9cb12d8e.tar.xz
org.eclipse.cdt-d6a7d069a1cb8c99f424803eeddf832c9cb12d8e.zip
Updated TranslationUnitTests to not include K&R
-rw-r--r--core/org.eclipse.cdt.core.tests/ChangeLog3
-rw-r--r--core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/TranslationUnitTests.java2
-rw-r--r--core/org.eclipse.cdt.core.tests/resources/cfiles/TranslationUnits.c6
3 files changed, 5 insertions, 6 deletions
diff --git a/core/org.eclipse.cdt.core.tests/ChangeLog b/core/org.eclipse.cdt.core.tests/ChangeLog
index ac5d66215c6..3dba66cec7b 100644
--- a/core/org.eclipse.cdt.core.tests/ChangeLog
+++ b/core/org.eclipse.cdt.core.tests/ChangeLog
@@ -1,4 +1,7 @@
2003-08-25 John Camelon
+ Updated TranslationUnitTests to not include K&R testing.
+
+2003-08-25 John Camelon
Added QuickParseASTTests::testBug39530().
2003-08-21 Hoda Amer
diff --git a/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/TranslationUnitTests.java b/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/TranslationUnitTests.java
index 22f43b09087..d49fe47ec18 100644
--- a/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/TranslationUnitTests.java
+++ b/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/TranslationUnitTests.java
@@ -34,7 +34,7 @@ public class TranslationUnitTests extends TranslationUnitBaseTest {
*/
String[] expectedStringList= {"stdio.h", "unistd.h", "func2p",
"globalvar", "myenum", "mystruct", "mystruct_t", "myunion", "mytype",
- "func1", "func2", "main", "func3", "KRFunction"};
+ "func1", "func2", "main", "func3" };
int[] expectedLines={ 12,14,17,20,23,28,32,35,42,47,53,58,65,70};
/* This is a list of that the types of the above list of elements is
* expected to be.
diff --git a/core/org.eclipse.cdt.core.tests/resources/cfiles/TranslationUnits.c b/core/org.eclipse.cdt.core.tests/resources/cfiles/TranslationUnits.c
index 61326d05753..d5b78ac9a0b 100644
--- a/core/org.eclipse.cdt.core.tests/resources/cfiles/TranslationUnits.c
+++ b/core/org.eclipse.cdt.core.tests/resources/cfiles/TranslationUnits.c
@@ -67,8 +67,4 @@ void func3()
printf("This is not really here\n");
}
-bool KRFunction( parm1, parm2, parm3 )
-const char* parm1;
-int (*parm2)(float);
-{
-}
+

Back to the top