1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00
Commit graph

107 commits

Author SHA1 Message Date
Alain Magloire
0af6f04543 . 2005-08-30 20:18:35 +00:00
Alain Magloire
0972235514 2005-08-30 Alain Magloire
New test for PR 109202 (written by Devin Steffler)
	* ui/org/eclipse/cdt/ui/tests/tex/selectiontests/CPPSelectionTestsDOMIndexer.java
2005-08-30 20:17:22 +00:00
Alain Magloire
ac6c8db915 2005-06-08 Alain Magloire
Move to the IContentTypeManager framework: PR 86645
	* src.org.eclipse/cdt/ui/tests/DOMAST/DOMAST.java
2005-06-09 16:07:10 +00:00
Bogdan Gheorghe
8cb9d02dae New core framework for indexer
New UI framework for indexer
Updates to core tests/ui tests
2005-03-14 05:32:07 +00:00
Andrew Niefer
b385ee2234 patch from Tanya Wolff 2005-02-10 15:33:59 +00:00
Bogdan Gheorghe
145b478b9c Patch for Tanya Wolff: Content Assist Regession Tests 2004-12-17 22:26:55 +00:00
Alain Magloire
817d04d43f 2004-12-10 Alain Magloire
No need for TestBuffer test, it is now in JFace.
2004-12-10 17:49:05 +00:00
Andrew Niefer
d5f27d5c45 - patch from Tanya Wolff for open declaration tests
- new Refactoring test framework (from me)
2004-11-16 15:17:56 +00:00
Alain Magloire
3988b8ef5b 2004-11-08 Mikhail Voronin
New tests for help extension.
	* ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java
	* ui/org/eclipse/cdt/ui/tests/chelp/CHelpTest.java
	* ui/org/eclipse/cdt/ui/tests/chelp/CHelpTestInfoProvider.java
2004-11-09 02:02:35 +00:00
Andrew Niefer
837365f975 Patch from Tanya Wolff - content assist tests 2004-11-05 19:24:45 +00:00
Andrew Niefer
9446e713c1 - fix bug 60928 - content assist and member definitions
- also fix bug related to the display string for constructor content assist completions
2004-05-11 21:37:37 +00:00
Hoda Amer
1d8bbf919e Content Assist fixes 2004-04-30 18:30:39 +00:00
Hoda Amer
9494a0f14e Fix for bug#57692 2004-04-12 21:10:29 +00:00
John Camelon
5cc0a37e2b org.eclipse.cdt.core <BR>
&nbsp;&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=50808. <BR>
&nbsp;&nbsp;Provided partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=50807. <BR>
&nbsp;&nbsp;Provided partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=52988. <BR>
&nbsp;&nbsp;Introduced EMPTY_STRING, a single constant that replaced > 100'S O literal "" in the code. <BR>
&nbsp;&nbsp;Updated IASTCompletionNode interface to provide better support for FUNCTION_REFERENCE and CONSTRUCTOR_REFERENCE. <BR>
&nbsp;&nbsp;Implemented IASTTypeId.getFullSignature() for both QUICK_PARSE and COMPLETE_PARSE. <BR>
&nbsp;&nbsp;Tweaked ASTNode.lookup() so that it would work for FUNCTION_REFERENCE. <BR><BR>
org.eclipse.cdt.ui <BR>
&nbsp;&nbsp;Updated CompletionEngine to use the extended IASTCompletionNode interface for FUNCTION_REFERENCE. <BR><BR>
org.eclipse.cdt.ui.tests <BR>
&nbsp;&nbsp;Updated CompletionFailedTest_ConstructorReference_Bug50808, renamed it to CompletionTest_ConstructorReference and moved it out of the failed tests folder. <BR>
&nbsp;&nbsp;Updated CompletionFailedTest_TypeDef_Bug52948, renamed it to CompletionTest_TypeDef_Prefix and moved it out of the failed tests folder. <BR>
&nbsp;&nbsp;Renamed CompletionTest_TypeDef_Bug52948 it to CompletionTest_TypeDef_NoPrefix. <BR>
&nbsp;&nbsp;Updated CompletionTest_SingleName_Parameter and renamed it to CompletionTest_FunctionReference_Prefix. <BR>
&nbsp;&nbsp;Updated CompletionFailedTest_FunctionReference_Bug50807, renamed it to CompletionTest_FunctionReference_NoPrefix and moved it out of the failed tests folder. <BR>
2004-04-08 00:33:43 +00:00
John Camelon
26facfb422 org.eclipse.cdt.core
Provided a partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=50152
	Updated IExpressionParser::expression() interface necessitated by this fix, and updated its clients appropriately.  

org.eclipse.cdt.core.tests
	Updated test cases that used IExpressionParser::expression().  
	Added CompletionParseTest::testCompletionInFunctionBodyFullyQualified(). 
	Added CompletionParseTest::testCompletionInFunctionBodyQualifiedName().

org.eclipse.cdt.ui.tests
	Updated CompletionFailedTest_ScopedReference_Prefix_Bug50152, moved it out of failed tests package and renamed it to CompletionTest_ScopedReference_Prefix_Bug50152.
	Updated CompletionFailedTest_TypeDef_Bug52948, moved it out of failed tests package and renamed it to CompletionTest_TypeDef_Bug52948. 
	Updated CompletionFailedTest_ScopedReference_NoPrefix_Bug50152 to show Hoda/Andrew what is still broken.
2004-04-07 04:32:18 +00:00
Hoda Amer
29adda7a82 Partial Fix for bug#52948 2004-03-08 21:20:11 +00:00
John Camelon
3f823a9e08 org.eclipse.cdt.core
Refactored parser for further content assist work.

org.eclipse.cdt.ui.tests
	Updated failed test to fail in new way as Content Assist feature work continues on ...
2004-03-03 20:07:59 +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
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
Hoda Amer
1196d4a5ff Content Assist Work : Moved logging and testing to the UI side of CDT 2004-01-15 18:06:14 +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
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
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
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