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 80562 Details for
Bug 205860
ASTParser.createBindings() returns [null]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Tests that don't depend on jclMin15.jar content
205860.txt (text/plain), 1.69 KB, created by
Jerome Lanneluc
on 2007-10-17 09:57:39 EDT
(
hide
)
Description:
Tests that don't depend on jclMin15.jar content
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2007-10-17 09:57:39 EDT
Size:
1.69 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.model >Index: src/org/eclipse/jdt/core/tests/dom/ASTModelBridgeTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTModelBridgeTests.java,v >retrieving revision 1.49 >diff -u -r1.49 ASTModelBridgeTests.java >--- src/org/eclipse/jdt/core/tests/dom/ASTModelBridgeTests.java 16 Mar 2007 18:35:31 -0000 1.49 >+++ src/org/eclipse/jdt/core/tests/dom/ASTModelBridgeTests.java 17 Oct 2007 13:56:14 -0000 >@@ -1458,4 +1458,38 @@ > "LA;.foo(Ljava/lang/String;)Ljava/lang/String;", > bindings); > } >+ >+ /* >+ * Ensures that the correct IBinding is created for an IField starting with a 'L' >+ * (regression test for 205860 ASTParser.createBindings() returns [null]) >+ */ >+ public void testCreateBindings20() throws CoreException { >+ IField field = getClassFile("/P/lib/A.class").getType().getField("LINE"); >+ IBinding[] bindings = createBinaryBindings( >+ "public class A {\n" + >+ " static int LINE = 0;\n" + >+ "}", >+ field >+ ); >+ assertBindingsEqual( >+ "LA;.LINE)I", >+ bindings); >+ } >+ >+ /* >+ * Ensures that the correct IBinding is created for an IField starting with a 'T' >+ * (regression test for 205860 ASTParser.createBindings() returns [null]) >+ */ >+ public void testCreateBindings21() throws CoreException { >+ IField field = getClassFile("/P/lib/A.class").getType().getField("THREE"); >+ IBinding[] bindings = createBinaryBindings( >+ "public class A {\n" + >+ " static int THREE = 0;\n" + >+ "}", >+ field >+ ); >+ assertBindingsEqual( >+ "LA;.THREE)I", >+ bindings); >+ } > }
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 205860
:
80053
|
80056
|
80074
|
80430
| 80562