[jira] Commented: (NANO-57) Test cases do not have proper mock setup

jira-yCVjj/[email protected] Mon, 29 Mar 2004 04:05:37 -0500 (EST)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
The following comment has been added to this issue:

     Author: Miguel A Paraz
    Created: Mon, 29 Mar 2004 4:05 AM
       Body:
Resolved. 

I was using Eclipse to build, and I was adding jars manually.

I built using Maven and it passed, so I used the Maven Eclipse plugin to build a .classpath file and show which jars were being used. I manually added those to my build path... and got the green light. I don't know which jar actually broke the test.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-57&page=comments#action_17989

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-57

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NANO-57
    Summary: Test cases do not have proper mock setup
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: NanoContainer
 Components: 
             nanoweb

   Assignee: 
   Reporter: Miguel A Paraz

    Created: Thu, 25 Mar 2004 7:52 PM
    Updated: Mon, 29 Mar 2004 4:05 AM

Description:
NanoWebServletTestCase fails due to the mock object's failure to verify(). 

They are set to expectAndReturn() with methods that are never called within the scope of the tests.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira