1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

26 commits

Author SHA1 Message Date
John Camelon
5ef908593a Patch for Victor Mozgin.
K&R Support.  God help us.
2003-06-18 19:36:20 +00:00
John Camelon
727db1c990 Patch for Victor Mozgin
Implemented correct handling of nested declarators in CModelBuilder.
Added proper support for function pointers as parameters.
2003-06-18 13:56:58 +00:00
John Camelon
b1c1e00a78 Patch for Brent Nicolle
Added Interface tests for IStructure.
2003-06-17 21:38:29 +00:00
John Camelon
d45de32ff5 Patch for Vladimir Hirsl.
This patch adds some missing source folders to the ui.tests library.
2003-06-17 20:58:41 +00:00
John Camelon
362dd49676 Patch for Brent Nicolle.
Added some Interface tests of (IInclude, IMacro, IStructure). 
Made sure all the Test Suites have names in the JUnit hierarchy.
2003-06-10 22:57:05 +00:00
John Camelon
f5f345cdff CORE
Fix Bug 38380  "Include" class public methods fails JUnit tests 
	Updated CModel, DOM, Scanner and current Parser callback to set the information appropriately.  

TESTS
	Moved testBug23478A() & testBug23478B() from failed tests to TranslationUnitTests.java.
	Removed TranslationUnitFailedTests.java as it was empty. 

I also had to apply Alain's partial fix to the Parser_SymbolTable branch to get this working.
2003-06-05 20:01:54 +00:00
John Camelon
6deffd9b82 Patch for Vlad Hirsl.
New test suite added to run all build, model, parser and failure JUnit tests 
and produce a report.
2003-05-26 16:59:50 +00:00
John Camelon
44ca9f0cc5 Patch for Hoda Amer.
Fix for bug 36797: Templates of Variables and structs + JUnit test
2003-05-01 19:46:42 +00:00
Peter Graves
fcc7499f2e Clean up some false failures, and handle some changes in the CDT core. 2003-04-28 15:58:56 +00:00
Doug Schaefer
30b5b45010 Patch for John Camelon:
CORE 
        Revisited bug36247      Parser confused by symbols #defined elsewhere   
        Fixed Bug36708          Problem parsing Loki's Reference TypeTraits.h   
        Fixed Bug36690          Problem parsing Loki's Reference Functor.h Implementation   
        Fixed Bug36692          Problem parsing Loki's Reference Singleton.h Impl 
        Fixed Bug36703          Problem parsing Loki's Reference TypeInfo.h Impl   
        Fixed Bug36689          Problem parsing Loki's Reference AbstractFactory.h Impl 
        Fixed Bug36707          Problem parsing Loki's Reference TypeManip.h   

TESTS 
        Updated DOMTests::testBug36247().   
        Moved testBug36692(), testBug36703(), testBug36708(), testBug36707(), testBug36689() 
        and testBug36690() from DOMFailedTests to DOMTests and updated them.
2003-04-22 15:22:31 +00:00
Doug Schaefer
966d0a1670 Patch for Hoda Amer:
-reversed the change to the ICElement interface.
-solves the method template with body bug
-solves bug #36726: ElementDeltaTests::testElementDeltas()
failure in Junit
2003-04-21 20:02:58 +00:00
Doug Schaefer
eaf3aacd4e Patch for John Camelon:
CORE/UI
Fixed Bug36551 Bad parse on attached file.
Partial Fix for Bug36631 remove linear search algorithm from OffsetMapping 
TESTS 
Added DOMTests::testBug36551(). 
Adjusted AutomatedTest to turn on line numbering. 
Added DOMFailedTests and 11 failed test cases.  
Changed CModelElementTests so that I can get on with my work.
2003-04-21 18:34:44 +00:00
Doug Schaefer
67b40d2e68 Patch for Hoda Amer:
"Function template with body" bug fix + JUnit test
2003-04-21 16:16:59 +00:00
Doug Schaefer
1c8f7f5637 Patch for Hoda Amer:
- Fix for bug 36506: Bad Signature For main
- Fix for bug 36498: outline view signature incorrect for templated
functions/methods 
- JUnit tests for C Model Elements.
2003-04-16 20:32:20 +00:00
Doug Schaefer
452e82cb3d Patch for John Camelon:
CORE
		 Fixed bug36434 - Broken outline in winbase.h
		 Partial Fix for bug36379 - The parser to set Line informations when
scanning.
		 Fixed CModelManager to include header files with .H extension as C++
headers. 
		 Fixed bug36448 - Parser fails for C programs containing C++ keywords
as identifiers

TESTS
		 Added ScannerTestCase::testBug36434().
		 Added ScannerTestCase::testMultipleLines(). 
		 Added ParserTestSuite. 
		 Added LineNumberTest.
		 Updated CModelElementsTests to set the Nature of the C++ project
appropriately.
2003-04-16 12:30:47 +00:00
Doug Schaefer
7e62df880f Patch for John Camelon:
CORE
	Removed all the old Code Model Builder source that was no longer being used (NewModelBuilder.java, etc.). 
	Moved all the files in parser.util directory to the dom.  
	Organized imports. 
	Fixed bug36250 Parser ignores functions with default parameters that have no name.
	Fixed bug36240 Parser incorrectly parses operator= 
	Fixed bug36254 Parser doesn't recognize unsigned as a type by itself.


TESTS
	Organized imports. 
	Added DOMTests::testTemplateDeclarationOfMethod().
	Added DOMTests::testBug36250().  
	Added DOMTests::testBug36240(). 
	Added DOMTests::testBug36254().
2003-04-09 21:12:09 +00:00
Doug Schaefer
d66e2dca22 Patch for Hoda Amer adds:
- the support for namespaces in the NewModelBuilder. 
- an icon for extern variables.
- a JUnit test case for core model elements, including namespaces. The enum_obj_gif should overwrite the existing file.
2003-04-03 15:38:47 +00:00
Alain Magloire
270cdcae55 Changes was doen int the Core Model:
ICModel, ICProject, ICContainer, ICTranslationUnit
IArchive and IBinary

We now adjust the code
2003-03-27 16:16:46 +00:00
Alain Magloire
6863655e67 test file for C Element delta. 2003-03-20 16:49:48 +00:00
Alain Magloire
d2ae8c698b New file to test C Element deltas. 2003-03-20 16:49:33 +00:00
Alain Magloire
da490cbd00 Patch from Amer Hoda, to test the Core model working copy 2003-03-19 20:37:16 +00:00
Alain Magloire
b04063a504 Use CoreModel.getDefault(). 2002-11-27 04:51:49 +00:00
Peter Graves
d54c3caff1 Updated to refledt api changes, and come CProjectHelper code cleanup 2002-10-30 21:22:32 +00:00
Peter Graves
3b3e71a2a1 Removed most usage of internal classes in favor of public interfaces. Removed some invalid tests. Come code formating cleanups. 2002-09-30 19:43:26 +00:00
Peter Graves
0716864d27 Changed all QNX pr numbers to bugzilla pr numbers.
General code cleanup (removed unused imports/variables, etc)
2002-09-27 13:46:54 +00:00
Sebastien Marineau
a000b4d73b Initial JUnit model tests from Peter Graves's submission 2002-09-15 20:36:53 +00:00