ch.elca.el4j.tests.remoting
Class AbstractCalculatorTest

java.lang.Object
  extended by ch.elca.el4j.tests.core.AbstractTest
      extended by ch.elca.el4j.tests.remoting.AbstractCalculatorTest
Direct Known Subclasses:
CalculatorHessianTest, CalculatorHttpInvokerTest, CalculatorRmiTest

public abstract class AbstractCalculatorTest
extends AbstractTest

This class is a test for the calculator.

Author:
Waraich Rashid (RWA)
File-location:
AbstractCalculatorTest
Last check-in date:
2010-08-19 13:27:36 +0200 (Do, 19. Aug 2010) by swrelca for revision 4122

Field Summary
private  Calculator m_calc
          Instance of the calculator proxy.
private static org.slf4j.Logger s_logger
          Private logger.
 
Constructor Summary
AbstractCalculatorTest()
           
 
Method Summary
 Calculator getCalc()
           
 void testAbilityToHandleEnumerations()
          Tests if the protocol is able to handle enumerations.
 void testAreaCalculation()
          This test tests the area calculation method.
 void testExceptionBehaviour()
          This test tests the exception handling.
 
Methods inherited from class ch.elca.el4j.tests.core.AbstractTest
closeAllApplicationContexts, getApplicationContext, getExcludeConfigLocations, getIncludeConfigLocations, isBeanOverridingAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_logger

private static org.slf4j.Logger s_logger
Private logger.


m_calc

private Calculator m_calc
Instance of the calculator proxy.

Constructor Detail

AbstractCalculatorTest

public AbstractCalculatorTest()
Method Detail

getCalc

public Calculator getCalc()
Returns:
the calculator object

testAreaCalculation

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


testExceptionBehaviour

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

Throws:
Exception
Throwable

testAbilityToHandleEnumerations

public void testAbilityToHandleEnumerations()
Tests if the protocol is able to handle enumerations.



Copyright © 2005-2011 ELCA. All Rights Reserved.