Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 23227 Details for
Bug 83685
[assist] Content assist fails when there's a dot ('.') after type name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Regression test
patchcompiler001.txt (text/plain), 1.53 KB, created by
David Audel
on 2005-06-15 13:17:21 EDT
(
hide
)
Description:
Regression test
Filename:
MIME Type:
Creator:
David Audel
Created:
2005-06-15 13:17:21 EDT
Size:
1.53 KB
patch
obsolete
>Index: src/org/eclipse/jdt/core/tests/compiler/parser/GenericsCompletionParserTest.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/parser/GenericsCompletionParserTest.java,v >retrieving revision 1.16 >diff -u -r1.16 GenericsCompletionParserTest.java >--- src/org/eclipse/jdt/core/tests/compiler/parser/GenericsCompletionParserTest.java 3 Jun 2005 14:01:05 -0000 1.16 >+++ src/org/eclipse/jdt/core/tests/compiler/parser/GenericsCompletionParserTest.java 15 Jun 2005 17:07:26 -0000 >@@ -8827,4 +8827,34 @@ > expectedReplacedSource, > "diet ast"); > } >+// https://bugs.eclipse.org/bugs/show_bug.cgi?id=83685 >+public void test0202(){ >+ String str = >+ "public class Test{\n" + >+ " Test.\n" + >+ "}\n"; >+ >+ String completeBehind = "Test"; >+ int cursorLocation = str.indexOf("Test.") + completeBehind.length() - 1; >+ String expectedCompletionNodeToString = "<CompleteOnType:Test>"; >+ String expectedParentNodeToString = "<NONE>"; >+ String completionIdentifier = "Test"; >+ String expectedReplacedSource = "Test"; >+ String expectedUnitDisplayString = >+ "public class Test {\n" + >+ " <CompleteOnType:Test>;\n" + >+ " public Test() {\n" + >+ " }\n" + >+ "}\n"; >+ >+ checkDietParse( >+ str.toCharArray(), >+ cursorLocation, >+ expectedCompletionNodeToString, >+ expectedParentNodeToString, >+ expectedUnitDisplayString, >+ completionIdentifier, >+ expectedReplacedSource, >+ "diet ast"); >+} > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 83685
:
23224
|
23227
|
39016