[jboss-jira] [JBoss JIRA] Commented: (JBJCA-458) Add overloaded methods to CF interface causes test suite failure

Jeff Zhang (JIRA) jira-events at lists.jboss.org
Fri Oct 29 03:24:54 EDT 2010


    [ https://jira.jboss.org/browse/JBJCA-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560196#action_12560196 ] 

Jeff Zhang commented on JBJCA-458:
----------------------------------

We also need to consider
  String helloWorld(String name)
  String helloWorld(int name)

So I use the test + methodName + paramName + paramType to generate test case name like these:
  testHelloWorldNameString
  testHelloWorldNameint

It is a bit ugly but work well

> Add overloaded methods to CF interface causes test suite failure
> ----------------------------------------------------------------
>
>                 Key: JBJCA-458
>                 URL: https://jira.jboss.org/browse/JBJCA-458
>             Project: IronJacamar
>          Issue Type: Bug
>          Components: Code Generator
>    Affects Versions: 1.0.0.Beta3
>            Reporter: Jesper Pedersen
>            Assignee: Jeff Zhang
>             Fix For: 1.0.0.Beta4
>
>
> Adding
>  String helloWorld()
>  String helloWorld(String name)
> to the CF interface results in 
>   testHelloWorld()
>   testHelloWorld()
> being generated in the test suite.
> This needs to be
>   testHelloWorldNoArg()
>   testHelloWorldName()
> instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list