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 22009 Details for
Bug 96918
[assist] suggest extends and super in the context of a wildcard type argument
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Tests patch
patchmodel001.txt (text/plain), 1.76 KB, created by
David Audel
on 2005-05-31 04:21:46 EDT
(
hide
)
Description:
Tests patch
Filename:
MIME Type:
Creator:
David Audel
Created:
2005-05-31 04:21:46 EDT
Size:
1.76 KB
patch
obsolete
>Index: src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java,v >retrieving revision 1.36 >diff -u -r1.36 CompletionTests_1_5.java >--- src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java 31 May 2005 07:55:04 -0000 1.36 >+++ src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java 31 May 2005 08:14:17 -0000 >@@ -7050,4 +7050,46 @@ > } > } > } >+/* >+ * https://bugs.eclipse.org/bugs/show_bug.cgi?id=96918 >+ */ >+public void test0222() throws JavaModelException { >+ ICompilationUnit paramClass1 = null; >+ try { >+ paramClass1 = getWorkingCopy( >+ "/Completion/src3/test0222/AType.java", >+ "package test0222;\n"+ >+ "\n"+ >+ "public class AType<T> {\n"+ >+ "}"); >+ >+ >+ >+ CompletionResult result = complete( >+ "/Completion/src3/test0222/Test.java", >+ "package test0222;\n" + >+ "\n" + >+ "public class Test {\n" + >+ " void foo() {\n" + >+ " AType<? \n" + >+ " }\n" + >+ "}", >+ "? "); >+ >+ >+ assertResults( >+ "expectedTypesSignatures=null\n" + >+ "expectedTypesKeys=null", >+ result.context); >+ >+ assertResults( >+ "extends[KEYWORD]{extends, null, null, extends, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_NON_RESTRICTED) + "}\n" + >+ "super[KEYWORD]{super, null, null, super, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_NON_RESTRICTED) + "}", >+ result.proposals); >+ } finally { >+ if(paramClass1 != null) { >+ paramClass1.discardWorkingCopy(); >+ } >+ } >+} > }
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 96918
:
22008
| 22009