org.objectweb.easybeans.tests.interceptors.business
Class TestExceptions00

java.lang.Object
  extended by org.objectweb.easybeans.tests.interceptors.business.TestExceptions00

public class TestExceptions00
extends java.lang.Object

/** Verifies if the interceptors and exceptions are working well.

Author:
Gisele Pinheiro Souza, Eduardo Studzinski Estima de Castro
Reference:
JSR220-PROPOSED FINAL - Item:11.3.2
Requirement:
Application Server must be running; all test beans must be deployed.
Setup:
gets the reference of SLSBInterceptorExceptions00

Field Summary
private  ItfExceptions clBean
          Bean used to implement the test.
 
Constructor Summary
TestExceptions00()
           
 
Method Summary
 void startUp()
          Creates a bean to be used in the tests.
 void testException00()
          Verifies if the interceptor can throw a customized exception.
 void testException01()
          Verifies if the interceptor can throw a customized exception.
 void testException02()
          Verifies if the interceptor can throw a customized exception.
 void testException03()
          Verifies if the interceptor can throw a customized exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clBean

private ItfExceptions clBean
Bean used to implement the test.

Constructor Detail

TestExceptions00

public TestExceptions00()
Method Detail

startUp

public void startUp()
             throws java.lang.Exception
Creates a bean to be used in the tests.

Throws:
java.lang.Exception - if there is a problem with the bean initialization.

testException00

public void testException00()
                     throws java.lang.Exception
Verifies if the interceptor can throw a customized exception.

Throws:
java.lang.Exception - if there is an enhancer exception.

testException01

public void testException01()
                     throws java.lang.Exception
Verifies if the interceptor can throw a customized exception.

Throws:
java.lang.Exception - if there is an enhancer exception.

testException02

public void testException02()
                     throws java.lang.Exception
Verifies if the interceptor can throw a customized exception.

Throws:
java.lang.Exception - if there is an enhancer exception.

testException03

public void testException03()
                     throws java.lang.Exception
Verifies if the interceptor can throw a customized exception.

Throws:
java.lang.Exception - if there is an enhancer exception.