ch.elca.el4j.tests.remoting.jaxws
Class CalculatorJaxwsGeneratedTest

java.lang.Object
  extended by ch.elca.el4j.tests.core.AbstractTest
      extended by ch.elca.el4j.tests.remoting.jaxws.AbstractJaxwsTest
          extended by ch.elca.el4j.tests.remoting.jaxws.CalculatorJaxwsGeneratedTest

public class CalculatorJaxwsGeneratedTest
extends AbstractJaxwsTest

This class is a test for JAX-WS using the generated classes directly.

Author:
Philippe Jacot (PJA), Stefan Wismer (SWI)
File-location:
CalculatorJaxwsGeneratedTest
Last check-in date:
2010-10-28 09:12:24 +0200 (Do, 28. Okt 2010) by sstelca for revision 4181

Field Summary
private static double DOUBLE_TOLERANCE
          Is the delta to doubles can have to be equal.
 
Constructor Summary
CalculatorJaxwsGeneratedTest()
           
 
Method Summary
 Calculator getCalc()
          Get the calculator to use.
protected  String[] getIncludeConfigLocations()
          
 void testAreaCalculation()
          This test tests the area calculation method.
 void testEchoOfValueObject()
          This test is used to test if a value object will be serialized and deserialized correctly.
 void testExceptionBehaviour()
          This test tests the exception handling.
 void testNumberOfUppercaseCharacters()
          This test tests the counting of uppercase letters.
 
Methods inherited from class ch.elca.el4j.tests.remoting.jaxws.AbstractJaxwsTest
getExcludeConfigLocations
 
Methods inherited from class ch.elca.el4j.tests.core.AbstractTest
closeAllApplicationContexts, getApplicationContext, isBeanOverridingAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOUBLE_TOLERANCE

private static final double DOUBLE_TOLERANCE
Is the delta to doubles can have to be equal.

See Also:
Constant Field Values
Constructor Detail

CalculatorJaxwsGeneratedTest

public CalculatorJaxwsGeneratedTest()
Method Detail

getIncludeConfigLocations

protected String[] getIncludeConfigLocations()

Specified by:
getIncludeConfigLocations in class AbstractTest
Returns:
Returns the string array with include locations.

testAreaCalculation

public void testAreaCalculation()
This test tests the area calculation method.


testExceptionBehaviour

public void testExceptionBehaviour()
This test tests the exception handling.


testNumberOfUppercaseCharacters

public void testNumberOfUppercaseCharacters()
This test tests the counting of uppercase letters.


testEchoOfValueObject

public void testEchoOfValueObject()
This test is used to test if a value object will be serialized and deserialized correctly.


getCalc

public Calculator getCalc()
Get the calculator to use.

Returns:
Calculator to use


Copyright © 2005-2011 ELCA. All Rights Reserved.