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 22013 Details for
Bug 96944
[1.5][assist] shoud not suggest type parameters after new
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Tests patch
patchmodel001.txt (text/plain), 2.48 KB, created by
David Audel
on 2005-05-31 04:57:14 EDT
(
hide
)
Description:
Tests patch
Filename:
MIME Type:
Creator:
David Audel
Created:
2005-05-31 04:57:14 EDT
Size:
2.48 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:43:26 -0000 >@@ -7050,4 +7050,73 @@ > } > } > } >+// https://bugs.eclipse.org/bugs/show_bug.cgi?id=96944 >+public void test0223() throws JavaModelException { >+ CompletionResult result = complete( >+ "/Completion/src3/test0223/Test.java", >+ "package test0223;\n" + >+ "\n" + >+ "public class Test<ZT> {\n" + >+ " void foo() {\n"+ >+ " new ZT\n"+ >+ " }\n"+ >+ "}", >+ "ZT"); >+ >+ >+ assertResults( >+ "expectedTypesSignatures=null\n" + >+ "expectedTypesKeys=null", >+ result.context); >+ >+ assertResults( >+ "", >+ result.proposals); >+} >+// https://bugs.eclipse.org/bugs/show_bug.cgi?id=96944 >+public void test0224() throws JavaModelException { >+ CompletionResult result = complete( >+ "/Completion/src3/test0224/Test.java", >+ "package test0223;\n" + >+ "\n" + >+ "public class Test<ZT> {\n" + >+ " void foo() {\n"+ >+ " ZT var = new ZT\n"+ >+ " }\n"+ >+ "}", >+ "ZT"); >+ >+ >+ assertResults( >+ "expectedTypesSignatures={TZT;}\n" + >+ "expectedTypesKeys={Ltest0224/Test;:TZT;}", >+ result.context); >+ >+ assertResults( >+ "", >+ result.proposals); >+} >+// https://bugs.eclipse.org/bugs/show_bug.cgi?id=96944 >+public void test0225() throws JavaModelException { >+ CompletionResult result = complete( >+ "/Completion/src3/test0225/Test.java", >+ "package test0225;\n" + >+ "\n" + >+ "public class Test<ZT> {\n" + >+ " void foo() {\n"+ >+ " ZT var = new \n"+ >+ " }\n"+ >+ "}", >+ "new "); >+ >+ >+ assertResults( >+ "expectedTypesSignatures={TZT;}\n" + >+ "expectedTypesKeys={Ltest0225/Test;:TZT;}", >+ result.context); >+ >+ assertResults( >+ "", >+ result.proposals); >+} > }
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 96944
:
22012
| 22013