You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by cs...@apache.org on 2006/01/06 18:12:17 UTC

svn commit: r366535 [2/2] - in /beehive/trunk/system-controls: src/webservice/control/org/apache/beehive/controls/system/webservice/generator/ src/webservice/control/org/apache/beehive/controls/system/webservice/wsdl/ test/webservice/ test/webservice/j...

Modified: beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitBareTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitBareTest.java?rev=366535&r1=366534&r2=366535&view=diff
==============================================================================
--- beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitBareTest.java (original)
+++ beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitBareTest.java Fri Jan  6 09:11:46 2006
@@ -25,85 +25,160 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 import org.apache.beehive.controls.api.bean.Control;
-import org.apache.beehive.controls.system.webservice.units.utils.ControlTestCase;
+import org.apache.beehive.controls.test.junit.ControlTestCase;
 import test.SoapMarshallingDocLitBareService;
 
+/**
+ * Marshalling tests for doc/lit/bare services.
+ */
 public class SoapMarshallingDocLitBareTest
     extends ControlTestCase {
 
     @Control
     public SoapMarshallingDocLitBareService client;
 
+    /**
+     * Echo a boolean value.
+     * @throws Exception
+     */
     public void testEchoboolean() throws Exception {
         assertFalse(client.echoboolean(false));
         assertTrue(client.echoboolean(true));
     }
 
+    /**
+     * Echo a Boolean value.
+     * @throws Exception
+     */
     public void testEchoBoolean() throws Exception {
         assertFalse(client.echoBoolean(new Boolean(false)));
         assertTrue(client.echoBoolean(new Boolean(true)));
     }
 
+    /**
+     * Echo a byte value.
+     * @throws Exception
+     */
     public void testEchobyte() throws Exception {
         assertEquals(1, client.echobyte((byte) 1));
     }
 
+    /**
+     * Echo a Byte value.
+     * @throws Exception
+     */
     public void testEchoByte() throws Exception {
         assertEquals(Byte.MAX_VALUE, client.echoByte(Byte.MAX_VALUE));
     }
 
+    /**
+     * Echo a short value.
+     * @throws Exception
+     */
     public void testEchoshort() throws Exception {
         assertEquals(Short.MAX_VALUE, client.echoshort(Short.MAX_VALUE));
     }
 
+    /**
+     * Echo a Short value.
+     * @throws Exception
+     */
     public void testEchoShort() throws Exception {
         assertEquals(Short.MAX_VALUE, client.echoShort(Short.MAX_VALUE));
     }
 
+    /**
+     * Echo an int value.
+     * @throws Exception
+     */
     public void testEchoint() throws Exception {
         assertEquals(Integer.MAX_VALUE, client.echoint(Integer.MAX_VALUE));
     }
 
+    /**
+     * Echo an Integer value.
+     * @throws Exception
+     */
     public void testEchoInteger() throws Exception {
         assertEquals(Integer.MAX_VALUE, client.echoInteger(Integer.MAX_VALUE));
     }
 
+    /**
+     * Echo a long value.
+     * @throws Exception
+     */
     public void testEcholong() throws Exception {
         assertEquals(Long.MAX_VALUE, client.echolong(Long.MAX_VALUE));
     }
 
+    /**
+     * Echo a Long value.
+     * @throws Exception
+     */
     public void testEchoLong() throws Exception {
         assertEquals(Long.MAX_VALUE, client.echoLong(Long.MAX_VALUE));
     }
 
+    /**
+     * Echo a BigInteger value.
+     * @throws Exception
+     */
     public void testEchoBigInteger() throws Exception {
         assertEquals(BigInteger.TEN, client.echoBigInteger(BigInteger.TEN));
     }
 
+    /**
+     * Echo a float value.
+     * @throws Exception
+     */
     public void testEchofloat() throws Exception {
         assertEquals(Float.MAX_VALUE, client.echofloat(Float.MAX_VALUE));
     }
 
+    /**
+     * Echo a Float value.
+     * @throws Exception
+     */
     public void testEchoFloat() throws Exception {
         assertEquals(Float.MAX_VALUE, client.echoFloat(Float.MAX_VALUE));
     }
 
+    /**
+     * Echo a double value.
+     * @throws Exception
+     */
     public void testEchodouble() throws Exception {
         assertEquals(Double.MAX_VALUE, client.echodouble(Double.MAX_VALUE));
     }
 
+    /**
+     * Echo a Double value.
+     * @throws Exception
+     */
     public void testEchoDouble() throws Exception {
         assertEquals(Double.MAX_VALUE, client.echoDouble(Double.MAX_VALUE));
     }
 
+    /**
+     * Echo a BigDecimal value.
+     * @throws Exception
+     */
     public void testEchoBigDecimal() throws Exception {
         assertEquals(BigDecimal.TEN, client.echoBigDecimal(BigDecimal.TEN));
     }
 
+    /**
+     * Echo a String value.
+     * @throws Exception
+     */
     public void testEchoString() throws Exception {
         assertEquals("Hello World!", client.echoString("Hello World!"));
     }
 
+    /**
+     * Echo a Date value.
+     * @throws Exception
+     */
     public void testEchoDate() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -111,6 +186,10 @@
         assertEquals(0, cal.compareTo(result));
     }
 
+    /**
+     * Echo a Calendar value.
+     * @throws Exception
+     */
     public void testEchoCalendar() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -118,24 +197,13 @@
         assertEquals(0, cal.compareTo(result));
     }
 
+    /**
+     * Echo a QName value.
+     * @throws Exception
+     */
     public void testEchoQName() throws Exception {
         QName qname = new QName("http://foo.bar", "foofoo");
         assertEquals(qname.toString(), client.echoQName(qname).toString());
-    }
-
-    public void setUp()
-        throws Exception {
-        try {
-            super.setUp();
-            initializeControls(this);
-            setMyControlObject(client);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-    public SoapMarshallingDocLitBareTest() throws Exception {
     }
 
     public static Test suite() {

Modified: beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitWrappedArrayTypesTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitWrappedArrayTypesTest.java?rev=366535&r1=366534&r2=366535&view=diff
==============================================================================
--- beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitWrappedArrayTypesTest.java (original)
+++ beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitWrappedArrayTypesTest.java Fri Jan  6 09:11:46 2006
@@ -27,15 +27,22 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 import org.apache.beehive.controls.api.bean.Control;
-import org.apache.beehive.controls.system.webservice.units.utils.ControlTestCase;
+import org.apache.beehive.controls.test.junit.ControlTestCase;
 import test.SoapMarshallingDocLitWrappedArrayTypesService;
 
+/**
+ * Marshalling tests for array types for doc/lit/wrapped services.
+ */
 public class SoapMarshallingDocLitWrappedArrayTypesTest
     extends ControlTestCase {
 
     @Control
     public SoapMarshallingDocLitWrappedArrayTypesService client;
 
+    /**
+     * Echo boolean array.
+     * @throws Exception
+     */
     public void testEchobooleanArray() throws Exception {
         boolean[] array = new boolean[] {true, false, true};
         assertTrue(Arrays.equals(array, client.echoboolean(array)));
@@ -47,6 +54,10 @@
 //        assertEquals(array, client.echoBoolean(array));
 //    }
 
+    /**
+     * Echo byte array.
+     * @throws Exception
+     */
     public void testEchobyteArray() throws Exception {
         byte[] array = new byte[] {Byte.MAX_VALUE, 0, Byte.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echobyte(array)));
@@ -58,6 +69,10 @@
 //        assertEquals(array, client.echoByte(array));
 //    }
 
+    /**
+     * Echo short array.
+     * @throws Exception
+     */
     public void testEchoshortArray() throws Exception {
         short[] array = new short[] {Short.MAX_VALUE, 0, Short.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echoshort(array)));
@@ -69,6 +84,10 @@
 //        assertEquals(array, client.echoShort(array));
 //    }
 
+    /**
+     * Echo int array.
+     * @throws Exception
+     */
     public void testEchointArray() throws Exception {
         int[] array = new int[] {Integer.MAX_VALUE, 0, Integer.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echoint(array)));
@@ -80,6 +99,10 @@
 //        assertEquals(array, client.echoInteger(array));
 //    }
 
+    /**
+     * Echo long array.
+     * @throws Exception
+     */
     public void testEcholongArray() throws Exception {
         long[] array = new long[] {Long.MAX_VALUE, 0, Long.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echolong(array)));
@@ -91,11 +114,19 @@
 //        assertEquals(array, client.echoLong(array));
 //    }
 
+    /**
+     * Echo BigInteger array.
+     * @throws Exception
+     */
     public void testEchoBigIntegerArray() throws Exception {
         BigInteger[] array = new BigInteger[] {BigInteger.TEN, BigInteger.ONE, BigInteger.TEN};
         assertTrue(Arrays.equals(array, client.echoBigInteger(array)));
     }
 
+    /**
+     * Echo float array.
+     * @throws Exception
+     */
     public void testEchofloatArray() throws Exception {
         float[] array = new float[] {Float.MAX_VALUE, 0, Float.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echofloat(array)));
@@ -107,6 +138,10 @@
 //        assertEquals(array, client.echoFloat(array));
 //    }
 
+    /**
+     * Echo double array.
+     * @throws Exception
+     */
     public void testEchodoubleArray() throws Exception {
         double[] array = new double[] {Double.MAX_VALUE, 0, Double.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echodouble(array)));
@@ -118,11 +153,19 @@
 //        assertEquals(array, client.echoDouble(array));
 //    }
 
+    /**
+     * Echo BigDecimal array.
+     * @throws Exception
+     */
     public void testEchoBigDecimalArray() throws Exception {
         BigDecimal[] array = new BigDecimal[] {BigDecimal.TEN, BigDecimal.ONE, BigDecimal.TEN};
         assertTrue(Arrays.equals(array, client.echoBigDecimal(array)));
     }
 
+    /**
+     * Echo String array.
+     * @throws Exception
+     */
     public void testEchoStringArray() throws Exception {
         String[] array = new String[] {"Hello", ",", "World!"};
         assertTrue(Arrays.equals(array, client.echoString(array)));
@@ -138,6 +181,10 @@
 //        assertEquals(0, cal.compareTo(result[1]));
 //    }
 
+    /**
+     * Echo Calendar array.
+     * @throws Exception
+     */
     public void testEchoCalendarArray() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -147,25 +194,14 @@
         assertEquals(0, cal.compareTo(result[1]));
     }
 
+    /**
+     * Echo QName array.
+     * @throws Exception
+     */
     public void testEchoQNameArray() throws Exception {
         QName qname = new QName("http://foo.bar", "foofoo");
         QName array[] = new QName[] { qname, qname };
         assertTrue(Arrays.equals(array, client.echoQName(array)));
-    }
-
-    public void setUp() throws Exception {
-        try {
-            super.setUp();
-            initializeControls(this);
-            setMyControlObject(client);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-    public SoapMarshallingDocLitWrappedArrayTypesTest()
-        throws Exception {
     }
 
     public static Test suite() {

Modified: beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitWrappedTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitWrappedTest.java?rev=366535&r1=366534&r2=366535&view=diff
==============================================================================
--- beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitWrappedTest.java (original)
+++ beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingDocLitWrappedTest.java Fri Jan  6 09:11:46 2006
@@ -24,85 +24,160 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 import org.apache.beehive.controls.api.bean.Control;
-import org.apache.beehive.controls.system.webservice.units.utils.ControlTestCase;
+import org.apache.beehive.controls.test.junit.ControlTestCase;
 import test.SoapMarshallingDocLitWrappedService;
 
+/**
+ * Marshalling tests for doc/lit/wrapped services.
+ */
 public class SoapMarshallingDocLitWrappedTest
     extends ControlTestCase {
 
     @Control
     public SoapMarshallingDocLitWrappedService client;
 
+    /**
+     * Echo boolean.
+     * @throws Exception
+     */
     public void testEchoboolean() throws Exception {
         assertFalse(client.echoboolean(false));
         assertTrue(client.echoboolean(true));
     }
 
+    /**
+     * Echo Boolean.
+     * @throws Exception
+     */
     public void testEchoBoolean() throws Exception {
         assertFalse(client.echoBoolean(new Boolean(false)));
         assertTrue(client.echoBoolean(new Boolean(true)));
     }
 
+    /**
+     * Echo byte.
+     * @throws Exception
+     */
     public void testEchobyte() throws Exception {
         assertEquals(1, client.echobyte((byte)1));
     }
 
+    /**
+     * Echo Byte.
+     * @throws Exception
+     */
     public void testEchoByte() throws Exception {
         assertEquals(Byte.MAX_VALUE, client.echoByte(Byte.MAX_VALUE));
     }
 
+    /**
+     * Echo short.
+     * @throws Exception
+     */
     public void testEchoshort() throws Exception {
         assertEquals(Short.MAX_VALUE, client.echoshort(Short.MAX_VALUE));
     }
 
+    /**
+     * Echo Short.
+     * @throws Exception
+     */
     public void testEchoShort() throws Exception {
         assertEquals(Short.MAX_VALUE, client.echoShort(Short.MAX_VALUE));
     }
 
+    /**
+     * Echo int.
+     * @throws Exception
+     */
     public void testEchoint() throws Exception {
         assertEquals(Integer.MAX_VALUE, client.echoint(Integer.MAX_VALUE));
     }
 
+    /**
+     * Echo Integer.
+     * @throws Exception
+     */
     public void testEchoInteger() throws Exception {
         assertEquals(Integer.MAX_VALUE, client.echoInteger(Integer.MAX_VALUE));
     }
 
+    /**
+     * Echo long.
+     * @throws Exception
+     */
     public void testEcholong() throws Exception {
         assertEquals(Long.MAX_VALUE, client.echolong(Long.MAX_VALUE));
     }
 
+    /**
+     * Echo Long.
+     * @throws Exception
+     */
     public void testEchoLong() throws Exception {
         assertEquals(Long.MAX_VALUE, client.echoLong(Long.MAX_VALUE));
     }
 
+    /**
+     * Echo BigInteger.
+     * @throws Exception
+     */
     public void testEchoBigInteger() throws Exception {
         assertEquals(BigInteger.TEN, client.echoBigInteger(BigInteger.TEN));
     }
 
+    /**
+     * Echo float.
+     * @throws Exception
+     */
     public void testEchofloat() throws Exception {
         assertEquals(Float.MAX_VALUE, client.echofloat(Float.MAX_VALUE));
     }
 
+    /**
+     * Echo Float.
+     * @throws Exception
+     */
     public void testEchoFloat() throws Exception {
         assertEquals(Float.MAX_VALUE, client.echoFloat(Float.MAX_VALUE));
     }
 
+    /**
+     * Echo double.
+     * @throws Exception
+     */
     public void testEchodouble() throws Exception {
         assertEquals(Double.MAX_VALUE, client.echodouble(Double.MAX_VALUE));
     }
 
+    /**
+     * Echo double.
+     * @throws Exception
+     */
     public void testEchoDouble() throws Exception {
         assertEquals(Double.MAX_VALUE, client.echoDouble(Double.MAX_VALUE));
     }
 
+    /**
+     * Echo BigDecimal.
+     * @throws Exception
+     */
     public void testEchoBigDecimal() throws Exception {
         assertEquals(BigDecimal.TEN, client.echoBigDecimal(BigDecimal.TEN));
     }
 
+    /**
+     * Echo String.
+     * @throws Exception
+     */
     public void testEchoString() throws Exception {
         assertEquals("Hello World!", client.echoString("Hello World!"));
     }
 
+    /**
+     * Echo Date.
+     * @throws Exception
+     */
     public void testEchoDate() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -110,6 +185,10 @@
         assertEquals(0, cal.compareTo(result));
     }
 
+    /**
+     * Echo Calendar.
+     * @throws Exception
+     */
     public void testEchoCalendar() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -117,24 +196,14 @@
         assertEquals(0, cal.compareTo(result));
     }
 
+    /**
+     * Echo QName.
+     * @throws Exception
+     */
     public void testEchoQName() throws Exception {
         QName qname = new QName("http://foo.bar", "foofoo");
         assertEquals(qname.toString(), client.echoQName(qname).toString());
     }
-
-
-    public void setUp() throws Exception {
-        try {
-            super.setUp();
-            initializeControls(this);
-            setMyControlObject(client);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-    public SoapMarshallingDocLitWrappedTest() throws Exception { }
 
     public static Test suite() { return new TestSuite(SoapMarshallingDocLitWrappedTest.class); }
 

Modified: beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcEncArrayTypesTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcEncArrayTypesTest.java?rev=366535&r1=366534&r2=366535&view=diff
==============================================================================
--- beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcEncArrayTypesTest.java (original)
+++ beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcEncArrayTypesTest.java Fri Jan  6 09:11:46 2006
@@ -26,99 +26,166 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 import org.apache.beehive.controls.api.bean.Control;
-import org.apache.beehive.controls.system.webservice.units.utils.ControlTestCase;
+import org.apache.beehive.controls.test.junit.ControlTestCase;
 import test.SoapMarshallingRpcEncArrayTypesService;
 
+/**
+ * Marshalling tests for arrays for Rpc/enc services.
+ */
 public class SoapMarshallingRpcEncArrayTypesTest
     extends ControlTestCase {
     
     @Control
     public SoapMarshallingRpcEncArrayTypesService client;
 
-    public void testNothing() throws Exception {
-        assertTrue(true);
-    }
-
+    /**
+     * Echo boolean array.
+     * @throws Exception
+     */
     public void testEchobooleanArray() throws Exception {
         boolean[] array = new boolean[]{true, false, true};
         assertTrue(Arrays.equals(array, client.echoboolean(array)));
     }
 
+    /**
+     * Echo Boolean array.
+     * @throws Exception
+     */
     public void testEchoBooleanArray() throws Exception {
         Boolean[] array = new Boolean[]{true, false, true};
         assertTrue(Arrays.equals(array, client.echoBoolean(array)));
     }
 
+    /**
+     * Echo byte array.
+     * @throws Exception
+     */
     public void testEchobyteArray() throws Exception {
         byte[] array = new byte[]{Byte.MAX_VALUE, 0, Byte.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echobyte(array)));
     }
 
+    /**
+     * Echo Byte array.
+     * @throws Exception
+     */
     public void testEchoByteArray() throws Exception {
         Byte[] array = new Byte[] {Byte.MAX_VALUE, Byte.MIN_VALUE};
         assertTrue(Arrays.equals(array, client.echoByte(array)));
     }
 
+    /**
+     * Echo short array.
+     * @throws Exception
+     */
     public void testEchoshortArray() throws Exception {
         short[] array = new short[]{Short.MAX_VALUE, 0, Short.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echoshort(array)));
     }
 
+    /**
+     * Echo Short array.
+     * @throws Exception
+     */
     public void testEchoShortArray() throws Exception {
         Short[] array = new Short[]{Short.MAX_VALUE, Short.MIN_VALUE};
         assertTrue(Arrays.equals(array, client.echoShort(array)));
     }
 
+    /**
+     * Echo int array.
+     * @throws Exception
+     */
     public void testEchointArray() throws Exception {
         int[] array = new int[]{Integer.MAX_VALUE, 0, Integer.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echoint(array)));
     }
 
+    /**
+     * Echo Integer array.
+     * @throws Exception
+     */
     public void testEchoIntegerArray() throws Exception {
         Integer[] array = new Integer[]{Integer.MAX_VALUE, Integer.MIN_VALUE};
         assertTrue(Arrays.equals(array, client.echoInteger(array)));
     }
 
+    /**
+     * Echo long array.
+     * @throws Exception
+     */
     public void testEcholongArray() throws Exception {
         long[] array = new long[]{Long.MAX_VALUE, 0, Long.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echolong(array)));
     }
 
+    /**
+     * Echo Long array.
+     * @throws Exception
+     */
     public void testEchoLongArray() throws Exception {
         Long[] array = new Long[]{Long.MAX_VALUE, Long.MIN_VALUE};
         assertTrue(Arrays.equals(array, client.echoLong(array)));
     }
 
+    /**
+     * Echo BigInteger array.
+     * @throws Exception
+     */
     public void testEchoBigIntegerArray() throws Exception {
         BigInteger[] array = new BigInteger[]{BigInteger.TEN, BigInteger.ONE, BigInteger.TEN};
         assertTrue(Arrays.equals(array, client.echoBigInteger(array)));
     }
 
+    /**
+     * Echo float array.
+     * @throws Exception
+     */
     public void testEchofloatArray() throws Exception {
         float[] array = new float[]{Float.MAX_VALUE, 0, Float.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echofloat(array)));
     }
 
+    /**
+     * Echo Float array.
+     * @throws Exception
+     */
     public void testEchoFloatArray() throws Exception {
         Float[] array = new Float[]{Float.MAX_VALUE, Float.MIN_VALUE};
         assertTrue(Arrays.equals(array, client.echoFloat(array)));
     }
 
+    /**
+     * Echo double array.
+     * @throws Exception
+     */
     public void testEchodoubleArray() throws Exception {
         double[] array = new double[]{Double.MAX_VALUE, 0, Double.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echodouble(array)));
     }
 
+    /**
+     * Echo Double array.
+     * @throws Exception
+     */
     public void testEchoDoubleArray() throws Exception {
         Double[] array = new Double[]{Double.MAX_VALUE, Double.MIN_VALUE};
         assertTrue(Arrays.equals(array, client.echoDouble(array)));
     }
 
+    /**
+     * Echo BigDecimal array.
+     * @throws Exception
+     */
     public void testEchoBigDecimalArray() throws Exception {
         BigDecimal[] array = new BigDecimal[]{BigDecimal.TEN, BigDecimal.ONE, BigDecimal.TEN};
         assertTrue(Arrays.equals(array, client.echoBigDecimal(array)));
     }
 
+    /**
+     * Echo String array.
+     * @throws Exception
+     */
     public void testEchoStringArray() throws Exception {
         String[] array = new String[]{"Hello", ",", "World!"};
         assertTrue(Arrays.equals(array, client.echoString(array)));
@@ -135,6 +202,10 @@
 //        assertEquals(0, cal.compareTo(result[1]));
 //    }
 
+    /**
+     * Echo Calendar array.
+     * @throws Exception
+     */
     public void testEchoCalendarArray() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -144,24 +215,14 @@
         assertEquals(0, cal.compareTo(result[1]));
     }
 
+    /**
+     * Echo QName array.
+     * @throws Exception
+     */
     public void testEchoQNameArray() throws Exception {
         QName qname = new QName("http://foo.bar", "foofoo");
         QName array[] = new QName[]{qname, qname};
         assertTrue(Arrays.equals(array, client.echoQName(array)));
-    }
-
-    public void setUp() throws Exception {
-        try {
-            super.setUp();
-            initializeControls(this);
-            setMyControlObject(client);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-    public SoapMarshallingRpcEncArrayTypesTest() throws Exception {
     }
 
     public static Test suite() {

Modified: beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcEncTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcEncTest.java?rev=366535&r1=366534&r2=366535&view=diff
==============================================================================
--- beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcEncTest.java (original)
+++ beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcEncTest.java Fri Jan  6 09:11:46 2006
@@ -24,15 +24,22 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 import org.apache.beehive.controls.api.bean.Control;
-import org.apache.beehive.controls.system.webservice.units.utils.ControlTestCase;
+import org.apache.beehive.controls.test.junit.ControlTestCase;
 import test.SoapMarshallingRpcEncService;
 
+/**
+ * Marshalling tests for Rpc/enc services.
+ */
 public class SoapMarshallingRpcEncTest
     extends ControlTestCase {
     
     @Control
     public SoapMarshallingRpcEncService client;
 
+    /**
+     * Echo boolean.
+     * @throws Exception
+     */
     public void testEchoboolean() throws Exception {
         boolean b1 = true;
         boolean b2 = false;
@@ -43,6 +50,10 @@
         assertFalse(result2);
     }
 
+    /**
+     * Echo Boolean.
+     * @throws Exception
+     */
     public void testEchoBoolean() throws Exception {
         Boolean b1 = true;
         Boolean b2 = false;
@@ -53,96 +64,160 @@
         assertFalse(result2);
     }
 
+    /**
+     * Echo byte.
+     * @throws Exception
+     */
     public void testEchobyte() throws Exception {
         byte b = Byte.MAX_VALUE;
         byte result = client.echobyte(b);
         assertEquals(b, result);
     }
 
+    /**
+     * Echo Byte.
+     * @throws Exception
+     */
     public void testEchoByte() throws Exception {
         Byte b = Byte.MAX_VALUE;
         Byte result = client.echoByte(b);
         assertEquals(b, result);
     }
 
+    /**
+     * Echo short.
+     * @throws Exception
+     */
     public void testEchoshort() throws Exception {
         short s = Short.MAX_VALUE;
         short result = client.echoshort(s);
         assertEquals(s, result);
     }
 
+    /**
+     * Echo Short.
+     * @throws Exception
+     */
     public void testEchoShort() throws Exception {
         Short s = Short.MAX_VALUE;
         Short result = client.echoShort(s);
         assertEquals(s, result);
     }
 
+    /**
+     * Echo int.
+     * @throws Exception
+     */
     public void testEchoint() throws Exception {
         int i = Integer.MAX_VALUE;
         int result = client.echoint(i);
         assertEquals(i, result);
     }
 
+    /**
+     * Echo integer.
+     * @throws Exception
+     */
     public void testEchoInteger() throws Exception {
         Integer i = Integer.MAX_VALUE;
         Integer result = client.echoInteger(i);
         assertEquals(i, result);
     }
 
+    /**
+     * Echo long.
+     * @throws Exception
+     */
     public void testEcholong() throws Exception {
         long l = Long.MIN_VALUE;
         long result = client.echolong(l);
         assertEquals(l, result);
     }
 
+    /**
+     * Echo Long.
+     * @throws Exception
+     */
     public void testEchoLong() throws Exception {
         Long l = new Long(Long.MAX_VALUE);
         Long result = client.echoLong(l);
         assertEquals(l, result);
     }
 
+    /**
+     * Echo BigInteger.
+     * @throws Exception
+     */
     public void testEchoBigInteger() throws Exception {
         BigInteger bi = BigInteger.TEN;
         BigInteger result = client.echoBigInteger(bi);
         assertEquals(bi, result);
     }
 
+    /**
+     * Echo float.
+     * @throws Exception
+     */
     public void testEchofloat() throws Exception {
         float f = Float.MAX_VALUE;
         float result = client.echofloat(f);
         assertEquals(f, result);
     }
 
+    /**
+     * Echo Float.
+     * @throws Exception
+     */
     public void testEchoFloat() throws Exception {
         Float f = Float.MAX_VALUE;
         Float result = client.echoFloat(f);
         assertEquals(f, result);
     }
 
+    /**
+     * Echo double.
+     * @throws Exception
+     */
     public void testEchodouble() throws Exception {
         double d = Double.MAX_VALUE;
         double result = client.echodouble(d);
         assertEquals(d, result);
     }
 
+    /**
+     * Echo Double.
+     * @throws Exception
+     */
     public void testEchoDouble() throws Exception {
         Double d = Double.MAX_VALUE;
         Double result = client.echoDouble(d);
         assertEquals(d, result);
     }
 
+    /**
+     * Echo BigDecimal.
+     * @throws Exception
+     */
     public void testEchoBigDecimal() throws Exception {
         BigDecimal bd = BigDecimal.TEN;
         BigDecimal result = client.echoBigDecimal(bd);
         assertEquals(bd, result);
     }
 
+    /**
+     * Echo String.
+     * @throws Exception
+     */
     public void testEchoString() throws Exception {
         String s = "Hello World!";
         String result = client.echoString(s);
         assertEquals(s, result);
     }
 
+    /**
+     * Echo Date.
+     * @throws Exception
+     */
     public void testEchoDate() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -150,6 +225,10 @@
         assertEquals(0, cal.compareTo(result));
     }
 
+    /**
+     * Echo Calendar.
+     * @throws Exception
+     */
     public void testEchoCalendar() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -157,24 +236,14 @@
         assertEquals(0, cal.compareTo(result));
     }
 
+    /**
+     * Echo QName.
+     * @throws Exception
+     */
     public void testEchoQName() throws Exception {
         QName qname = new QName("http://foo.bar", "foofoo");
         QName result = client.echoQName(qname);
         assertEquals(qname.toString(), result.toString());
-    }
-
-    public void setUp() throws Exception {
-        try {
-            super.setUp();
-            initializeControls(this);
-            setMyControlObject(client);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-    public SoapMarshallingRpcEncTest() throws Exception {
     }
 
     public static Test suite() {

Modified: beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcLitArrayTypesTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcLitArrayTypesTest.java?rev=366535&r1=366534&r2=366535&view=diff
==============================================================================
--- beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcLitArrayTypesTest.java (original)
+++ beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcLitArrayTypesTest.java Fri Jan  6 09:11:46 2006
@@ -16,34 +16,47 @@
  */
 package org.apache.beehive.controls.system.webservice.units;
 
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import org.apache.beehive.controls.api.bean.Control;
+import org.apache.beehive.controls.test.junit.ControlTestCase;
+import test.SoapMarshallingRpcLitArrayTypesService;
+
 import java.math.BigDecimal;
 import java.math.BigInteger;
 import java.util.Arrays;
 import java.util.Calendar;
 import java.util.GregorianCalendar;
 
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.apache.beehive.controls.api.bean.Control;
-import org.apache.beehive.controls.system.webservice.units.utils.ControlTestCase;
-import test.SoapMarshallingRpcLitArrayTypesService;
-
+/**
+ * Marshalling tests for array types, for rpc/lit services.
+ */
 public class SoapMarshallingRpcLitArrayTypesTest
-    extends ControlTestCase {
-    
+        extends ControlTestCase {
+
     @Control
     public SoapMarshallingRpcLitArrayTypesService client;
 
+    /**
+     * Echo boolean array.
+     *
+     * @throws Exception
+     */
     public void testEchobooleanArray() throws Exception {
-        boolean[] ar = new boolean[] {true, false};
+        boolean[] ar = new boolean[]{true, false};
         boolean[] result = client.echoboolean(ar);
         assertEquals(2, result.length);
         assertEquals(true, result[0]);
         assertEquals(false, result[1]);
     }
 
+    /**
+     * Echo Boolean array.
+     *
+     * @throws Exception
+     */
     public void testEchoBooleanArray() throws Exception {
-        boolean[] ar = new boolean[] {true, false, true};
+        boolean[] ar = new boolean[]{true, false, true};
 
         boolean[] result = client.echoBoolean(ar);
         assertEquals(3, result.length);
@@ -52,6 +65,11 @@
         assertEquals(true, result[2]);
     }
 
+    /**
+     * Echo byte array.
+     *
+     * @throws Exception
+     */
     public void testEchobyteArray() throws Exception {
         byte[] array = new byte[]{Byte.MAX_VALUE, 0, Byte.MAX_VALUE};
         assertTrue(Arrays.equals(array, client.echobyte(array)));
@@ -66,8 +84,13 @@
 //        assertEquals(Byte.MAX_VALUE, result[2]);
 //    }
 
+    /**
+     * Echo short array.
+     *
+     * @throws Exception
+     */
     public void testEchoshortArray() throws Exception {
-        short[] ar = new short[] {Short.MAX_VALUE, Short.MIN_VALUE, Short.MAX_VALUE};
+        short[] ar = new short[]{Short.MAX_VALUE, Short.MIN_VALUE, Short.MAX_VALUE};
         short[] result = client.echoshort(ar);
         assertEquals(3, result.length);
         assertEquals(Short.MAX_VALUE, result[0]);
@@ -75,8 +98,13 @@
         assertEquals(Short.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo Short array.
+     *
+     * @throws Exception
+     */
     public void testEchoShortArray() throws Exception {
-        short[] ar = new short[] {Short.MAX_VALUE, Short.MIN_VALUE, Short.MAX_VALUE};
+        short[] ar = new short[]{Short.MAX_VALUE, Short.MIN_VALUE, Short.MAX_VALUE};
         short[] result = client.echoShort(ar);
         assertEquals(3, result.length);
         assertEquals(Short.MAX_VALUE, result[0]);
@@ -84,8 +112,13 @@
         assertEquals(Short.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo int array.
+     *
+     * @throws Exception
+     */
     public void testEchointArray() throws Exception {
-        int[] ar = new int[] {Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE};
+        int[] ar = new int[]{Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE};
         int[] result = client.echoint(ar);
         assertEquals(3, result.length);
         assertEquals(Integer.MAX_VALUE, result[0]);
@@ -93,8 +126,13 @@
         assertEquals(Integer.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo Integer array.
+     *
+     * @throws Exception
+     */
     public void testEchoIntegerArray() throws Exception {
-        int[] ar = new int[] {Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE};
+        int[] ar = new int[]{Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE};
         int[] result = client.echoInteger(ar);
         assertEquals(3, result.length);
         assertEquals(Integer.MAX_VALUE, result[0]);
@@ -102,8 +140,13 @@
         assertEquals(Integer.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo long array.
+     *
+     * @throws Exception
+     */
     public void testEcholongArray() throws Exception {
-        long[] ar = new long[] {Long.MAX_VALUE,  Long.MIN_VALUE, Long.MAX_VALUE};
+        long[] ar = new long[]{Long.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE};
         long[] result = client.echolong(ar);
         assertEquals(3, result.length);
         assertEquals(Long.MAX_VALUE, result[0]);
@@ -111,8 +154,13 @@
         assertEquals(Long.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo Long array.
+     *
+     * @throws Exception
+     */
     public void testEchoLongArray() throws Exception {
-        long[] ar = new long[] {Long.MAX_VALUE,  Long.MIN_VALUE, Long.MAX_VALUE};
+        long[] ar = new long[]{Long.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE};
         long[] result = client.echoLong(ar);
         assertEquals(3, result.length);
         assertEquals(Long.MAX_VALUE, result[0]);
@@ -120,8 +168,13 @@
         assertEquals(Long.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo BigInteger array.
+     *
+     * @throws Exception
+     */
     public void testEchoBigIntegerArray() throws Exception {
-        BigInteger[] ar = new BigInteger[] {BigInteger.TEN, BigInteger.ONE, BigInteger.TEN};
+        BigInteger[] ar = new BigInteger[]{BigInteger.TEN, BigInteger.ONE, BigInteger.TEN};
         BigInteger[] result = client.echoBigInteger(ar);
         assertEquals(3, result.length);
         assertEquals(BigInteger.TEN, result[0]);
@@ -129,8 +182,13 @@
         assertEquals(BigInteger.TEN, result[2]);
     }
 
+    /**
+     * Echo float array.
+     *
+     * @throws Exception
+     */
     public void testEchofloatArray() throws Exception {
-        float[] ar = new float[] {Float.MAX_VALUE,  Float.MIN_VALUE, Float.MAX_VALUE};
+        float[] ar = new float[]{Float.MAX_VALUE, Float.MIN_VALUE, Float.MAX_VALUE};
         float[] result = client.echofloat(ar);
         assertEquals(3, result.length);
         assertEquals(Float.MAX_VALUE, result[0]);
@@ -138,8 +196,13 @@
         assertEquals(Float.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo Float array.
+     *
+     * @throws Exception
+     */
     public void testEchoFloatArray() throws Exception {
-        float[] ar = new float[] {Float.MAX_VALUE,  Float.MIN_VALUE, Float.MAX_VALUE};
+        float[] ar = new float[]{Float.MAX_VALUE, Float.MIN_VALUE, Float.MAX_VALUE};
         float[] result = client.echoFloat(ar);
         assertEquals(3, result.length);
         assertEquals(Float.MAX_VALUE, result[0]);
@@ -147,8 +210,13 @@
         assertEquals(Float.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo double array.
+     *
+     * @throws Exception
+     */
     public void testEchodoubleArray() throws Exception {
-        double[] ar = new double[] {Double.MAX_VALUE, Double.MIN_VALUE, Double.MAX_VALUE};
+        double[] ar = new double[]{Double.MAX_VALUE, Double.MIN_VALUE, Double.MAX_VALUE};
         double[] result = client.echodouble(ar);
         assertEquals(3, result.length);
         assertEquals(Double.MAX_VALUE, result[0]);
@@ -156,8 +224,13 @@
         assertEquals(Double.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo Double array.
+     *
+     * @throws Exception
+     */
     public void testEchoDoubleArray() throws Exception {
-        double[] ar = new double[] {Double.MAX_VALUE, Double.MIN_VALUE, Double.MAX_VALUE};
+        double[] ar = new double[]{Double.MAX_VALUE, Double.MIN_VALUE, Double.MAX_VALUE};
         double[] result = client.echoDouble(ar);
         assertEquals(3, result.length);
         assertEquals(Double.MAX_VALUE, result[0]);
@@ -165,8 +238,13 @@
         assertEquals(Double.MAX_VALUE, result[2]);
     }
 
+    /**
+     * Echo BigDecimal array.
+     *
+     * @throws Exception
+     */
     public void testEchoBigDecimalArray() throws Exception {
-        BigDecimal[] ar = new BigDecimal[] {BigDecimal.TEN,  BigDecimal.ONE, BigDecimal.TEN};
+        BigDecimal[] ar = new BigDecimal[]{BigDecimal.TEN, BigDecimal.ONE, BigDecimal.TEN};
         BigDecimal[] result = client.echoBigDecimal(ar);
         assertEquals(3, result.length);
         assertEquals(BigDecimal.TEN, result[0]);
@@ -174,8 +252,13 @@
         assertEquals(BigDecimal.TEN, result[2]);
     }
 
+    /**
+     * Echo String array.
+     *
+     * @throws Exception
+     */
     public void testEchoStringArray() throws Exception {
-        String[] ar = new String[] {"Hello", ",", "World!"};
+        String[] ar = new String[]{"Hello", ",", "World!"};
         String[] result = client.echoString(ar);
         assertEquals(3, result.length);
         assertEquals("Hello", result[0]);
@@ -198,15 +281,20 @@
 //            assertEquals(0, cal.compareTo(cResult[1]));
 //        }
 
-        public void testEchoCalendarArray() throws Exception {
-            Calendar cal = new GregorianCalendar();
-            cal.setTimeInMillis(123456789);
-            Calendar[] ar = new Calendar[] {cal, cal};
-            Calendar[] result = client.echoCalendar(ar);
-            assertEquals(2, result.length);
-            assertEquals(0, cal.compareTo(result[0]));
-            assertEquals(0, cal.compareTo(result[1]));
-        }
+    /**
+     * Echo Calendar array.
+     *
+     * @throws Exception
+     */
+    public void testEchoCalendarArray() throws Exception {
+        Calendar cal = new GregorianCalendar();
+        cal.setTimeInMillis(123456789);
+        Calendar[] ar = new Calendar[]{cal, cal};
+        Calendar[] result = client.echoCalendar(ar);
+        assertEquals(2, result.length);
+        assertEquals(0, cal.compareTo(result[0]));
+        assertEquals(0, cal.compareTo(result[1]));
+    }
 
 //    public void testEchoQNameArray() throws Exception {
 //        soapMarshalling.ArrayOfXsdQName ar = soapMarshalling.ArrayOfXsdQName.Factory.newInstance();
@@ -222,20 +310,6 @@
 //        assertTrue(qname1.toString().equals(array[0].toString()));
 //        assertTrue(qname2.toString().equals(array[1].toString()));
 //    }
-
-    public void setUp() throws Exception {
-        try {
-            super.setUp();
-            initializeControls(this);
-            setMyControlObject(client);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-    public SoapMarshallingRpcLitArrayTypesTest() throws Exception {
-    }
 
     public static Test suite() {
         return new TestSuite(SoapMarshallingRpcLitArrayTypesTest.class);

Modified: beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcLitTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcLitTest.java?rev=366535&r1=366534&r2=366535&view=diff
==============================================================================
--- beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcLitTest.java (original)
+++ beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/SoapMarshallingRpcLitTest.java Fri Jan  6 09:11:46 2006
@@ -24,85 +24,160 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 import org.apache.beehive.controls.api.bean.Control;
-import org.apache.beehive.controls.system.webservice.units.utils.ControlTestCase;
+import org.apache.beehive.controls.test.junit.ControlTestCase;
 import test.SoapMarshallingRpcLitService;
 
+/**
+ * Marshalling tests for rpc/lit services.
+ */
 public class SoapMarshallingRpcLitTest
     extends ControlTestCase {
 
     @Control
     public SoapMarshallingRpcLitService client;
 
+    /**
+     * Echo boolean.
+     * @throws Exception
+     */
     public void testEchoboolean() throws Exception {
         assertFalse(client.echoboolean(false));
         assertTrue(client.echoboolean(true));
     }
 
+    /**
+     * Echo Boolean.
+     * @throws Exception
+     */
     public void testEchoBoolean() throws Exception {
         assertFalse(client.echoBoolean(new Boolean(false)));
         assertTrue(client.echoBoolean(new Boolean(true)));
     }
 
+    /**
+     * Echo byte.
+     * @throws Exception
+     */
     public void testEchobyte() throws Exception {
         assertEquals(1, client.echobyte((byte)1));
     }
 
+    /**
+     * Echo Byte.
+     * @throws Exception
+     */
     public void testEchoByte() throws Exception {
         assertEquals(Byte.MAX_VALUE, client.echoByte(Byte.MAX_VALUE));
     }
 
+    /**
+     * Echo short.
+     * @throws Exception
+     */
     public void testEchoshort() throws Exception {
         assertEquals(Short.MAX_VALUE, client.echoshort(Short.MAX_VALUE));
     }
 
+    /**
+     * Echo Short.
+     * @throws Exception
+     */
     public void testEchoShort() throws Exception {
         assertEquals(Short.MAX_VALUE, client.echoShort(Short.MAX_VALUE));
     }
 
+    /**
+     * Echo int.
+     * @throws Exception
+     */
     public void testEchoint() throws Exception {
         assertEquals(Integer.MAX_VALUE, client.echoint(Integer.MAX_VALUE));
     }
 
+    /**
+     * Echo Integer.
+     * @throws Exception
+     */
     public void testEchoInteger() throws Exception {
         assertEquals(Integer.MAX_VALUE, client.echoInteger(Integer.MAX_VALUE));
     }
 
+    /**
+     * Echo long.
+     * @throws Exception
+     */
     public void testEcholong() throws Exception {
         assertEquals(Long.MAX_VALUE, client.echolong(Long.MAX_VALUE));
     }
 
+    /**
+     * Echo Long.
+     * @throws Exception
+     */
     public void testEchoLong() throws Exception {
         assertEquals(Long.MAX_VALUE, client.echoLong(Long.MAX_VALUE));
     }
 
+    /**
+     * Echo BigInteger.
+     * @throws Exception
+     */
     public void testEchoBigInteger() throws Exception {
         assertEquals(BigInteger.TEN, client.echoBigInteger(BigInteger.TEN));
     }
 
+    /**
+     * Echo float.
+     * @throws Exception
+     */
     public void testEchofloat() throws Exception {
         assertEquals(Float.MAX_VALUE, client.echofloat(Float.MAX_VALUE));
     }
 
+    /**
+     * Echo Float.
+     * @throws Exception
+     */
     public void testEchoFloat() throws Exception {
         assertEquals(Float.MAX_VALUE, client.echoFloat(Float.MAX_VALUE));
     }
 
+    /**
+     * Echo double.
+     * @throws Exception
+     */
     public void testEchodouble() throws Exception {
         assertEquals(Double.MAX_VALUE, client.echodouble(Double.MAX_VALUE));
     }
 
+    /**
+     * Echo Double.
+     * @throws Exception
+     */
     public void testEchoDouble() throws Exception {
         assertEquals(Double.MAX_VALUE, client.echoDouble(Double.MAX_VALUE));
     }
 
+    /**
+     * Echo BigDecimal.
+     * @throws Exception
+     */
     public void testEchoBigDecimal() throws Exception {
         assertEquals(BigDecimal.TEN, client.echoBigDecimal(BigDecimal.TEN));
     }
 
+    /**
+     * Echo String.
+     * @throws Exception
+     */
     public void testEchoString() throws Exception {
         assertEquals("Hello World!", client.echoString("Hello World!"));
     }
 
+    /**
+     * Echo Date.
+     * @throws Exception
+     */
     public void testEchoDate() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -110,6 +185,10 @@
         assertEquals(0, cal.compareTo(result));
     }
 
+    /**
+     * Echo Calendar.
+     * @throws Exception
+     */
     public void testEchoCalendar() throws Exception {
         Calendar cal = new GregorianCalendar();
         cal.setTimeInMillis(123456789);
@@ -117,23 +196,14 @@
         assertEquals(0, cal.compareTo(result));
     }
 
+    /**
+     * Echo QName.
+     * @throws Exception
+     */
     public void testEchoQName() throws Exception {
         QName qname = new QName("http://foo.bar", "foofoo");
         assertEquals(qname.toString(), client.echoQName(qname).toString());
     }
-
-    public void setUp() throws Exception {
-        try {
-            super.setUp();
-            initializeControls(this);
-            setMyControlObject(client);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-    public SoapMarshallingRpcLitTest() throws Exception { }
 
     public static Test suite() { return new TestSuite(SoapMarshallingRpcLitTest.class); }
 

Modified: beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/dlwservice/DocLitWrapWebServiceTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/dlwservice/DocLitWrapWebServiceTest.java?rev=366535&r1=366534&r2=366535&view=diff
==============================================================================
--- beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/dlwservice/DocLitWrapWebServiceTest.java (original)
+++ beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/dlwservice/DocLitWrapWebServiceTest.java Fri Jan  6 09:11:46 2006
@@ -22,7 +22,7 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 import org.apache.beehive.controls.api.bean.Control;
-import org.apache.beehive.controls.system.webservice.units.utils.ControlTestCase;
+import org.apache.beehive.controls.test.junit.ControlTestCase;
 import org.apache.beehive.wsm.util.GenericHolder;
 import org.apache.axis.AxisFault;
 import org.w3c.dom.Element;
@@ -30,12 +30,19 @@
 import org.w3c.dom.NodeList;
 import test.DocumentLiteralWrappedSampleService;
 
+/**
+ * Doc/lit/wrapped service tests.
+ */
 public class DocLitWrapWebServiceTest
     extends ControlTestCase {
 
     @Control
     public DocumentLiteralWrappedSampleService client;
 
+    /**
+     * 
+     * @throws Exception
+     */
     public void testPhones() throws Exception {
         web.complex.Phone[] phones;
         phones = client.getPhoneArray();
@@ -44,6 +51,10 @@
         assertEquals(222, phones[1].getAreaCode());
     }
 
+    /**
+     *
+     * @throws Exception
+     */
     public void testReturnAddressFromBody() throws Exception {
 
         web.complex.StateType state = web.complex.StateType.Factory.newInstance();
@@ -78,6 +89,10 @@
         assertTrue(phoneResult.isNilNumber());
     }
 
+    /**
+     *
+     * @throws Exception
+     */
     public void testReturnAddressFromHeader() throws Exception {
         web.complex.StateType state = web.complex.StateType.Factory.newInstance();
         state.setState("CA");
@@ -109,6 +124,10 @@
         assertTrue(phoneResult.isNilNumber());
     }
 
+    /**
+     *
+     * @throws Exception
+     */
     public void testCreateAddressInBody() throws Exception {
         web.complex.Address addr = client.createAddressInBody();
         
@@ -122,6 +141,10 @@
         assertEquals(98008, addr.getZip());
     }
 
+    /**
+     *
+     * @throws Exception
+     */
     public void testCreateAddressInHeader() throws Exception {
         web.complex.Address addr = web.complex.Address.Factory.newInstance();
         GenericHolder gHolder = new GenericHolder(addr);
@@ -142,6 +165,10 @@
         assertEquals(98008, addr.getZip());
     }
 
+    /**
+     * Test complex object in body of message.
+     * @throws Exception
+     */
     public void testChangeAddressInBody() throws Exception {
         web.complex.Address addr = web.complex.Address.Factory.newInstance();
         addr.setCity("Boulder");
@@ -152,6 +179,10 @@
         assertEquals(addr.getZip() + 1, returnAddr.getZip());
     }
 
+    /**
+     * Test header modifications.
+     * @throws Exception
+     */
     public void testChangeAddressInHeader() throws Exception {
         web.complex.Address addr = web.complex.Address.Factory.newInstance();
         addr.setCity("Louisville");
@@ -166,6 +197,10 @@
         assertEquals(addr.getZip() + 1, returnAddr.getZip());
     }
 
+    /**
+     * Test fault handling.
+     * @throws Exception
+     */
     public void testThrowAddressException() throws Exception {
 
         try {
@@ -177,6 +212,10 @@
         fail("Expected AddressException to be thrown!");
     }
 
+    /**
+     * Test complex exception/fault handling.
+     * @throws Exception
+     */
     public void testThrowComplexAddreessException() throws Exception {
         try {
             client.throwComplexAddressException();
@@ -199,18 +238,6 @@
              return;
         }
         fail("Expected ComplexAddressException to be thrown!");
-    }
-
-    public void setUp()
-        throws Exception {
-        try {
-            super.setUp();
-            initializeControls(this);
-            setMyControlObject(client);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
     }
 
     public static Test suite() {