Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320002 - Generation errors with some overloaded methods in test
Summary: Generation errors with some overloaded methods in test
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 324697
  Show dependency tree
 
Reported: 2010-07-15 11:23 EDT by Alain Picard CLA
Modified: 2010-11-05 05:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Picard CLA 2010-07-15 11:23:53 EDT
Build Identifier: M20100211-1343

I have a situation where I have pretty similar overloaded methods that generate the same test signature, where one is an Object[] and the other is a simple object.:

EList<EObject> runLibMethodList(String libraryId, String methodName, Object[] args);

EList<EObject> runLibMethodList(String libraryId, String methodName, Object arg);

will generate:
* Tests the '{@link com.castortech.iris.utils.eclipse.emf.EObject#runLibMethodList(java.lang.String, java.lang.String, java.lang.Object[]) <em>Run Lib Method List</em>}' operation.
public void testRunLibMethodList__String_String_Object() {

* Tests the '{@link com.castortech.iris.utils.eclipse.emf.EObject#runLibMethodList(java.lang.String, java.lang.String, java.lang.Object) <em>Run Lib Method List</em>}' operation.
public void testRunLibMethodList__String_String_Object() { 

Reproducible: Always
Comment 1 Ed Merks CLA 2010-09-07 16:30:14 EDT
A fix is committed to CVS for 2.6.
Comment 2 Ed Merks CLA 2010-11-05 05:41:35 EDT
The fix is available in the latest build for the stream.