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

308 commits

Author SHA1 Message Date
Doug Schaefer
5bebbf5367 Fixed the tests to use the CTestPlugin findFileInPlugin
method. This should get the tests working on M6 and M7.
2004-02-16 03:57:06 +00:00
Doug Schaefer
c7241a4d1a Fixed up the test suites to use getInstallURL and
asLocalURL to find the location of the test plugins.
2004-02-13 20:23:31 +00:00
John Camelon
fbda3f7d9a org.eclipse.cdt.core
Fixed Bug 50487 - Wrong completion kind and prefix after "#ifdef" 

org.eclipse.cdt.ui.tests
	Updated CompletionFailedTest_MacroRef_NoPrefix_Bug50487, renamed it to CompletionTest_MacroRef_NoPrefix and moved to passed test package.
	Updated CompletionFailedTest_MacroRef_Prefix_Bug50487, renamed it to Y and moved to passed test package.
2004-01-30 18:28:07 +00:00
Hoda Amer
7bccc3314d Content Assist Work: More JUnit tests 2004-01-29 18:02:12 +00:00
John Camelon
d46025b64f org.eclipse.cdt.core
Fixed  50642 - Wrong completion kind when declaring an argument type
	Updated using declarations for more accurate keywords and closure.

org.eclipse.cdt.ui.tests
	Updated CompletionTest_ArgumentType_Prefix_Bug50642, renamed it to CompletionTest_ArgumentType_Prefix and moved to passed test package.
	Updated CompletionTest_ArgumentType_Prefix2_Bug50642, renamed it to CompletionTest_ArgumentType_Prefix2 and moved to passed test package.
	Updated CompletionTest_ArgumentType_NoPrefix_Bug50642, renamed it to CompletionTest_ArgumentType_NoPrefix and moved to passed test package.
	Updated CompletionTest_ArgumentType_NoPrefix2_Bug50642, renamed it to CompletionTest_ArgumentType_NoPrefix2 and moved to passed test package.
2004-01-29 16:59:54 +00:00
Hoda Amer
9c870f74bf Content Assist Work: More JUnit tests 2004-01-29 15:03:26 +00:00
John Camelon
a581a6aa81 org.eclipse.cdt.core
Fixed Bug 50711 - Wrong completion kind in a new expression

org.eclipse.cdt.ui.tests
Updated and renamed CompletionFailedTest_NewTypeReference_NoPrefix_Bug50711 to CompletionTest_NewTypeReference_NoPrefix, moving it to the success tests directory.
Updated and renamed CompletionFailedTest_NewTypeReference_Prefix_Bug50711 to CompletionTest_NewTypeReference_Prefix, moving it to the success tests directory.
2004-01-28 22:31:24 +00:00
John Camelon
6dbe39d0d0 org.eclipse.cdt.core
Updated Scanner to add ANSI built-in defined macros for C and C++.
     Updated GCCScannerExtension to add GCC specific defined macros for C++.
     Added factory infrastructure to allow for C/C++ dialect extensions to be added and contained.
     Added IASTExpressionExtension w/implementation to allow for GCC specific leniency on evaluating expressions.

org.clipse.cdt.ui.tests
    Updated CompletionTest_SingleName_NoPrefix to include internal macro definitions.
2004-01-28 19:59:20 +00:00
John Camelon
ebd53b2c6d org.eclipse.cdt.core
Refactored parser to allow for cleaner content assist implementation.  
	Removed IASTCompletionNode.CompletionKind.STATEMENT_START as it is redundant.  
	Fixed bug 50640 - Wrong completion kind when expecting an exception 
	Fixed bug 50471 - Wrong completion kind after the "using" keyword
	Fixed bug 50621 - Wrong completion kind in a class declaration 

org.eclipse.cdt.core.tests
	Renamed ContextualParseTest to CompletionParseTest.
	Updated COMPLETION_PARSE clients to use SINGLE_NAME_REFERENCE rather than STATEMENT_START.  

org.eclipse.cdt.ui
	Updated COMPLETION_PARSE clients to use SINGLE_NAME_REFERENCE rather than STATEMENT_START.  

org.eclipse.cdt.ui.tests
	Updated COMPLETION_PARSE clients to use SINGLE_NAME_REFERENCE rather than STATEMENT_START.  
	Renamed and updated CompletionTest_StatementStart_NoPrefix to CompletionTest_SingleName_Method_NoPrefix.
	Renamed and updated CompletionTest_StatementStart_Prefix to CompletionTest_SingleName_Method_Prefix.
	Renamed and updated CompletionFailedTest_ExceptionReference_NoPrefix_Bug50640 to CompletionTest_ExceptionReference_NoPrefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_ExceptionReference_Prefix_Bug50640 to CompletionTest_ExceptionReference_Prefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_NamespaceRef_NoPrefix_Bug50471 to CompletionTest_TypeRef_NoPrefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_NamespaceRef_Prefix_Bug50471 to CompletionTest_TypeRef_Prefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_ClassReference_Prefix_Bug50621 to CompletionTest_ClassReference_Prefix and moved to passed tests folder.
	Renamed and updated CompletionFailedTest_ClassReference_NoPrefix_Bug50621 to CompletionTest_ClassReference_NoPrefix and moved to passed tests folder.
2004-01-28 04:00:32 +00:00
Hoda Amer
069a0e8535 Content Assist Work: More JUnit tests 2004-01-27 20:55:58 +00:00
Hoda Amer
d4ca6eb809 Content Assist Work: More JUnit tests 2004-01-26 21:17:39 +00:00
Hoda Amer
f26c374088 Content Assist Work: More JUnit tests 2004-01-23 19:45:59 +00:00
John Camelon
34754f2099 org.eclipse.cdt.core
Fixed bug 50344 - Wrong completion in Class scope if before the first declaration.

org.eclipse.cdt.ui.tests
	Updated CompletionFailedTest_FieldType_NoPrefix_Bug50344 and moved from failed tests.
2004-01-22 18:51:18 +00:00
Hoda Amer
e1fcb18b59 Content Assist Work: More JUnit tests 2004-01-21 21:45:19 +00:00
Hoda Amer
c44ab7ec78 Content Assist Work: More JUnit tests 2004-01-21 19:33:29 +00:00
David Inglis
8104889038 due to changes in CPRojectHelper 2004-01-19 20:06:51 +00:00
Hoda Amer
69cb22837f Content Assist Work : Added lookups for Macros with Function style 2004-01-19 19:42:34 +00:00
Hoda Amer
bcdd0ab7c3 Content Assist Work: More JUnit tests 2004-01-16 20:19:05 +00:00
John Camelon
2e53b260f0 Updated classpath so it uses dynamic classpath entries. 2004-01-15 19:40:37 +00:00
Hoda Amer
1196d4a5ff Content Assist Work : Moved logging and testing to the UI side of CDT 2004-01-15 18:06:14 +00:00
Doug Schaefer
8cceffb272 Fix the classpaths to use dynamic containers again.
My apologies :-)
2004-01-05 21:16:28 +00:00
Doug Schaefer
e1b04cf0c0 Added org.eclipse.core.runtime.compatability as a
dependency to satisfy Eclipse 3.0M6 requirements.
2004-01-05 20:26:57 +00:00
Doug Schaefer
9c677d807f Upversioned the plugins, etc to 2.0.0.
Made sure the jar files got included in the zips.
2003-11-25 18:24:55 +00:00
Doug Schaefer
9dc3aa63e5 Upgrade to Eclipse 3.0. Includes:
- upgrade plugin.xml files
- use PDE containers
- apply Eclipse 3.0 porting items, in particular openEditor and gotoMarker
- remove TestWorkbenches from test plugins
2003-11-24 18:31:03 +00:00
Doug Schaefer
fe07db2d72 Upversioning everything to 1.2.0. 2003-10-01 20:23:21 +00:00
Doug Schaefer
7289b8404d Fix the version number. 2003-08-28 04:09:30 +00:00
Peter Graves
a7fedb9060 Remove usage of Java 1.4 reserved keyword assert. 2003-07-17 15:23:56 +00:00
Peter Graves
2c445a38b7 Cleanup some left over gunk from the move of stuff to org.eclipse.cdt.core.tests
and updated test.xml to point to the correct test suite.
2003-07-15 13:43:18 +00:00
John Camelon
b628cfb34b Patch for Vlad H.
Emergency fix for cdt.ui.tests for autobuild/test.
2003-06-27 20:26:35 +00:00
John Camelon
d16fc6884e Patch for Brent Nicolle.
Remove redundant tests from cdt.ui.tests (following their move to cdt.core.tests).
2003-06-26 20:43:14 +00:00
John Camelon
6a7293f951 Create new interface and support for calculating lineNumber/offset mapping.
Updated IASTClassSpecifier for qualified name query.  
Began structuring expressions and declarators in Parser for ISourceElementRequestor.  
Updated other packages to use new interfaces.
Updated automatedtests/torture test to use new line number information.
2003-06-25 22:47:52 +00:00
John Camelon
effbc07d12 Updates for ISourceElementRequestor - elaborated types & enumerations. 2003-06-24 20:18:16 +00:00
John Camelon
f61006c9fe Updated Factory infrastructure, constructors, etc.
Introduced Preprocessor class for transitive closure calc. client.
2003-06-23 18:05:31 +00:00
Doug Schaefer
b8059d7f27 Patch for Sean Evoy:
1. Fix for bug 38665 - Need to select platform before configurations become visible 
2. Icon files that were not delivered in my last patch 
3. A new interface for clients of the build model to extract include paths and defined symbols for managed projects. Unmanaged projects to follow soon.
2003-06-23 14:36:31 +00:00
John Camelon
4347f9b681 Patch for Victor Mozgin.
Fixes problem with offsets of elements that were created as macro expansions (PR 36463).
2003-06-20 17:16:05 +00:00
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
15f0d21085 Patch for Victor Mozgin.
implemented support for pointers to class members;
added handling of declarations for nested scopes (like A::B::C);
fixed handling of parameter lists for typedefs for functions;
some errorhandling in CModelBuilder;
2003-06-16 21:41:54 +00:00
John Camelon
d664093420 Added Class/Base infrastructure to public interfaces & requestor callback.
Moved many internal interfaces to external packages. 
Organized imports.
2003-06-13 19:59:47 +00:00
John Camelon
729fbe3c68 Patch for Victor Mozgin.
Fixing AutomatedTest.java after PST/HEAD merge.
2003-06-13 18:24:26 +00:00
John Camelon
89913324d4 Merge Parser_SymbolTable branch into HEAD. 2003-06-13 15:01:26 +00:00
John Camelon
f4829f4428 Fixing .cvsignore. 2003-06-11 19:26:44 +00:00
John Camelon
9a0f3c98cc Trying to fix .cvsignore problem. 2003-06-11 19:24:14 +00:00
John Camelon
415dff9a88 Patch for Victor Mozgin.
This patch enables us to use extensive GCC C/C++ testsuites to test CDT parser.
2003-06-11 19:14:01 +00:00
Peter Graves
00257fb5de Minor update to make automation easier. 2003-06-11 18:47:32 +00:00
John Camelon
5dd01f7ee2 Patch for Victor Mozgin.
I replaced old Java testcases for partitioning with C/C++ ones, and 
fixed AutomatedIntegrationSuite so it doesn't produce a JUnit warning (which is a failure) anymore. So now all tests in org.eclipse.cdt.ui.tests should pass.
2003-06-11 18:09:23 +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
d4a1629964 Patch for Victor Mozgin.
This patch enables parsing of conversion operators. Fixes PR 38657 and the rest of PR 36769.
2003-06-10 14:41:42 +00:00