Error generating test classes [message #547007] |
Wed, 14 July 2010 23:21 |
Alain Picard Messages: 266 Registered: July 2009 |
Senior Member |
|
|
Hi,
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#runLibMethodLi st(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#runLibMethodLi st(java.lang.String,
java.lang.String, java.lang.Object) <em>Run Lib Method List</em>}'
operation.
public void testRunLibMethodList__String_String_Object() {
Anyone aware of this?
Alain
|
|
|
Re: Error generating test classes [message #547016 is a reply to message #547007] |
Thu, 15 July 2010 02:24 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Alain,
Comments below.
Alain Picard wrote:
> Hi,
>
> 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#runLibMethodLi st(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#runLibMethodLi st(java.lang.String,
> java.lang.String, java.lang.Object) <em>Run Lib Method List</em>}'
> operation.
> public void testRunLibMethodList__String_String_Object() {
>
>
> Anyone aware of this?
That seems bad. Please open a bugzilla...
> Alain
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03109 seconds