axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gayan Asanka" <ga...@opensource.lk>
Subject RE: svn commit: r239510 - in /webservices/axis/trunk/java/modules/integration: ./ itest-resources/ itest-resources/interopt/ itest-resources/intregrationRepo/ itest/ itest/org/ itest/org/apache/ itest/org/apache/axis2/ itest/org/apache/axis2/interop
Date Wed, 24 Aug 2005 05:32:03 GMT
Hi Dims,

 

For me it worked successfully. Is there anything I've missed? Following is
the output I got.

 

But if your talking about the case when the interop is not successful (i.e.
response message is not received, etc ) there are exceptions to be thrown.
If that is the case, I will figure out those and handle them perfectly. 

 

 

E:\SVN2\modules\integration>maven itest

 __  __

|  \/  |__ _Apache__ ___

| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~

|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

 

build:start:

 

java:prepare-filesystem:

 

java:compile:

    [echo] Compiling to E:\SVN2\modules\integration/target/classes

    [echo]

==========================================================

 

  NOTE: Targetting JVM 1.4, classes

  will not run on earlier JVMs

 

==========================================================

 

    [javac] Compiling 11 source files to
E:\SVN2\modules\integration\target\clas

ses

 

java:jar-resources:

 

itest:prepare-filesystem:

    [mkdir] Created dir: E:\SVN2\modules\integration\target\itest-classes

    [mkdir] Created dir: E:\SVN2\modules\integration\target\itest-reports

 

itest:test-resources:

    [copy] Copying 569 files to
E:\SVN2\modules\integration\target\itest-classes

 

    [copy] Copied 8 empty directories to
E:\SVN2\modules\integration\target\ites

t-classes

 

itest:compile:

    [javac] Compiling 3 source files to
E:\SVN2\modules\integration\target\itest

-classes

    [mkdir] Created dir:
E:\SVN2\modules\integration\target\itest-classes\module

s

    [copy] Copying 1 file to
E:\SVN2\modules\integration\target\itest-classes\mo

dules

 

itest:itest:

itest:setup:

 

    [junit] Running
org.apache.axis2.interopt.whitmesa.round1.Round1InteropTest

 

 

 

 

 

    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 17.531 sec

    [junit] Running
org.apache.axis2.interopt.whitmesa.round4.complex.WhitemesaR

4ComplexTest

 

 

 

 

 

    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 16.391 sec

    [junit] Running
org.apache.axis2.interopt.whitmesa.round4.simple.WhitemesaR4

SimpleTest

 

 

 

 

 

 

    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 5.657 sec

BUILD SUCCESSFUL

Total time: 1 minutes 6 seconds

Finished at: Wed Aug 24 10:52:36 LKT 2005

 

 

 

Thanks

Gayan

 

  _____  

From: Ajith Ranabahu [mailto:ajith.ranabahu@gmail.com] 
Sent: Wednesday, August 24, 2005 10:21 AM
To: gayan@opensource.lk
Subject: Fwd: svn commit: r239510 - in
/webservices/axis/trunk/java/modules/integration: ./ itest-resources/
itest-resources/interopt/ itest-resources/intregrationRepo/ itest/
itest/org/ itest/org/apache/ itest/org/apache/axis2/
itest/org/apache/axis2/interop

 



---------- Forwarded message ----------
From: dims@apache.org <dims@apache.org >
Date: Aug 24, 2005 8:31 AM
Subject: svn commit: r239510 - in
/webservices/axis/trunk/java/modules/integration: ./ itest-resources/
itest-resources/interopt/ itest-resources/intregrationRepo/ itest/
itest/org/ itest/org/apache/ itest/org/apache/axis2/
itest/org/apache/axis2/interopt/ ites...
To: axis-cvs@ws.apache.org

Author: dims
Date: Tue Aug 23 19:30:55 2005
New Revision: 239510

URL: http://svn.apache.org/viewcvs?rev=239510
<http://svn.apache.org/viewcvs?rev=239510&view=rev> &view=rev
Log:
Moving whitemesa interop tests to a separate maven goal. Please run "maven
itest" from modules/integration to run that test. i will hook it up better
("maven all-tests" from root) tomorrow.

FYI, right now it fails with an NPE. Gayan, PLEASE fix it ASAP!


Added:
    webservices/axis/trunk/java/modules/integration/itest/
    webservices/axis/trunk/java/modules/integration/itest-resources/ 
 
webservices/axis/trunk/java/modules/integration/itest-resources/interopt/
      - copied from r239422,
webservices/axis/trunk/java/modules/integration/test-resources/interopt/
 
webservices/axis/trunk/java/modules/integration/itest-resources/intregration
Repo/ 
    webservices/axis/trunk/java/modules/integration/itest/org/
    webservices/axis/trunk/java/modules/integration/itest/org/apache/
    webservices/axis/trunk/java/modules/integration/itest/org/apache/axis2/
 
webservices/axis/trunk/java/modules/integration/itest/org/apache/axis2/inter
opt/
 
webservices/axis/trunk/java/modules/integration/itest/org/apache/axis2/inter
opt/whitmesa/
      - copied from r239422,
webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/intero
pt/whitmesa/ 
    webservices/axis/trunk/java/modules/integration/project.properties
(with props)
Removed:
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/
 
webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/intero
pt/whitmesa/ 
Modified:
    webservices/axis/trunk/java/modules/integration/maven.xml
    webservices/axis/trunk/java/modules/integration/project.xml
 
webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interop
t/whitemesa/round1/Round1Client.java 
 
webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/engine
/CallUnregisteredServiceTest.java

Modified: webservices/axis/trunk/java/modules/integration/maven.xml
URL:
http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integratio
n/maven.xml?rev=239510
<http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integrati
on/maven.xml?rev=239510&r1=239509&r2=239510&view=diff>
&r1=239509&r2=239510&view=diff
============================================================================
== 
--- webservices/axis/trunk/java/modules/integration/maven.xml (original)
+++ webservices/axis/trunk/java/modules/integration/maven.xml Tue Aug 23
19:30:55 2005
@@ -8,6 +8,13 @@
     xmlns:deploy="deploy" 

     xmlns:ant="jelly:ant">

     <j:set var="samples.dir" value="target/samples"/>

+

+    <postGoal name="itest:compile">

+        <mkdir dir="target/itest-classes/modules"/> 

+        <copy file="../addressing/target/addressing.mar"

+              tofile="target/itest-classes/modules/addressing.mar"/>

+    </postGoal>

+

     <postGoal name="test:compile"> 

         <mkdir dir="target/test-resources/samples/modules"/>

         <mkdir dir="target/test-resources/repository-client/modules"/>


Added: webservices/axis/trunk/java/modules/integration/project.properties 
URL:
http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integratio
n/project.properties?rev=239510
<http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integrati
on/project.properties?rev=239510&view=auto> &view=auto 
============================================================================
==
--- webservices/axis/trunk/java/modules/integration/project.properties
(added)
+++ webservices/axis/trunk/java/modules/integration/project.properties Tue
Aug 23 19:30:55 2005 
@@ -0,0 +1,25 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); 
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0 
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------------------------------
+
+maven.repo.remote= <http://cvs.apache.org/repository/>
http://cvs.apache.org/repository/,
http://www.ibiblio.org/maven,http://www.apache.org/dist/java-repository/,htt
p://www.openejb.org/maven
<http://www.ibiblio.org/maven,http:/www.apache.org/dist/java-repository/,htt
p:/www.openejb.org/maven>  
+maven.multiproject.type=jar
+
+maven.itest.resources=${basedir}/itest-resources
+maven.itest.src=${basedir}/itest
+maven.itest.includes=**/*.java
+
+maven.junit.fork=true
+maven.junit.jvmargs=-ea 

Propchange:
webservices/axis/trunk/java/modules/integration/project.properties
----------------------------------------------------------------------------
--
    svn:eol-style = native

Modified: webservices/axis/trunk/java/modules/integration/project.xml 
URL:
http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integratio
n/project.xml?rev=239510
<http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integrati
on/project.xml?rev=239510&r1=239509&r2=239510&view=diff>
&r1=239509&r2=239510&view=diff 
============================================================================
==
--- webservices/axis/trunk/java/modules/integration/project.xml (original)
+++ webservices/axis/trunk/java/modules/integration/project.xml Tue Aug 23
19:30:55 2005 
@@ -162,6 +162,20 @@
                 <module>true</module>

             </properties>

         </dependency>

+        <dependency>

+            <groupId>maven-itest-plugin</groupId>

+            <artifactId>maven-itest-plugin</artifactId>

+            <version>1.0</version>

+            <type>plugin</type>

+        </dependency>

+        <dependency> 

+            <groupId>junit</groupId>

+            <artifactId>junit</artifactId>

+            <version>3.8.1</version>

+                <properties>

+                    <classloader>root</classloader>

+            </properties>

+        </dependency>



     </dependencies>




Modified:
webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interop
t/whitemesa/round1/Round1Client.java 
URL:
http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integratio
n/src/org/apache/axis2/interopt/whitemesa/round1/Round1Client.java?rev=23951
0
<http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integrati
on/src/org/apache/axis2/interopt/whitemesa/round1/Round1Client.java?rev=2395
10&r1=239509&r2=239510&view=diff> &r1=239509&r2=239510&view=diff

============================================================================
==
---
webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interop
t/whitemesa/round1/Round1Client.java (original)
+++
webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interop
t/whitemesa/round1/Round1Client.java Tue Aug 23 19:30:55 2005
@@ -29,7 +29,7 @@
             throw new AxisFault(e);

         }



-        Call call = new Call("target/test-resources/intregrationRepo");

+        Call call = new Call("target/itest-resources/intregrationRepo");

         call.setTo(new EndpointReference( url.toString()));

         call.setSoapAction(soapAction);

         call.setTransportInfo(Constants.TRANSPORT_HTTP,
Constants.TRANSPORT_HTTP, false);


Modified:
webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/engine
/CallUnregisteredServiceTest.java
URL:
http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integratio
n/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java?rev=239510
<http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integrati
on/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java?rev=239510&
r1=239509&r2=239510&view=diff> &r1=239509&r2=239510&view=diff
============================================================================
== 
---
webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/engine
/CallUnregisteredServiceTest.java (original)
+++
webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/engine
/CallUnregisteredServiceTest.java Tue Aug 23 19:30:55 2005 
@@ -79,7 +79,7 @@
             method.addChild(value);
//            reqEnv.getBody().addChild(method);

-            Call call = new Call("target/test-resources/intregrationRepo");
+            Call call = new Call(); 
             EndpointReference targetEPR =
                     new EndpointReference("http://127.0.0.1:"
                     + (UtilServer.TESTING_PORT)




-- 
Ajith Ranabahu 


Mime
View raw message