You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by gd...@apache.org on 2005/07/11 17:49:55 UTC

svn commit: r210150 [9/35] - in /webservices/axis/trunk/java: ./ etc/ modules/addressing/ modules/addressing/src/org/apache/axis2/handlers/addressing/ modules/addressing/test-resources/ modules/addressing/test/org/apache/axis2/handlers/addressing/ modu...

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/service1/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/service1/build.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/service1/build.xml (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/service1/build.xml Mon Jul 11 08:49:30 2005
@@ -1,53 +1,53 @@
 <?xml version="1.0"?>
 <project basedir="." default="jar">
-	<property name="src" location="."/>
-	<property name="build" location="build"/>
-	<property name="build.classes" location="${build}/classes"/>
-	<property name="build.lib" location="${build}/lib"/>
-	<property name="lib" location="lib"/>
-	<property name="root" location="../../../"/>
-	<property name="jar.dir" location="${root}/target/test-resources/deployment/services/"/>
-	
-	<path id="axis.test.classpath">
-		<path refid="maven.dependency.classpath"></path>
-		<pathelement location="../../../target/classes"/>
-		<pathelement location="../../../target/test-classes"/>
-	</path>
-	
-	<target name="compile" depends="init" unless="jars.uptodate">
-	   <mkdir dir="${build.classes}"/>
-	   <mkdir dir="${build.lib}"/>
-		<javac destdir="${build.classes}" debug="on">
-			<classpath refid="axis.test.classpath" />
-			<src path="${src}"/>
-		</javac>
-	</target>
-	
-	<target name="jar" depends="compile" unless="jars.uptodate">
-       <copy todir="${build.classes}/META-INF">
-			<fileset dir="${basedir}/META-INF/">
-			<include name="**/*.xml"/>
-			<exclude name="build.xml"/>
-			</fileset>
-		</copy>
-
-		<mkdir dir="${jar.dir}"/>
-		<jar jarfile="${jar.dir}/service1.jar" basedir="${build.classes}" >
-			<include name="**" />
-		</jar>
-		<delete dir="${build}"/>
-	</target>
-	
-	<target name="init">
-		<uptodate property="jars.uptodate" targetfile="${jar.dir}/service1.jar">
-			<srcfiles dir="${src}">
-				<include name="**/*.java"/>
-				<include name="**/*.xml"/>
-				<include name="**/*.wsdl"/>
-				<exclude name="${build}/**"/>
-			</srcfiles>
-		</uptodate>
-		<echo message="the files are up to date = ${jars.uptodate}"></echo>
-	</target>
-	
+    <property name="src" location="."/>
+    <property name="build" location="build"/>
+    <property name="build.classes" location="${build}/classes"/>
+    <property name="build.lib" location="${build}/lib"/>
+    <property name="lib" location="lib"/>
+    <property name="root" location="../../../"/>
+    <property name="jar.dir" location="${root}/target/test-resources/deployment/services/"/>
+
+    <path id="axis.test.classpath">
+        <path refid="maven.dependency.classpath"></path>
+        <pathelement location="../../../target/classes"/>
+        <pathelement location="../../../target/test-classes"/>
+    </path>
+
+    <target name="compile" depends="init" unless="jars.uptodate">
+        <mkdir dir="${build.classes}"/>
+        <mkdir dir="${build.lib}"/>
+        <javac destdir="${build.classes}" debug="on">
+            <classpath refid="axis.test.classpath"/>
+            <src path="${src}"/>
+        </javac>
+    </target>
+
+    <target name="jar" depends="compile" unless="jars.uptodate">
+        <copy todir="${build.classes}/META-INF">
+            <fileset dir="${basedir}/META-INF/">
+                <include name="**/*.xml"/>
+                <exclude name="build.xml"/>
+            </fileset>
+        </copy>
+
+        <mkdir dir="${jar.dir}"/>
+        <jar jarfile="${jar.dir}/service1.jar" basedir="${build.classes}">
+            <include name="**"/>
+        </jar>
+        <delete dir="${build}"/>
+    </target>
+
+    <target name="init">
+        <uptodate property="jars.uptodate" targetfile="${jar.dir}/service1.jar">
+            <srcfiles dir="${src}">
+                <include name="**/*.java"/>
+                <include name="**/*.xml"/>
+                <include name="**/*.wsdl"/>
+                <exclude name="${build}/**"/>
+            </srcfiles>
+        </uptodate>
+        <echo message="the files are up to date = ${jars.uptodate}"></echo>
+    </target>
+
 </project>

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/service2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/service2.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/service2.xml (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/service2.xml Mon Jul 11 08:49:30 2005
@@ -19,7 +19,7 @@
     <inflow>
         <handler name="h2" ref="h1"/>
         <handler name="h3" ref="h1"/>
-     </inflow>
+    </inflow>
 
     <outflow>
         <handler name="h3" class="org.apache.axis2.engine.registry.SpeakingHandler">
@@ -50,7 +50,7 @@
             <parameter name="para9" locked="xsd:true">456</parameter>
             <parameter name="para10" locked="xsd:true">789</parameter>
         </handler>
-   </INfaultflow>
+    </INfaultflow>
 
 
     <operation name="opname" qname="opqname" style="anyStyle" use="anyUse">

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/META-INF/service.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/META-INF/service.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/META-INF/service.xml (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/META-INF/service.xml Mon Jul 11 08:49:30 2005
@@ -2,11 +2,11 @@
     <!-- these are Service Parameters -->
     <parameter name="para1" locked="xsd:true">10</parameter>
     <parameter name="para2" locked="xsd:false">Colombo</parameter>
-   <description>
+    <description>
         This is a testing service , to test the system is working or not
     </description>
-   
-       <!--  Service TypeMapping -->
+
+    <!--  Service TypeMapping -->
 
     <!--
     Phases
@@ -36,7 +36,7 @@
     </INfaultflow>
     <Outfaultflow>
         <handler name="h4" class="Handler2">
-             <order phase="userphase1"/>
+            <order phase="userphase1"/>
         </handler>
 
         <handler name="h5" class="Handler2">
@@ -48,6 +48,6 @@
         </handler>
     </Outfaultflow>
     <operation name="opname">
-      <module ref="module1"></module>
+        <module ref="module1"></module>
     </operation>
 </service>

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/build.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/build.xml (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/build.xml Mon Jul 11 08:49:30 2005
@@ -1,52 +1,52 @@
 <?xml version="1.0"?>
 <project basedir="." default="jar">
-	<property name="src" location="."/>
-	<property name="build" location="build"/>
-	<property name="build.classes" location="${build}/classes"/>
-	<property name="build.lib" location="${build}/lib"/>
-	<property name="lib" location="lib"/>
-	<property name="root" location="../../../"/>
-	<property name="jar.dir" location="${root}/target/test-resources/deployment/services/"/>
-	
-	<path id="axis.test.classpath">
-		<path refid="maven.dependency.classpath"></path>
-		<pathelement location="../../../target/classes"/>
-	</path>
-	
-	<target name="compile" depends="init" unless="jars.uptodate">
-	   <mkdir dir="${build.classes}"/>
-	   <mkdir dir="${build.lib}"/>
-		<javac destdir="${build.classes}" debug="on">
-			<classpath refid="axis.test.classpath" />
-			<src path="${src}"/>
-		</javac>
-	</target>
-	
-	<target name="jar" depends="compile" unless="jars.uptodate">
-       <copy todir="${build.classes}/META-INF">
-			<fileset dir="${basedir}/META-INF/">
-			<include name="**/*.xml"/>
-			<exclude name="build.xml"/>
-			</fileset>
-		</copy>
-
-		<mkdir dir="${jar.dir}"/>
-		<jar jarfile="${jar.dir}/service2.jar" basedir="${build.classes}" >
-			<include name="**" />
-		</jar>
-		<delete dir="${build}"/>
-	</target>
-	
-	<target name="init">
-		<uptodate property="jars.uptodate" targetfile="${jar.dir}/service2.jar">
-			<srcfiles dir="${src}">
-				<include name="**/*.java"/>
-				<include name="**/*.xml"/>
-				<include name="**/*.wsdl"/>
-				<exclude name="${build}/**"/>
-			</srcfiles>
-		</uptodate>
-		<echo message="the files are up to date = ${jars.uptodate}"></echo>
-	</target>
-	
+    <property name="src" location="."/>
+    <property name="build" location="build"/>
+    <property name="build.classes" location="${build}/classes"/>
+    <property name="build.lib" location="${build}/lib"/>
+    <property name="lib" location="lib"/>
+    <property name="root" location="../../../"/>
+    <property name="jar.dir" location="${root}/target/test-resources/deployment/services/"/>
+
+    <path id="axis.test.classpath">
+        <path refid="maven.dependency.classpath"></path>
+        <pathelement location="../../../target/classes"/>
+    </path>
+
+    <target name="compile" depends="init" unless="jars.uptodate">
+        <mkdir dir="${build.classes}"/>
+        <mkdir dir="${build.lib}"/>
+        <javac destdir="${build.classes}" debug="on">
+            <classpath refid="axis.test.classpath"/>
+            <src path="${src}"/>
+        </javac>
+    </target>
+
+    <target name="jar" depends="compile" unless="jars.uptodate">
+        <copy todir="${build.classes}/META-INF">
+            <fileset dir="${basedir}/META-INF/">
+                <include name="**/*.xml"/>
+                <exclude name="build.xml"/>
+            </fileset>
+        </copy>
+
+        <mkdir dir="${jar.dir}"/>
+        <jar jarfile="${jar.dir}/service2.jar" basedir="${build.classes}">
+            <include name="**"/>
+        </jar>
+        <delete dir="${build}"/>
+    </target>
+
+    <target name="init">
+        <uptodate property="jars.uptodate" targetfile="${jar.dir}/service2.jar">
+            <srcfiles dir="${src}">
+                <include name="**/*.java"/>
+                <include name="**/*.xml"/>
+                <include name="**/*.wsdl"/>
+                <exclude name="${build}/**"/>
+            </srcfiles>
+        </uptodate>
+        <echo message="the files are up to date = ${jars.uptodate}"></echo>
+    </target>
+
 </project>

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/META-INF/module.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/META-INF/module.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/META-INF/module.xml (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/META-INF/module.xml Mon Jul 11 08:49:30 2005
@@ -1,10 +1,10 @@
 <module name="serviceModule" class="org.apache.axis2.InavalidModuleImpl">
     <inflow>
         <handler name="h1" class="org.apache.axis2.ModuleHandler1">
-            <order phase="Dispatch" />
+            <order phase="Dispatch"/>
         </handler>
         <handler name="h2" class="org.apache.axis2.ModuleHandler1">
-             <order phase="TransportIn"/>
+            <order phase="TransportIn"/>
         </handler>
     </inflow>
 
@@ -16,13 +16,13 @@
 
     <Outfaultflow>
         <handler name="h4" class="org.apache.axis2.ModuleHandler1">
-             <order phase="userphase1"/>
+            <order phase="userphase1"/>
         </handler>
     </Outfaultflow>
 
     <INfaultflow>
         <handler name="h5" class="org.apache.axis2.ModuleHandler1">
-             <order phase="userphase1"/>
+            <order phase="userphase1"/>
         </handler>
     </INfaultflow>
 </module>

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/build.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/build.xml (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/build.xml Mon Jul 11 08:49:30 2005
@@ -1,52 +1,52 @@
 <?xml version="1.0"?>
 <project basedir="." default="jar">
-	<property name="src" location="."/>
-	<property name="build" location="build"/>
-	<property name="build.classes" location="${build}/classes"/>
-	<property name="build.lib" location="${build}/lib"/>
-	<property name="lib" location="lib"/>
-	<property name="root" location="../../../"/>
-	<property name="jar.dir" location="${root}/target/test-resources/InvalidDeployment/modules/"/>
+    <property name="src" location="."/>
+    <property name="build" location="build"/>
+    <property name="build.classes" location="${build}/classes"/>
+    <property name="build.lib" location="${build}/lib"/>
+    <property name="lib" location="lib"/>
+    <property name="root" location="../../../"/>
+    <property name="jar.dir" location="${root}/target/test-resources/InvalidDeployment/modules/"/>
 
-	<path id="axis.test.classpath">
-		<path refid="maven.dependency.classpath"></path>
-		<pathelement location="../../../target/classes"/>
-	</path>
+    <path id="axis.test.classpath">
+        <path refid="maven.dependency.classpath"></path>
+        <pathelement location="../../../target/classes"/>
+    </path>
 
-	<target name="compile" depends="init" unless="jars.uptodate">
-	   <mkdir dir="${build.classes}"/>
-	   <mkdir dir="${build.lib}"/>
-		<javac destdir="${build.classes}" debug="on">
-			<classpath refid="axis.test.classpath" />
-			<src path="${src}"/>
-		</javac>
-	</target>
+    <target name="compile" depends="init" unless="jars.uptodate">
+        <mkdir dir="${build.classes}"/>
+        <mkdir dir="${build.lib}"/>
+        <javac destdir="${build.classes}" debug="on">
+            <classpath refid="axis.test.classpath"/>
+            <src path="${src}"/>
+        </javac>
+    </target>
 
-	<target name="jar" depends="compile" unless="jars.uptodate">
-       <copy todir="${build.classes}/META-INF">
-			<fileset dir="${basedir}/META-INF/">
-			<include name="**/*.xml"/>
-			<exclude name="build.xml"/>
-			</fileset>
-		</copy>
+    <target name="jar" depends="compile" unless="jars.uptodate">
+        <copy todir="${build.classes}/META-INF">
+            <fileset dir="${basedir}/META-INF/">
+                <include name="**/*.xml"/>
+                <exclude name="build.xml"/>
+            </fileset>
+        </copy>
 
-		<mkdir dir="${jar.dir}"/>
-		<jar jarfile="${jar.dir}/serviceModule.jar" basedir="${build.classes}" >
-			<include name="**" />
-		</jar>
-		<delete dir="${build}"/>
-	</target>
+        <mkdir dir="${jar.dir}"/>
+        <jar jarfile="${jar.dir}/serviceModule.jar" basedir="${build.classes}">
+            <include name="**"/>
+        </jar>
+        <delete dir="${build}"/>
+    </target>
 
-	<target name="init">
-		<uptodate property="jars.uptodate" targetfile="${jar.dir}/serviceModule.jar">
-			<srcfiles dir="${src}">
-				<include name="**/*.java"/>
-				<include name="**/*.xml"/>
-				<include name="**/*.wsdl"/>
-				<exclude name="${build}/**"/>
-			</srcfiles>
-		</uptodate>
-		<echo message="the files are up to date = ${jars.uptodate}"></echo>
-	</target>
+    <target name="init">
+        <uptodate property="jars.uptodate" targetfile="${jar.dir}/serviceModule.jar">
+            <srcfiles dir="${src}">
+                <include name="**/*.java"/>
+                <include name="**/*.xml"/>
+                <include name="**/*.wsdl"/>
+                <exclude name="${build}/**"/>
+            </srcfiles>
+        </uptodate>
+        <echo message="the files are up to date = ${jars.uptodate}"></echo>
+    </target>
 
 </project>

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/AbstractTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/AbstractTestCase.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/AbstractTestCase.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/AbstractTestCase.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2;
 
 import junit.framework.TestCase;
@@ -29,7 +29,7 @@
     protected String sampleDir = "samples" + File.separator;
     protected String outDir = "target" + File.separator + "generated" + File.separator + "samples" + File.separator;
     protected String tempDir = "target" + File.separator + "generated" + File.separator + "temp";
-    protected String testResourceDir =  "test-resources";
+    protected String testResourceDir = "test-resources";
 
 
     /**

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/AnyContentTypeTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/AnyContentTypeTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/AnyContentTypeTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/AnyContentTypeTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.addressing;
 
 import junit.framework.TestCase;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.addressing;
 
 import junit.framework.TestCase;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/miheaders/RelatesToTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/miheaders/RelatesToTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/miheaders/RelatesToTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/miheaders/RelatesToTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.addressing.miheaders;
 
 import junit.framework.TestCase;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java Mon Jul 11 08:49:30 2005
@@ -27,9 +27,9 @@
 
 /**
  * @author srinath
- *
- * To change the template for this generated type comment go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
+ *         <p/>
+ *         To change the template for this generated type comment go to
+ *         Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
  */
 public class ContextHierarchyTest extends TestCase {
     private OperationDescription operationDescription;
@@ -50,16 +50,14 @@
 
     public void testCompleteHiracy() throws AxisFault {
         ConfigurationContext configurationContext =
-            new ConfigurationContext(axisConfiguration);
+                new ConfigurationContext(axisConfiguration);
         ServiceContext serviceCOntext =
-            configurationContext.createServiceContext(
-                serviceDescription.getName());
+                configurationContext.createServiceContext(serviceDescription.getName());
         MessageContext msgctx =
-            new MessageContext(configurationContext);
+                new MessageContext(configurationContext);
         OperationContext opContext =
-            operationDescription.findOperationContext(
-                msgctx,
-                serviceCOntext);
+                operationDescription.findOperationContext(msgctx,
+                                                          serviceCOntext);
         msgctx.setServiceContext(serviceCOntext);
 
         //test the complte Hisracy built
@@ -86,10 +84,10 @@
 
     public void testDisconntectedHiracy() throws AxisFault {
         ConfigurationContext configurationContext =
-            new ConfigurationContext(axisConfiguration);
-  
+                new ConfigurationContext(axisConfiguration);
+
         MessageContext msgctx =
-            new MessageContext(configurationContext);
+                new MessageContext(configurationContext);
   
         //test the complte Hisracy built
         assertEquals(msgctx.getParent(), null);

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/OperationContextTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/OperationContextTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/OperationContextTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/OperationContextTest.java Mon Jul 11 08:49:30 2005
@@ -28,36 +28,35 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public class OperationContextTest extends AbstractTestCase {
 
-	private ConfigurationContext engineCtx = new ConfigurationContext(null);
+    private ConfigurationContext engineCtx = new ConfigurationContext(null);
 
     public OperationContextTest(String arg0) {
         super(arg0);
     }
-    
-    public void testMEPfindingOnRelatesTO() throws Exception{
-    	 
-    	ServiceContext sessionContext = new ServiceContext(new ServiceDescription(),new ConfigurationContext(null));
-		MessageContext messageContext1 = this.getBasicMessageContext();
-    	
-    	messageContext1.setMessageID(new Long(System.currentTimeMillis()).toString());
-    	OperationDescription axisOperation = new OperationDescription(new QName("test"));
-    	OperationContext operationContext1 = axisOperation.findOperationContext(messageContext1, sessionContext);
-    	
-    	MessageContext messageContext2 = this.getBasicMessageContext();
-    	messageContext2.setMessageID(new Long(System.currentTimeMillis()).toString());
-    	messageContext2.getMessageInformationHeaders().setRelatesTo(new RelatesTo(messageContext1.getMessageID()));
-    	OperationContext operationContext2 = axisOperation.findOperationContext(messageContext2, sessionContext);
-    	assertEquals(operationContext1, operationContext2);
+
+    public void testMEPfindingOnRelatesTO() throws Exception {
+
+        ServiceContext sessionContext = new ServiceContext(new ServiceDescription(), new ConfigurationContext(null));
+        MessageContext messageContext1 = this.getBasicMessageContext();
+
+        messageContext1.setMessageID(new Long(System.currentTimeMillis()).toString());
+        OperationDescription axisOperation = new OperationDescription(new QName("test"));
+        OperationContext operationContext1 = axisOperation.findOperationContext(messageContext1, sessionContext);
+
+        MessageContext messageContext2 = this.getBasicMessageContext();
+        messageContext2.setMessageID(new Long(System.currentTimeMillis()).toString());
+        messageContext2.getMessageInformationHeaders().setRelatesTo(new RelatesTo(messageContext1.getMessageID()));
+        OperationContext operationContext2 = axisOperation.findOperationContext(messageContext2, sessionContext);
+        assertEquals(operationContext1, operationContext2);
     }
-    
-    public MessageContext getBasicMessageContext() throws AxisFault{
 
-    	return new MessageContext(engineCtx,new TransportInDescription(new QName("axis")), new TransportOutDescription(new QName("axis")));
+    public MessageContext getBasicMessageContext() throws AxisFault {
+
+        return new MessageContext(engineCtx, new TransportInDescription(new QName("axis")), new TransportOutDescription(new QName("axis")));
 
     }
-    
+
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadModuleTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadModuleTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadModuleTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadModuleTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.deployment;
 
 import org.apache.axis2.AbstractTestCase;
@@ -36,7 +36,7 @@
             InputStream in = new FileInputStream(getTestResourceFile("deployment/Badmodule.xml"));
             DeploymentParser parser = new DeploymentParser(in, null);
             AxisConfigurationImpl glabl = new AxisConfigurationImpl();
-            parser.processGlobalConfig(glabl,DeploymentConstants.AXIS2CONFIG);
+            parser.processGlobalConfig(glabl, DeploymentConstants.AXIS2CONFIG);
             fail("this must failed gracefully with DeploymentException or FileNotFoundException");
         } catch (FileNotFoundException e) {
             return;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadServerXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadServerXMLTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadServerXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadServerXMLTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.deployment;
 
 import org.apache.axis2.AbstractTestCase;
@@ -36,7 +36,7 @@
             InputStream in = new FileInputStream(getTestResourceFile("deployment/BadServer.xml"));
             DeploymentParser parser = new DeploymentParser(in, null);
             AxisConfigurationImpl glabl = new AxisConfigurationImpl();
-            parser.processGlobalConfig(glabl,DeploymentConstants.AXIS2CONFIG);
+            parser.processGlobalConfig(glabl, DeploymentConstants.AXIS2CONFIG);
             fail("this must failed gracefully with DeploymentException or FileNotFoundException");
         } catch (FileNotFoundException e) {
             return;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadServiceXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadServiceXMLTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadServiceXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BadServiceXMLTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.deployment;
 
 import org.apache.axis2.AbstractTestCase;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BuildERWithDeploymentTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BuildERWithDeploymentTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BuildERWithDeploymentTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BuildERWithDeploymentTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.deployment;
 
 import org.apache.axis2.AbstractTestCase;
@@ -49,15 +49,15 @@
         assertNotNull(cl);
         Class.forName("Echo2", true, cl);
         assertNotNull(service.getName());
-       //no style for the service 
-     //   assertEquals(service.getStyle(),"rpc");
+        //no style for the service
+        //   assertEquals(service.getStyle(),"rpc");
 
         Flow flow = service.getFaultInFlow();
         assertTrue(flow.getHandlerCount() > 0);
         flow = service.getInFlow();
         assertTrue(flow.getHandlerCount() > 0);
         flow = service.getOutFlow();
-        assertTrue( flow.getHandlerCount() > 0);
+        assertTrue(flow.getHandlerCount() > 0);
         assertNotNull(service.getParameter("para2"));
 
         OperationDescription op = service.getOperation(new QName("opname"));

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BuildWithAddressingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BuildWithAddressingTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BuildWithAddressingTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/BuildWithAddressingTest.java Mon Jul 11 08:49:30 2005
@@ -31,27 +31,27 @@
         super(testName);
     }
 
-    public void testDeployment()  {
+    public void testDeployment() {
         //todo this test has to be complete   Deepal once addressing module finalize
-       /* String filename = "./target/test-resources/deployment";
-        ConfigurationContextFactory builder = new ConfigurationContextFactory();
-        ConfigurationContext er = builder.buildConfigurationContext(filename);
-        ArrayList phases = er.getPhases(AxisConfiguration.INFLOW);
-        ModuleDescription modeule = er.getEngineConfig().getModule(new QName("addressing"));
-        assertNotNull(modeule);
-        if (phases.size() <= 0) {
-            fail("this must failed Since there are addressing handlers ");
-        }
-        for (int i = 0; i < phases.size(); i++) {
-            Phase metadata = (Phase) phases.get(i);
-            if ("pre-dispatch".equals(metadata.getPhaseName())) {
-                if (metadata.getHandlerCount() <= 0) {
-                    fail("this must failed Since there are addressing handlers ");
-                } else {
-                    System.out.println("Found pre-dispatch handlers");
-                }
-            }
-        }*/
+        /* String filename = "./target/test-resources/deployment";
+         ConfigurationContextFactory builder = new ConfigurationContextFactory();
+         ConfigurationContext er = builder.buildConfigurationContext(filename);
+         ArrayList phases = er.getPhases(AxisConfiguration.INFLOW);
+         ModuleDescription modeule = er.getEngineConfig().getModule(new QName("addressing"));
+         assertNotNull(modeule);
+         if (phases.size() <= 0) {
+             fail("this must failed Since there are addressing handlers ");
+         }
+         for (int i = 0; i < phases.size(); i++) {
+             Phase metadata = (Phase) phases.get(i);
+             if ("pre-dispatch".equals(metadata.getPhaseName())) {
+                 if (metadata.getHandlerCount() <= 0) {
+                     fail("this must failed Since there are addressing handlers ");
+                 } else {
+                     System.out.println("Found pre-dispatch handlers");
+                 }
+             }
+         }*/
 
     }
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/InvalidServiceTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/InvalidServiceTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/InvalidServiceTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/InvalidServiceTest.java Mon Jul 11 08:49:30 2005
@@ -42,7 +42,7 @@
             String msg = (String) er.getFaulytServices().get("invalidService");
             if (msg == null || msg.equals("")) {
                 fail("this must failed gracefully with AxisFault ervice specifi module can not" +
-                        "refer system pre defined phases");
+                     "refer system pre defined phases");
             }
         } catch (DeploymentException e) {
             return;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/ModifiedConfigFileTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/ModifiedConfigFileTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/ModifiedConfigFileTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/ModifiedConfigFileTest.java Mon Jul 11 08:49:30 2005
@@ -31,15 +31,15 @@
 
     AxisConfiguration er;
 
-    public void testPhaseOrderchage(){
+    public void testPhaseOrderchage() {
         try {
             String filename = "./test-resources/deployment/BadConfigOrderChange";
             ConfigurationContextFactory builder = new ConfigurationContextFactory();
             er = builder.buildConfigurationContext(filename).getAxisConfiguration();
             fail("this must failed gracefully with DeploymentException \"Invalid System predefined " +
-                    "inphases , phase order dose not\" +\n support\\n recheck axis2.xml\"");
+                 "inphases , phase order dose not\" +\n support\\n recheck axis2.xml\"");
         } catch (DeploymentException e) {
-            
+
         }
     }
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SpeakingHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SpeakingHandler.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SpeakingHandler.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SpeakingHandler.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.deployment;
 
 import org.apache.axis2.context.MessageContext;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SystemPhasesremovedTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SystemPhasesremovedTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SystemPhasesremovedTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SystemPhasesremovedTest.java Mon Jul 11 08:49:30 2005
@@ -27,20 +27,20 @@
  * Date: May 14, 2005
  * Time: 3:30:53 PM
  */
-public class SystemPhasesremovedTest extends TestCase{
+public class SystemPhasesremovedTest extends TestCase {
 
     AxisConfiguration er;
 
-        public void testPhaseOrderchage() {
-            try {
-                String filename = "./test-resources/deployment/SystemPhaseRemove";
-                ConfigurationContextFactory builder = new ConfigurationContextFactory();
-                er = builder.buildConfigurationContext(filename).getAxisConfiguration();
-                fail("this must failed gracefully with DeploymentException \"Invalid System predefined " +
-                        "inphases , phase order dose not\" +\n support\\n recheck axis2.xml\"");
-            } catch (DeploymentException e) {
-                e.printStackTrace();
-            }
+    public void testPhaseOrderchage() {
+        try {
+            String filename = "./test-resources/deployment/SystemPhaseRemove";
+            ConfigurationContextFactory builder = new ConfigurationContextFactory();
+            er = builder.buildConfigurationContext(filename).getAxisConfiguration();
+            fail("this must failed gracefully with DeploymentException \"Invalid System predefined " +
+                 "inphases , phase order dose not\" +\n support\\n recheck axis2.xml\"");
+        } catch (DeploymentException e) {
+            e.printStackTrace();
         }
+    }
 
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/TransportDeploymentTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/TransportDeploymentTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/TransportDeploymentTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/TransportDeploymentTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.deployment;
 
 import org.apache.axis2.AbstractTestCase;
@@ -40,9 +40,9 @@
         AxisConfiguration er = engine.getAxisConfig();
         TransportInDescription transport = er.getTransportIn(new QName("http"));
         assertNotNull(transport);
-      //  assertNotNull(transport.getInFlow());
+        //  assertNotNull(transport.getInFlow());
         TransportOutDescription transport1 = er.getTransportOut(new QName("http"));
         assertNotNull(transport1);
-      //  assertNotNull(transport1.getOutFlow());
+        //  assertNotNull(transport1.getOutFlow());
     }
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/MockFlow.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/MockFlow.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/MockFlow.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/MockFlow.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.description;
 
 import org.apache.axis2.phaseresolver.PhaseMetadata;
@@ -25,7 +25,7 @@
         super();
         for (int i = 0; i < length; i++) {
             SpeakingHandler1 h1 = new SpeakingHandler1("Executing " + i + " inside " + message);
-            Utils.addHandler(this, h1,PhaseMetadata.PHASE_POLICY_DETERMINATION);
+            Utils.addHandler(this, h1, PhaseMetadata.PHASE_POLICY_DETERMINATION);
         }
     }
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/RegistryTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/RegistryTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/RegistryTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/RegistryTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.description;
 
 import org.apache.axis2.AbstractTestCase;
@@ -35,23 +35,23 @@
 
     public void testRegistry() throws Exception {
         //TODO fix me Srinath
-      /*  GlobalDescription ag = new GlobalDescription();
-        testParameteInClude(ag);
-        reg = new AxisSystemImpl(ag);
-
-        QName moduleName = new QName("module1");
-        ModuleDescription modlue = new ModuleDescription(moduleName);
-        reg.addMdoule(modlue);
-
-        QName serviceName = new QName("service");
-        ServiceDescription service = new ServiceDescription(serviceName);
-        reg.addService(service);
-
-        assertSame(modlue, reg.getModule(moduleName));
-        assertSame(service, reg.getService(serviceName));
-        reg.removeService(serviceName);
-        assertSame(ag, reg.getGlobal());
-        assertNull(reg.getService(serviceName));*/
+        /*  GlobalDescription ag = new GlobalDescription();
+          testParameteInClude(ag);
+          reg = new AxisSystemImpl(ag);
+
+          QName moduleName = new QName("module1");
+          ModuleDescription modlue = new ModuleDescription(moduleName);
+          reg.addMdoule(modlue);
+
+          QName serviceName = new QName("service");
+          ServiceDescription service = new ServiceDescription(serviceName);
+          reg.addService(service);
+
+          assertSame(modlue, reg.getModule(moduleName));
+          assertSame(service, reg.getService(serviceName));
+          reg.removeService(serviceName);
+          assertSame(ag, reg.getGlobal());
+          assertNull(reg.getService(serviceName));*/
 
     }
 
@@ -100,7 +100,6 @@
         assertSame(flow3, flowInclude.getOutFlow());
     }
 
- 
 
     public void testHandlers() throws AxisFault {
         Handler handler = new AbstractHandler() {

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.description;
 
 import org.apache.axis2.context.MessageContext;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler1.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler1.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler1.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler1.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.description;
 
 import org.apache.axis2.context.MessageContext;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingProvider.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingProvider.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingProvider.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingProvider.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.description;
 
 import org.apache.axis2.context.MessageContext;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/AbstractEngineTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/AbstractEngineTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/AbstractEngineTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/AbstractEngineTest.java Mon Jul 11 08:49:30 2005
@@ -56,11 +56,10 @@
 
     public class NullMessageReceiver extends AbstractInOutSyncMessageReceiver {
 
-        public void invokeBusinessLogic(
-            MessageContext inMessage,
-            MessageContext outMessage)
-            throws AxisFault {
-            
+        public void invokeBusinessLogic(MessageContext inMessage,
+                                        MessageContext outMessage)
+                throws AxisFault {
+
         }
     }
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java Mon Jul 11 08:49:30 2005
@@ -124,8 +124,7 @@
     }
 
     public void testReceive() throws Exception {
-        mc.setTo(
-            new EndpointReference(AddressingConstants.WSA_TO, "axis/services/NullService/DummyOp"));
+        mc.setTo(new EndpointReference(AddressingConstants.WSA_TO, "axis/services/NullService/DummyOp"));
         AxisEngine engine = new AxisEngine(engineContext);
         engine.receive(mc);
         assertEquals(executedHandlers.size(), 14);
@@ -161,7 +160,7 @@
             if (pause && msgContext.getProperty(paused) == null) {
                 msgContext.setProperty(paused, "true");
                 msgContext.setPausedTrue(getName());
-            }else{
+            } else {
                 executedHandlers.add(index);
             }
         }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java Mon Jul 11 08:49:30 2005
@@ -78,9 +78,9 @@
 
         mc =
                 new MessageContext(engineContext,
-                        transportIn,
-                        transport);
-                        
+                                   transportIn,
+                                   transport);
+
         mc.setOperationContext(OperationContextFactory.createMEPContext(WSDLConstants.MEP_CONSTANT_IN_OUT, axisOp, serviceContext));
         mc.setTransportOut(transport);
         mc.setProperty(MessageContext.TRANSPORT_OUT, System.out);

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextEnabledEcho.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextEnabledEcho.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextEnabledEcho.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextEnabledEcho.java Mon Jul 11 08:49:30 2005
@@ -25,6 +25,7 @@
 
 public class MessageContextEnabledEcho {
     private MessageContext msgcts;
+
     public MessageContextEnabledEcho() {
     }
 
@@ -34,9 +35,9 @@
     }
 
     public OMElement echoOMElement(OMElement omEle) throws AxisFault {
-        if(msgcts != null){
+        if (msgcts != null) {
             System.out.println("MessageContext injected");
-        }else{
+        } else {
             throw new AxisFault("Message Context not injected");
         }
         return null;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextInjectionTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextInjectionTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextInjectionTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextInjectionTest.java Mon Jul 11 08:49:30 2005
@@ -46,8 +46,7 @@
 
 public class MessageContextInjectionTest extends TestCase {
     private EndpointReference targetEPR =
-        new EndpointReference(
-            AddressingConstants.WSA_TO,"/axis/services/EchoXMLService/echoOMElement");
+            new EndpointReference(AddressingConstants.WSA_TO, "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());
     private QName serviceName = new QName("EchoXMLService");
     private QName operationName = new QName("echoOMElement");
@@ -107,7 +106,7 @@
         sender.setSenderTransport(Constants.TRANSPORT_LOCAL);
         sender.setSoapVersionURI(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
         sender.send(operationName.getLocalPart(), payload);
-        
+
     }
 
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/ModuleEngageTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/ModuleEngageTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/ModuleEngageTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/ModuleEngageTest.java Mon Jul 11 08:49:30 2005
@@ -34,7 +34,7 @@
  * Date: Jun 21, 2005
  * Time: 2:09:04 PM
  */
-public class ModuleEngageTest extends TestCase{
+public class ModuleEngageTest extends TestCase {
     AxisConfiguration ac;
 
     public void testModuleEngageMent() throws PhaseException, DeploymentException, AxisFault, XMLStreamException {

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/misc/MiscTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/misc/MiscTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/misc/MiscTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/misc/MiscTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.misc;
 
 import org.apache.axis2.AbstractTestCase;
@@ -38,8 +38,6 @@
         sc.setProperty(key, val);
         assertEquals(sc.getProperty(key), val);
     }
-
-
 
 
     public void testAxisFault() {

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeAfterTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeAfterTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeAfterTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeAfterTest.java Mon Jul 11 08:49:30 2005
@@ -110,20 +110,20 @@
             }
 
             Handler handler = (Handler) handlers.get(0);
-            if(!handler.getName().equals(new QName("First"))){
+            if (!handler.getName().equals(new QName("First"))) {
                 fail("Computed Hnadler order is wrong ");
             }
             handler = (Handler) handlers.get(1);
-            if(!handler.getName().equals(new QName("Third"))){
+            if (!handler.getName().equals(new QName("Third"))) {
                 fail("Computed Hnadler order is wrong ");
             }
             handler = (Handler) handlers.get(2);
-            if(!handler.getName().equals(new QName("Second"))){
+            if (!handler.getName().equals(new QName("Second"))) {
                 fail("Computed Hnadler order is wrong ");
             }
 
             handler = (Handler) handlers.get(3);
-            if(!handler.getName().equals(new QName("Forth"))){
+            if (!handler.getName().equals(new QName("Forth"))) {
                 fail("Computed Hnadler order is wrong ");
             }
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeTest.java Mon Jul 11 08:49:30 2005
@@ -37,9 +37,9 @@
  * Date: May 20, 2005
  * Time: 3:00:54 PM
  */
-public class BeforeTest extends TestCase{
+public class BeforeTest extends TestCase {
 
-     public void testBefore() throws AxisFault {
+    public void testBefore() throws AxisFault {
         ArrayList phases = new ArrayList();
         Phase p1 = new Phase("PhaseA");
         phases.add(p1);
@@ -76,11 +76,11 @@
 
         ArrayList handlers = p1.getHandlers();
         Handler handler = (Handler) handlers.get(0);
-        if(!handler.getName().equals(new QName("Second"))){
+        if (!handler.getName().equals(new QName("Second"))) {
             fail("Computed Hnadler order is wrong ");
         }
         handler = (Handler) handlers.get(1);
-        if(!handler.getName().equals(new QName("First"))){
+        if (!handler.getName().equals(new QName("First"))) {
             fail("Computed Hnadler order is wrong ");
         }
         p1.invoke(msg);

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeWithNoFirstHandlerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeWithNoFirstHandlerTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeWithNoFirstHandlerTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeWithNoFirstHandlerTest.java Mon Jul 11 08:49:30 2005
@@ -37,7 +37,7 @@
  * Date: May 20, 2005
  * Time: 3:04:42 PM
  */
-public class BeforeWithNoFirstHandlerTest extends TestCase{
+public class BeforeWithNoFirstHandlerTest extends TestCase {
     public void testBeforewithNoFirst() throws AxisFault {
         ArrayList phases = new ArrayList();
         Phase p1 = new Phase("PhaseA");
@@ -77,11 +77,11 @@
 
         ArrayList handlers = p1.getHandlers();
         Handler handler = (Handler) handlers.get(0);
-        if(!handler.getName().equals(new QName("Second"))){
+        if (!handler.getName().equals(new QName("Second"))) {
             fail("Computed Hnadler order is wrong ");
         }
         handler = (Handler) handlers.get(1);
-        if(!handler.getName().equals(new QName("First"))){
+        if (!handler.getName().equals(new QName("First"))) {
             fail("Computed Hnadler order is wrong ");
         }
         p1.invoke(msg);

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java Mon Jul 11 08:49:30 2005
@@ -37,48 +37,48 @@
  * Date: May 20, 2005
  * Time: 2:43:27 PM
  */
-public class InvalidPhaseFirstRulesTest extends TestCase{
+public class InvalidPhaseFirstRulesTest extends TestCase {
 
-     public void testInvalidPhaseFirst1() {
-         try {
-             ArrayList phases = new ArrayList();
-             Phase p1 = new Phase("PhaseA");
-             phases.add(p1);
-             Phase p2 = new Phase("PhaseB");
-             phases.add(p2);
+    public void testInvalidPhaseFirst1() {
+        try {
+            ArrayList phases = new ArrayList();
+            Phase p1 = new Phase("PhaseA");
+            phases.add(p1);
+            Phase p2 = new Phase("PhaseB");
+            phases.add(p2);
 
-             MessageContext msg = new MessageContext(new ConfigurationContext(new AxisConfigurationImpl()));
+            MessageContext msg = new MessageContext(new ConfigurationContext(new AxisConfigurationImpl()));
 
-             PhaseHolder ph = new PhaseHolder(phases);
-             HandlerDescription hm = new HandlerDescription();
-             hm.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
-             Handler h1 = new PhaseRuleHandlers();
-             h1.init(hm);
-             ((PhaseRuleHandlers) h1).setName(new QName("PhaseFirstHnadler"));
-             hm.setHandler(h1);
-             hm.setName(new QName("H1"));
-             PhaseRule rule = new PhaseRule();
-             rule.setPhaseName("PhaseA");
-             rule.setPhaseFirst(true);
-             rule.setBefore("H2");
-             hm.setRules(rule);
-             ph.addHandler(hm);
+            PhaseHolder ph = new PhaseHolder(phases);
+            HandlerDescription hm = new HandlerDescription();
+            hm.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
+            Handler h1 = new PhaseRuleHandlers();
+            h1.init(hm);
+            ((PhaseRuleHandlers) h1).setName(new QName("PhaseFirstHnadler"));
+            hm.setHandler(h1);
+            hm.setName(new QName("H1"));
+            PhaseRule rule = new PhaseRule();
+            rule.setPhaseName("PhaseA");
+            rule.setPhaseFirst(true);
+            rule.setBefore("H2");
+            hm.setRules(rule);
+            ph.addHandler(hm);
 
-             HandlerDescription hm1 = new HandlerDescription();
-             hm1.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
-             Handler h2 = new PhaseRuleHandlers();
-             ((PhaseRuleHandlers) h2).setName(new QName("Second Handler"));
-             h2.init(hm1);
-             hm1.setHandler(h2);
-             hm1.setName(new QName("H2"));
-             PhaseRule rule1 = new PhaseRule();
-             rule1.setPhaseName("PhaseA");
-             hm1.setRules(rule1);
-             ph.addHandler(hm1);
-             fail("Handler with PhaseFirst can not have any before or after proprty error in ");
-         } catch (AxisFault axisFault) {
-             return;
-         }
+            HandlerDescription hm1 = new HandlerDescription();
+            hm1.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
+            Handler h2 = new PhaseRuleHandlers();
+            ((PhaseRuleHandlers) h2).setName(new QName("Second Handler"));
+            h2.init(hm1);
+            hm1.setHandler(h2);
+            hm1.setName(new QName("H2"));
+            PhaseRule rule1 = new PhaseRule();
+            rule1.setPhaseName("PhaseA");
+            hm1.setRules(rule1);
+            ph.addHandler(hm1);
+            fail("Handler with PhaseFirst can not have any before or after proprty error in ");
+        } catch (AxisFault axisFault) {
+            return;
+        }
 
-     }
+    }
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstTest.java Mon Jul 11 08:49:30 2005
@@ -37,49 +37,49 @@
  * Date: May 20, 2005
  * Time: 2:40:30 PM
  */
-public class InvalidPhaseFirstTest extends TestCase{
+public class InvalidPhaseFirstTest extends TestCase {
 
-     public void testInvalidPhaseFirst1()  {
-         try {
-             ArrayList phases = new ArrayList();
-             Phase p1 = new Phase("PhaseA");
-             phases.add(p1);
-             Phase p2 = new Phase("PhaseB");
-             phases.add(p2);
+    public void testInvalidPhaseFirst1() {
+        try {
+            ArrayList phases = new ArrayList();
+            Phase p1 = new Phase("PhaseA");
+            phases.add(p1);
+            Phase p2 = new Phase("PhaseB");
+            phases.add(p2);
 
-             MessageContext msg = new MessageContext(new ConfigurationContext(new AxisConfigurationImpl()));
+            MessageContext msg = new MessageContext(new ConfigurationContext(new AxisConfigurationImpl()));
 
-             PhaseHolder ph = new PhaseHolder(phases);
-             HandlerDescription hm = new HandlerDescription();
-             hm.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
-             Handler h1 = new PhaseRuleHandlers();
-             h1.init(hm);
-             ((PhaseRuleHandlers) h1).setName(new QName("PhaseFirstHnadler"));
-             hm.setHandler(h1);
-             hm.setName(new QName("H1"));
-             PhaseRule rule = new PhaseRule();
-             rule.setPhaseName("PhaseA");
-             rule.setPhaseFirst(true);
-             hm.setRules(rule);
-             ph.addHandler(hm);
+            PhaseHolder ph = new PhaseHolder(phases);
+            HandlerDescription hm = new HandlerDescription();
+            hm.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
+            Handler h1 = new PhaseRuleHandlers();
+            h1.init(hm);
+            ((PhaseRuleHandlers) h1).setName(new QName("PhaseFirstHnadler"));
+            hm.setHandler(h1);
+            hm.setName(new QName("H1"));
+            PhaseRule rule = new PhaseRule();
+            rule.setPhaseName("PhaseA");
+            rule.setPhaseFirst(true);
+            hm.setRules(rule);
+            ph.addHandler(hm);
 
-             HandlerDescription hm1 = new HandlerDescription();
-             hm1.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
-             Handler h2 = new PhaseRuleHandlers();
-             ((PhaseRuleHandlers) h2).setName(new QName("Second Handler"));
-             h2.init(hm1);
-             hm1.setHandler(h2);
-             hm1.setName(new QName("H2"));
-             PhaseRule rule1 = new PhaseRule();
-             rule1.setPhaseName("PhaseA");
-             rule1.setPhaseFirst(true);
-             hm1.setRules(rule1);
-             ph.addHandler(hm1);
-             fail("This should be faild with PhaseFirst alredy has been set, cannot have two " +
-                     "phaseFirst Handler for same phase ");
-         } catch (AxisFault axisFault) {
-             return;
-         }
+            HandlerDescription hm1 = new HandlerDescription();
+            hm1.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
+            Handler h2 = new PhaseRuleHandlers();
+            ((PhaseRuleHandlers) h2).setName(new QName("Second Handler"));
+            h2.init(hm1);
+            hm1.setHandler(h2);
+            hm1.setName(new QName("H2"));
+            PhaseRule rule1 = new PhaseRule();
+            rule1.setPhaseName("PhaseA");
+            rule1.setPhaseFirst(true);
+            hm1.setRules(rule1);
+            ph.addHandler(hm1);
+            fail("This should be faild with PhaseFirst alredy has been set, cannot have two " +
+                 "phaseFirst Handler for same phase ");
+        } catch (AxisFault axisFault) {
+            return;
+        }
 
-     }
+    }
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseLastRuleTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseLastRuleTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseLastRuleTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseLastRuleTest.java Mon Jul 11 08:49:30 2005
@@ -37,48 +37,48 @@
  * Date: May 20, 2005
  * Time: 2:54:50 PM
  */
-public class InvalidPhaseLastRuleTest extends TestCase{
+public class InvalidPhaseLastRuleTest extends TestCase {
 
-     public void testInvalidPhaseLast() {
-         try {
-             ArrayList phases = new ArrayList();
-             Phase p1 = new Phase("PhaseA");
-             phases.add(p1);
-             Phase p2 = new Phase("PhaseB");
-             phases.add(p2);
+    public void testInvalidPhaseLast() {
+        try {
+            ArrayList phases = new ArrayList();
+            Phase p1 = new Phase("PhaseA");
+            phases.add(p1);
+            Phase p2 = new Phase("PhaseB");
+            phases.add(p2);
 
-             MessageContext msg = new MessageContext(new ConfigurationContext(new AxisConfigurationImpl()));
+            MessageContext msg = new MessageContext(new ConfigurationContext(new AxisConfigurationImpl()));
 
-             PhaseHolder ph = new PhaseHolder(phases);
-             HandlerDescription hm = new HandlerDescription();
-             hm.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
-             Handler h1 = new PhaseRuleHandlers();
-             h1.init(hm);
-             ((PhaseRuleHandlers) h1).setName(new QName("PhaseFirstHnadler"));
-             hm.setHandler(h1);
-             hm.setName(new QName("H1"));
-             PhaseRule rule = new PhaseRule();
-             rule.setPhaseName("PhaseA");
-             rule.setPhaseLast(true);
-             rule.setBefore("H2");
-             hm.setRules(rule);
-             ph.addHandler(hm);
+            PhaseHolder ph = new PhaseHolder(phases);
+            HandlerDescription hm = new HandlerDescription();
+            hm.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
+            Handler h1 = new PhaseRuleHandlers();
+            h1.init(hm);
+            ((PhaseRuleHandlers) h1).setName(new QName("PhaseFirstHnadler"));
+            hm.setHandler(h1);
+            hm.setName(new QName("H1"));
+            PhaseRule rule = new PhaseRule();
+            rule.setPhaseName("PhaseA");
+            rule.setPhaseLast(true);
+            rule.setBefore("H2");
+            hm.setRules(rule);
+            ph.addHandler(hm);
 
-             HandlerDescription hm1 = new HandlerDescription();
-             hm1.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
-             Handler h2 = new PhaseRuleHandlers();
-             ((PhaseRuleHandlers) h2).setName(new QName("Second Handler"));
-             h2.init(hm1);
-             hm1.setHandler(h2);
-             hm1.setName(new QName("H2"));
-             PhaseRule rule1 = new PhaseRule();
-             rule1.setPhaseName("PhaseA");
-             hm1.setRules(rule1);
-             ph.addHandler(hm1);
-             fail("Handler with PhaseFirst can not have any before or after proprty error in ");
-         } catch (AxisFault axisFault) {
-             return;
-         }
+            HandlerDescription hm1 = new HandlerDescription();
+            hm1.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
+            Handler h2 = new PhaseRuleHandlers();
+            ((PhaseRuleHandlers) h2).setName(new QName("Second Handler"));
+            h2.init(hm1);
+            hm1.setHandler(h2);
+            hm1.setName(new QName("H2"));
+            PhaseRule rule1 = new PhaseRule();
+            rule1.setPhaseName("PhaseA");
+            hm1.setRules(rule1);
+            ph.addHandler(hm1);
+            fail("Handler with PhaseFirst can not have any before or after proprty error in ");
+        } catch (AxisFault axisFault) {
+            return;
+        }
 
-     }
+    }
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaselastTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaselastTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaselastTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaselastTest.java Mon Jul 11 08:49:30 2005
@@ -37,49 +37,49 @@
  * Date: May 20, 2005
  * Time: 2:53:05 PM
  */
-public class InvalidPhaselastTest extends TestCase{
+public class InvalidPhaselastTest extends TestCase {
 
-     public void testInvalidPhaseLast()  {
-         try {
-             ArrayList phases = new ArrayList();
-             Phase p1 = new Phase("PhaseA");
-             phases.add(p1);
-             Phase p2 = new Phase("PhaseB");
-             phases.add(p2);
+    public void testInvalidPhaseLast() {
+        try {
+            ArrayList phases = new ArrayList();
+            Phase p1 = new Phase("PhaseA");
+            phases.add(p1);
+            Phase p2 = new Phase("PhaseB");
+            phases.add(p2);
 
-             MessageContext msg = new MessageContext(new ConfigurationContext(new AxisConfigurationImpl()));
+            MessageContext msg = new MessageContext(new ConfigurationContext(new AxisConfigurationImpl()));
 
-             PhaseHolder ph = new PhaseHolder(phases);
-             HandlerDescription hm = new HandlerDescription();
-             hm.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
-             Handler h1 = new PhaseRuleHandlers();
-             h1.init(hm);
-             ((PhaseRuleHandlers) h1).setName(new QName("PhaseLast"));
-             hm.setHandler(h1);
-             hm.setName(new QName("H1"));
-             PhaseRule rule = new PhaseRule();
-             rule.setPhaseName("PhaseA");
-             rule.setPhaseLast(true);
-             hm.setRules(rule);
-             ph.addHandler(hm);
+            PhaseHolder ph = new PhaseHolder(phases);
+            HandlerDescription hm = new HandlerDescription();
+            hm.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
+            Handler h1 = new PhaseRuleHandlers();
+            h1.init(hm);
+            ((PhaseRuleHandlers) h1).setName(new QName("PhaseLast"));
+            hm.setHandler(h1);
+            hm.setName(new QName("H1"));
+            PhaseRule rule = new PhaseRule();
+            rule.setPhaseName("PhaseA");
+            rule.setPhaseLast(true);
+            hm.setRules(rule);
+            ph.addHandler(hm);
 
-             HandlerDescription hm1 = new HandlerDescription();
-             hm1.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
-             Handler h2 = new PhaseRuleHandlers();
-             ((PhaseRuleHandlers) h2).setName(new QName("Second Handler"));
-             h2.init(hm1);
-             hm1.setHandler(h2);
-             hm1.setName(new QName("H2"));
-             PhaseRule rule1 = new PhaseRule();
-             rule1.setPhaseName("PhaseA");
-             rule1.setPhaseLast(true);
-             hm1.setRules(rule1);
-             ph.addHandler(hm1);
-             fail("This should be faild with Phaselast alredy has been set, cannot have two " +
-                     "phaseFirst Handler for same phase ");
-         } catch (AxisFault axisFault) {
-             return;
-         }
+            HandlerDescription hm1 = new HandlerDescription();
+            hm1.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers");
+            Handler h2 = new PhaseRuleHandlers();
+            ((PhaseRuleHandlers) h2).setName(new QName("Second Handler"));
+            h2.init(hm1);
+            hm1.setHandler(h2);
+            hm1.setName(new QName("H2"));
+            PhaseRule rule1 = new PhaseRule();
+            rule1.setPhaseName("PhaseA");
+            rule1.setPhaseLast(true);
+            hm1.setRules(rule1);
+            ph.addHandler(hm1);
+            fail("This should be faild with Phaselast alredy has been set, cannot have two " +
+                 "phaseFirst Handler for same phase ");
+        } catch (AxisFault axisFault) {
+            return;
+        }
 
-     }
+    }
 }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseFirstTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseFirstTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseFirstTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseFirstTest.java Mon Jul 11 08:49:30 2005
@@ -77,11 +77,11 @@
 
         ArrayList handlers = p1.getHandlers();
         Handler handler = (Handler) handlers.get(0);
-        if(!handler.getName().equals(new QName("PhaseFirstHnadler"))){
+        if (!handler.getName().equals(new QName("PhaseFirstHnadler"))) {
             fail("Computed Hnadler order is wrong ");
         }
         handler = (Handler) handlers.get(1);
-        if(!handler.getName().equals(new QName("Second Handler"))){
+        if (!handler.getName().equals(new QName("Second Handler"))) {
             fail("Computed Hnadler order is wrong ");
         }
         p1.invoke(msg);

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseLastTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseLastTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseLastTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseLastTest.java Mon Jul 11 08:49:30 2005
@@ -37,9 +37,9 @@
  * Date: May 20, 2005
  * Time: 2:50:44 PM
  */
-public class PhaseLastTest extends TestCase{
+public class PhaseLastTest extends TestCase {
 
-     public void testPhaseLast() throws AxisFault {
+    public void testPhaseLast() throws AxisFault {
         ArrayList phases = new ArrayList();
         Phase p1 = new Phase("PhaseA");
         phases.add(p1);
@@ -77,11 +77,11 @@
 
         ArrayList handlers = p1.getHandlers();
         Handler handler = (Handler) handlers.get(0);
-        if(!handler.getName().equals(new QName("Second Handler"))){
+        if (!handler.getName().equals(new QName("Second Handler"))) {
             fail("Computed Hnadler order is wrong ");
         }
         handler = (Handler) handlers.get(1);
-        if(!handler.getName().equals(new QName("PhaseLast"))){
+        if (!handler.getName().equals(new QName("PhaseLast"))) {
             fail("Computed Hnadler order is wrong ");
         }
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PreDispatchPhaseRuleTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PreDispatchPhaseRuleTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PreDispatchPhaseRuleTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PreDispatchPhaseRuleTest.java Mon Jul 11 08:49:30 2005
@@ -34,7 +34,7 @@
  * Date: May 10, 2005
  * Time: 4:28:27 PM
  */
-public class PreDispatchPhaseRuleTest  extends AbstractTestCase{
+public class PreDispatchPhaseRuleTest extends AbstractTestCase {
 
     PreDispatchPhaseRuleTest phaserul;
     AxisConfiguration axisSytem;
@@ -115,7 +115,7 @@
 
         HandlerDescription hm3 = new HandlerDescription();
         hm3.setClassName("org.apache.axis2.handlers.AbstractHandler");
-        Handler h6 =new PhaseRuleHandlers();
+        Handler h6 = new PhaseRuleHandlers();
         h6.init(hm3);
         hm3.setHandler(h6);
         hm3.setName(new QName("H4"));

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/SingleHandlerPhaseTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/SingleHandlerPhaseTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/SingleHandlerPhaseTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/SingleHandlerPhaseTest.java Mon Jul 11 08:49:30 2005
@@ -78,7 +78,7 @@
             ph.addHandler(hm1);
             p1.invoke(msg);
             fail("This should fail with : can only have one handler, since there is a " +
-                       "handler with both phaseFirst and PhaseLast true ");
+                 "handler with both phaseFirst and PhaseLast true ");
         } catch (AxisFault axisFault) {
             return;
         }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AbstractStorageTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AbstractStorageTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AbstractStorageTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AbstractStorageTest.java Mon Jul 11 08:49:30 2005
@@ -20,15 +20,16 @@
  *
  * 
  */
-public abstract class AbstractStorageTest extends TestCase{
+
+public abstract class AbstractStorageTest extends TestCase {
     protected AxisStorage storage;
-    protected Object testValueObject; 
+    protected Object testValueObject;
 
-    public void testPutAndGet(){
+    public void testPutAndGet() {
         try {
-            Object key  = storage.put(testValueObject);
-            assertEquals(testValueObject,storage.get(key));
-            assertEquals(testValueObject,storage.remove(key));
+            Object key = storage.put(testValueObject);
+            assertEquals(testValueObject, storage.get(key));
+            assertEquals(testValueObject, storage.remove(key));
             assertNull(storage.get(key));
         } catch (Exception e) {
             fail(e.getMessage());

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AxisFileStorageTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AxisFileStorageTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AxisFileStorageTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AxisFileStorageTest.java Mon Jul 11 08:49:30 2005
@@ -20,17 +20,17 @@
  *
  * 
  */
+
 public class AxisFileStorageTest extends AbstractStorageTest {
 
     protected void setUp() throws Exception {
         File file = new File("temp.properties");
         storage = new AxisFileStorage(file);
-        testValueObject = new TestBean("me",25);
+        testValueObject = new TestBean("me", 25);
     }
 
 
-
-    private class TestBean implements Serializable{
+    private class TestBean implements Serializable {
         private String name;
         private int age;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AxisMemoryStorageTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AxisMemoryStorageTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AxisMemoryStorageTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/storage/impl/AxisMemoryStorageTest.java Mon Jul 11 08:49:30 2005
@@ -18,7 +18,8 @@
  *
  * 
  */
-public class AxisMemoryStorageTest extends AbstractStorageTest{
+
+public class AxisMemoryStorageTest extends AbstractStorageTest {
 
     protected void setUp() throws Exception {
         storage = new AxisMemoryStorage();

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/HTTPTrasportHeaderParsingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/HTTPTrasportHeaderParsingTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/HTTPTrasportHeaderParsingTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/HTTPTrasportHeaderParsingTest.java Mon Jul 11 08:49:30 2005
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.axis2.transport;
 
 
@@ -51,9 +51,9 @@
         Map map = receiver.parseTheHeaders(reader, true);
         assertEquals(map.get(HTTPConstants.PROTOCOL_VERSION), "HTTP/1.0");
         assertEquals(map.get(HTTPConstants.REQUEST_URI),
-                "/axis2/services/echo");
+                     "/axis2/services/echo");
         assertEquals(map.get("Accept"),
-                "application/soap+xml, application/dime, multipart/related, text/*");
+                     "application/soap+xml, application/dime, multipart/related, text/*");
         assertEquals(map.get("User-Agent"), "Axis/1.2RC1");
         assertEquals(map.get("Host"), "127.0.0.1:8081");
         assertEquals(map.get("Cache-Control"), "no-cache");

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/SimpleMailListnerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/SimpleMailListnerTest.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/SimpleMailListnerTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/SimpleMailListnerTest.java Mon Jul 11 08:49:30 2005
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 package org.apache.axis2.transport;
+
 import junit.framework.TestCase;
 import org.apache.axis2.transport.mail.SimpleMailListener;
 
 public class SimpleMailListnerTest extends TestCase {
     private SimpleMailListener sas;
+
     public SimpleMailListnerTest(String testName) {
         super(testName);
     }
@@ -77,10 +79,10 @@
 //        	}
 //    
     }
-    
-    public  void tearDown() throws Exception{
+
+    public void tearDown() throws Exception {
 //        sas.stop();
     }
-    
+
 }