You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org> on 2005/02/13 19:46:12 UTC

[jira] Updated: (BEEHIVE-198) wsm petstore dashboard samples app uses junit's AssertionFailedError

     [ http://issues.apache.org/jira/browse/BEEHIVE-198?page=history ]

Eddie O'Neil updated BEEHIVE-198:
---------------------------------

    Assign To: Michael Merz  (was: Eddie O'Neil)
      Summary: wsm petstore dashboard samples app uses junit's AssertionFailedError  (was: distribution includes junit jar)

Mike originally filed this as the distro including junit.jar, but that JAR actually needs to be there for the petstore dashboard to work correctly.  There seems to be one reference from a source file:

throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
./src/ui/PetStoreDashboard.java

Would it be possible to switch off of JUnit's AssertionFailedError and throw an error / exception from the JDK?

That would save the distribution having to ship junit.jar.

If not, just resolve the bug as won't fix.  :)

> wsm petstore dashboard samples app uses junit's AssertionFailedError
> --------------------------------------------------------------------
>
>          Key: BEEHIVE-198
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-198
>      Project: Beehive
>         Type: Bug
>   Components: Samples
>     Versions: V1Beta
>     Reporter: Mike Foster
>     Assignee: Michael Merz
>     Priority: Minor

>
> Under a built distribution, the PetStoreDashboard sample includes a junit jar.  Seems like it shouldn't be there.
> $ find . -name "junit*jar"
> ./PetStoreDashboard/lib/junit.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira