You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org> on 2005/06/17 20:00:56 UTC

[jira] Updated: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

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

Jeremiah Johnson updated BEEHIVE-825:
-------------------------------------

    Attachment: BEEHIVE-825-patch1.txt

BEEHIVE-825-patch1.txt is a patch that I hope can fit the bill.  This adds some initial WSDL parsing tests for JSR 181 annotations Oneway and WebService.  Here are a few points of interest with this patch - I attempted to follow Eddie's suggestions from beehive-dev, but am not sure if my solutions are what he had in mind:

- added trunk/wsm/wsm.properties in style used by netui and controls
- still using system property in junit test - don't have a problem doing differently - just wasn't sure if you meant to load wsm.properties or have system property use wsm.properties or something else
- wsm/drt/build.xml had been leaving velocity.log after clean - I changed to remove it - is that okay?
- wsm/drt/build.xml build.webapp target updated to also build webservices and stage under build dir
- non-container junit target told to exclude the wsdl tests (org.apache.beehive.wsm.tests.wsdl)
- added in-container tests that currently look at org.apache.beehive.wsm.tests.wsdl.*Test

Note that the wsm/drt/build.xml is at the very end of the patch - this is the only file that was modified; all others in the patch are adds.

The following require 'svn add' after applying the patch:
tests/org/apache/beehive/wsm/tests/wsdl/WebServiceNameTest.java
tests/org/apache/beehive/wsm/tests/wsdl/WebServiceServiceNameTest.java
tests/org/apache/beehive/wsm/tests/wsdl/WebServiceTargetNamespaceTest.java
tests/org/apache/beehive/wsm/tests/wsdl/OnewayTest.java
webapp/WEB-INF/src-ws/WebServiceTargetNamespaceEmpty.java
webapp/WEB-INF/src-ws/oneway/Used.java
webapp/WEB-INF/src-ws/oneway/NotUsed.java
webapp/WEB-INF/src-ws/WebServiceTargetNamespaceNotUsed.java
webapp/WEB-INF/src-ws/webservice/NameEmpty.java
webapp/WEB-INF/src-ws/webservice/ServiceNameEmpty.java
webapp/WEB-INF/src-ws/webservice/NameUsed.java
webapp/WEB-INF/src-ws/webservice/TargetNamespaceEmpty.java
webapp/WEB-INF/src-ws/webservice/NameNotUsed.java
webapp/WEB-INF/src-ws/webservice/ServiceNameUsed.java
webapp/WEB-INF/src-ws/webservice/ServiceNameNotUsed.java
webapp/WEB-INF/src-ws/webservice/TargetNamespaceUsed.java
webapp/WEB-INF/src-ws/webservice/TargetNamespaceNotUsed.java

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Improvement
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Jeremiah Johnson
>     Priority: Minor
>      Fix For: V1
>  Attachments: BEEHIVE-825-patch1.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira