Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Error generating test classes
Error generating test classes [message #547007] Wed, 14 July 2010 23:21 Go to next message
Alain Picard is currently offline Alain PicardFriend
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 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
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/
Re: Error generating test classes [message #547095 is a reply to message #547016] Thu, 15 July 2010 14:22 Go to previous message
Alain Picard is currently offline Alain PicardFriend
Messages: 266
Registered: July 2009
Senior Member
will do.

Thanks
Previous Topic:[Teneo] Extra Lazy Loading problems
Next Topic:Teneo: Possibility to use Set-semantics
Goto Forum:
  


Current Time: Thu Apr 25 22:40:33 GMT 2024

Powered by FUDForum. Page generated in 0.03109 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top