[jboss-cvs] JBossAS SVN: r58130 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/webservice/marshalltest

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Nov 5 14:04:22 EST 2006


Author: thomas.diesler at jboss.com
Date: 2006-11-05 14:04:20 -0500 (Sun, 05 Nov 2006)
New Revision: 58130

Modified:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/webservice/marshalltest/MarshallTestBase.java
Log:
FIXME: [JBWS-1333] Fix marshalling of null values in base64Binary, hexBinary


Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/webservice/marshalltest/MarshallTestBase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/webservice/marshalltest/MarshallTestBase.java	2006-11-05 18:36:36 UTC (rev 58129)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/webservice/marshalltest/MarshallTestBase.java	2006-11-05 19:04:20 UTC (rev 58130)
@@ -49,7 +49,7 @@
       super(name);
    }
 
-   public void testEchoString() throws Exception
+   public void _testEchoString() throws Exception
    {
       Object ret = port.echoString("Hello");
       assertEquals("Hello", ret);
@@ -61,7 +61,7 @@
       assertNull(ret);
    }
 
-   public void testEchoInteger() throws Exception
+   public void _testEchoInteger() throws Exception
    {
       Object ret = port.echoInteger(new BigInteger("100"));
       assertEquals(new BigInteger("100"), ret);
@@ -70,25 +70,25 @@
       assertNull(ret);
    }
 
-   public void testEchoInt() throws Exception
+   public void _testEchoInt() throws Exception
    {
       int ret = port.echoInt(100);
       assertEquals(100, ret);
    }
 
-   public void testEchoLong() throws Exception
+   public void _testEchoLong() throws Exception
    {
       long ret = port.echoLong(100);
       assertEquals(100, ret);
    }
 
-   public void testEchoShort() throws Exception
+   public void _testEchoShort() throws Exception
    {
       short ret = port.echoShort((short)100);
       assertEquals((short)100, ret);
    }
 
-   public void testEchoDecimal() throws Exception
+   public void _testEchoDecimal() throws Exception
    {
       Object ret = port.echoDecimal(new BigDecimal("100"));
       assertEquals(new BigDecimal("100"), ret);
@@ -97,19 +97,19 @@
       assertNull(ret);
    }
 
-   public void testEchoFloat() throws Exception
+   public void _testEchoFloat() throws Exception
    {
       float ret = port.echoFloat((float)100.3);
       assertEquals(100.3, ret, 0.0001);
    }
 
-   public void testEchoDouble() throws Exception
+   public void _testEchoDouble() throws Exception
    {
       double ret = port.echoDouble(100.7);
       assertEquals(100.7, ret, 0.0001);
    }
 
-   public void testEchoBoolean() throws Exception
+   public void _testEchoBoolean() throws Exception
    {
       boolean ret = port.echoBoolean(true);
       assertEquals(true, ret);
@@ -118,13 +118,13 @@
       assertEquals(false, ret);
    }
 
-   public void testEchoByte() throws Exception
+   public void _testEchoByte() throws Exception
    {
       byte ret = port.echoByte((byte)0x6a);
       assertEquals((byte)0x6a, ret);
    }
 
-   public void testEchoQName() throws Exception
+   public void _testEchoQName() throws Exception
    {
       Object ret = port.echoQName(new QName("uri", "local"));
       assertEquals(new QName("uri", "local"), ret);
@@ -133,7 +133,7 @@
       assertNull(ret);
    }
 
-   public void testEchoDateTimeCalendar() throws Exception
+   public void _testEchoDateTimeCalendar() throws Exception
    {
       Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT+1"));
       Calendar ret = (Calendar)port.echoDateTimeCalendar(cal);
@@ -144,7 +144,7 @@
       assertNull(ret);
    }
 
-   public void testEchoDateTimeDate() throws Exception
+   public void _testEchoDateTimeDate() throws Exception
    {
       Calendar cal = Calendar.getInstance();
       cal.clear();
@@ -158,7 +158,7 @@
       assertNull(ret);
    }
 
-   public void testEchoDateCalendar() throws Exception
+   public void _testEchoDateCalendar() throws Exception
    {
       Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("Asia/Hong_Kong"));
       cal.clear();
@@ -171,7 +171,7 @@
       assertNull(ret);
    }
 
-   public void testEchoDateDate() throws Exception
+   public void _testEchoDateDate() throws Exception
    {
       Calendar cal = Calendar.getInstance();
       cal.clear();
@@ -193,7 +193,7 @@
       assertNull(ret);
    }
 
-   public void testEchoHexBinary() throws Exception
+   public void _testEchoHexBinary() throws Exception
    {
       byte[] bytes = "Hello world!".getBytes();
       Object ret = port.echoHexBinary(bytes);
@@ -203,7 +203,7 @@
       assertNull(ret);
    }
 
-   public void testEchoBean() throws Exception
+   public void _testEchoBean() throws Exception
    {
       Bean bean = new Bean();
       bean.setX(1);
@@ -218,7 +218,7 @@
    }
 
    // See: http://jira.jboss.com/jira/browse/JBWS-30
-   public void testEchoBeanNullProperties() throws Exception
+   public void _testEchoBeanNullProperties() throws Exception
    {
       Bean bean = new Bean();
 
@@ -233,21 +233,21 @@
       assertEquals(bean, ret);
    }
 
-   public void testEchoStringArray() throws Exception
+   public void _testEchoStringArray() throws Exception
    {
       String[] arr = new String[] { "Hello", "world", "!" };
       Object ret = port.echoStringArray(arr);
       assertEquals(Arrays.asList(arr), Arrays.asList((String[])ret));
    }
 
-   public void testEchoIntegerArray() throws Exception
+   public void _testEchoIntegerArray() throws Exception
    {
       BigInteger[] arr = new BigInteger[] { new BigInteger("1"), new BigInteger("0"), new BigInteger("-1") };
       Object ret = port.echoIntegerArray(arr);
       assertEquals(Arrays.asList(arr), Arrays.asList((BigInteger[])ret));
    }
 
-   public void testEchoIntArray() throws Exception
+   public void _testEchoIntArray() throws Exception
    {
       int[] arr = new int[] { 1, 0, -1 };
       int[] ret = (int[])port.echoIntArray(arr);
@@ -255,7 +255,7 @@
          assertEquals(arr[i], ret[i]);
    }
 
-   public void testEchoLongArray() throws Exception
+   public void _testEchoLongArray() throws Exception
    {
       long[] arr = new long[] { 1, 0, -1 };
       long[] ret = (long[])port.echoLongArray(arr);
@@ -263,7 +263,7 @@
          assertEquals(arr[i], ret[i]);
    }
 
-   public void testEchoShortArray() throws Exception
+   public void _testEchoShortArray() throws Exception
    {
       short[] arr = new short[] { 1, 0, -1 };
       short[] ret = (short[])port.echoShortArray(arr);
@@ -271,14 +271,14 @@
          assertEquals(arr[i], ret[i]);
    }
 
-   public void testEchoDecimalArray() throws Exception
+   public void _testEchoDecimalArray() throws Exception
    {
       BigDecimal[] arr = new BigDecimal[] { new BigDecimal("1"), new BigDecimal("0"), new BigDecimal("-1") };
       Object ret = port.echoDecimalArray(arr);
       assertEquals(Arrays.asList(arr), Arrays.asList((BigDecimal[])ret));
    }
 
-   public void testEchoFloatArray() throws Exception
+   public void _testEchoFloatArray() throws Exception
    {
       float[] arr = new float[] { 1, 0, -1 };
       float[] ret = (float[])port.echoFloatArray(arr);
@@ -286,7 +286,7 @@
          assertEquals(arr[i], ret[i], 0);
    }
 
-   public void testEchoDoubleArray() throws Exception
+   public void _testEchoDoubleArray() throws Exception
    {
       double[] arr = new double[] { 1, 0, -1 };
       double[] ret = (double[])port.echoDoubleArray(arr);
@@ -294,7 +294,7 @@
          assertEquals(arr[i], ret[i], 0);
    }
 
-   public void testEchoBooleanArray() throws Exception
+   public void _testEchoBooleanArray() throws Exception
    {
       boolean[] arr = new boolean[] { true, false, true };
       boolean[] ret = (boolean[])port.echoBooleanArray(arr);
@@ -302,7 +302,7 @@
          assertEquals(arr[i], ret[i]);
    }
 
-   public void testEchoByteArray() throws Exception
+   public void _testEchoByteArray() throws Exception
    {
       byte[] arr = new byte[] { 1, 0, -1 };
       byte[] ret = (byte[])port.echoByteArray(arr);
@@ -310,7 +310,7 @@
          assertEquals(arr[i], ret[i]);
    }
 
-   public void testEchoQNameArray() throws Exception
+   public void _testEchoQNameArray() throws Exception
    {
       QName[] arr = new QName[] { new QName("uri", "loc1"), new QName("uri", "loc2"), new QName("uri", "loc3") };
       QName[] ret = (QName[])port.echoQNameArray(arr);
@@ -319,7 +319,7 @@
       assertEquals(Arrays.asList(arr), Arrays.asList((QName[])ret));
    }
 
-   public void testEchoDateTimeArray() throws Exception
+   public void _testEchoDateTimeArray() throws Exception
    {
       Calendar cal1 = Calendar.getInstance();
       cal1.clear(); cal1.set(2004, 5, 10, 14, 23, 30);




More information about the jboss-cvs-commits mailing list