[jboss-cvs] JBossAS SVN: r58131 - 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:07:52 EST 2006
Author: thomas.diesler at jboss.com
Date: 2006-11-05 14:07:50 -0500 (Sun, 05 Nov 2006)
New Revision: 58131
Modified:
branches/Branch_4_2/testsuite/src/main/org/jboss/test/webservice/marshalltest/MarshallTestBase.java
Log:
reenable tests
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 19:04:20 UTC (rev 58130)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/webservice/marshalltest/MarshallTestBase.java 2006-11-05 19:07:50 UTC (rev 58131)
@@ -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