[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-patch] Applied [HEAD] Getting AutomatedIntegrationSuite to pass
|
Since K&R support is on the fritz (with a defect already established for
this), this patch removes the K&R example from the TranslationUnit test
(test code & resources updated).
JohnC
Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core.tests/ChangeLog,v
retrieving revision 1.66
diff -u -r1.66 ChangeLog
--- ChangeLog 25 Aug 2003 12:19:43 -0000 1.66
+++ ChangeLog 25 Aug 2003 14:11:25 -0000
@@ -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
Index: model/org/eclipse/cdt/core/model/tests/TranslationUnitTests.java
===================================================================
RCS file:
/home/tools/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/TranslationUnitTests.java,v
retrieving revision 1.3
diff -u -r1.3 TranslationUnitTests.java
--- model/org/eclipse/cdt/core/model/tests/TranslationUnitTests.java 12
Aug 2003 18:19:54 -0000 1.3
+++ model/org/eclipse/cdt/core/model/tests/TranslationUnitTests.java 25
Aug 2003 14:11:25 -0000
@@ -34,7 +34,7 @@
*/
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.
Index: resources/cfiles/TranslationUnits.c
===================================================================
RCS file:
/home/tools/org.eclipse.cdt.core.tests/resources/cfiles/TranslationUnits.c,v
retrieving revision 1.2
diff -u -r1.2 TranslationUnits.c
--- resources/cfiles/TranslationUnits.c 20 Jun 2003 17:00:44 -0000 1.2
+++ resources/cfiles/TranslationUnits.c 25 Aug 2003 14:11:26 -0000
@@ -67,8 +67,4 @@
printf("This is not really here\n");
}
-bool KRFunction( parm1, parm2, parm3 )
-const char* parm1;
-int (*parm2)(float);
-{
-}
+