Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320002

Summary: Generation errors with some overloaded methods in test
Product: [Modeling] EMF Reporter: Alain Picard <picard>
Component: CoreAssignee: Ed Merks <Ed.Merks>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on:    
Bug Blocks: 324697    

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.