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

1335 commits

Author SHA1 Message Date
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
John Camelon
371b6dba53 Reversed failing test. 2004-11-30 18:51:01 +00:00
Andrew Niefer
0bf6b02659 test tweaks 2004-11-24 20:27:41 +00:00
Andrew Niefer
40ca0f5538 patch from Tanya Wolff 2004-11-24 20:27:29 +00:00
Doug Schaefer
a099af8eeb Update UI tests to get rid of warnings. 2004-11-24 16:43:41 +00:00
Andrew Niefer
7d6aa41cb5 fix failing content assist tests 2004-11-18 21:09:43 +00:00
Andrew Niefer
bb46ce4f7f fix failures in content assist tests 2004-11-16 15:58:00 +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
c555ac79f6 move the content assist regression tests over the the ui.tests plugin 2004-10-13 18:24:17 +00:00
Andrew Niefer
a0681af9ce fix incorrect merging of prefix lookup results from different scopes. 72559 2004-09-10 21:14:01 +00:00
Andrew Niefer
bb6eaf7e55 bugs 72824, 69334 2004-09-09 20:59:22 +00:00
John Camelon
9e4777cd49 Fixed a bunch of ui.tests for content assist w/Scanner2. 2004-08-05 22:36:35 +00:00
Doug Schaefer
739203fe55 Upversioning head to 2.1.0. 2004-07-15 15:54:47 +00:00
Alain Magloire
a443caeb08 2004-06-18 Alain Magloire
This was heavy and lots of files were change.  The problem: to create the CElementInfo we use
	to synchronize of the CModelManager singleton instance, this was handy and allowed us to serialize
	the creation of the proxy info and save in the LRU cache.  Then came Eclipse-3.0 with job spawning
	everywhere, lots of deadlock since the CModelManager was lock and the singleton is the center
	to get all the info.  We use the same scheme as the JDT by using a ThreadLocal class cache
	to collect the information.  We fixed a couple of bug allong the way and probably introduce some.

	The tests were doing something stupid, by creating directly the TranslationUnit:
		new TranslationUnit(project, file);
	This does not work since only the sourceRoot can be the parent
	of a TranslationUnit, the tests are now fix bug we should restrict access of the class in the core model
	after 2.0.
2004-06-19 02:43:04 +00:00
Andrew Niefer
8d55216fb7 fixing bug 65114, NPE in getParentClassSpecifier(), caused by template
lookup issues in the class base clause
2004-06-09 21:33:50 +00:00
Doug Schaefer
de0397f03e Cleaned up the build.properties files to ensure the right things end up in the binary and source builds. 2004-05-24 17:18:38 +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
Andrew Niefer
56bd43a638 update test to reflect JohnC's expression changes 2004-05-03 20:08:46 +00:00
Hoda Amer
1d8bbf919e Content Assist fixes 2004-04-30 18:30:39 +00:00
John Camelon
8eaa71ea7a Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=51841<BR>
Updated test cases for improved contexts provided in IASTCompletionNode.
2004-04-25 21:36:27 +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
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