01: package com.bm.testsuite;
02:
03: import com.bm.introspectors.JbossServiceIntrospector;
04: import com.bm.testsuite.dataloader.InitialDataSet;
05:
06: /**
07: * Base Jboss-Service test case.
08: *
09: * @author Daniel Wiese
10: * @param <T> -
11: * the type of the service
12: * @since 12.11.2005
13: */
14: public abstract class BaseJbossServiceFixture<T> extends
15: BaseSessionBeanFixture<T> {
16:
17: /**
18: * Constructor.
19: *
20: * @param sessionBeanToTest -
21: * to test
22: * @param usedEntityBeans -
23: * used
24: */
25: public BaseJbossServiceFixture(Class<T> sessionBeanToTest,
26: Class[] usedEntityBeans) {
27: super (sessionBeanToTest, new JbossServiceIntrospector<T>(
28: sessionBeanToTest), usedEntityBeans);
29: }
30:
31: /**
32: * Constructor.
33: *
34: * @param sessionBeanToTest -
35: * to test
36: * @param usedEntityBeans -
37: * used
38: * @param initialData -
39: * the inital data to create in the db
40: */
41: public BaseJbossServiceFixture(Class<T> sessionBeanToTest,
42: Class[] usedEntityBeans, InitialDataSet... initialData) {
43: super (sessionBeanToTest, new JbossServiceIntrospector<T>(
44: sessionBeanToTest), usedEntityBeans, initialData);
45: }
46:
47: }
|