KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > easybeans > tests > common > ejbs > base > ItfLocalInheritanceTester00


1 /**
2  * EasyBeans
3  * Copyright (C) 2006 Bull S.A.S.
4  * Contact: easybeans@objectweb.org
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19  * USA
20  *
21  * --------------------------------------------------------------------------
22  * $Id: ItfLocalInheritanceTester00.java 360 2006-04-19 07:51:41Z studzine $
23  * --------------------------------------------------------------------------
24  */

25 package org.objectweb.easybeans.tests.common.ejbs.base;
26
27 import org.testng.annotations.Test;
28
29 /**
30  * Interface used to local inheritance tests.
31  * @author Eduardo Studzinski Estima de Castro
32  * @author Gisele Pinheiro Souza
33  *
34  */

35 public interface ItfLocalInheritanceTester00 {
36
37     /**
38      * Gets a new reference of the beans.
39      * @throws Exception if a problem occurs.
40      */

41     void startUp() throws Exception JavaDoc;
42
43     /**
44      * Verifies if the bean business method is running correctly. The bean
45      * business method is implemented by a extended class that implements an
46      * interface. The bean doesn't have any @Local or @Remote.
47      * @input List with no values inside.
48      * @output List with only one value, the value inserted by the method.
49      */

50     @SuppressWarnings JavaDoc("unchecked")
51     @Test(groups = {"withInheritance"})
52     void test00();
53
54     /**
55      * Verifies if the bean business method is running correctly. The bean
56      * business method is implemented by a extended class that implements an
57      * interface. The bean has a @Local as unique interface implemented.
58      * @input List with no values inside.
59      * @output List with only one value, the value inserted by the method.
60      */

61     @SuppressWarnings JavaDoc("unchecked")
62     @Test(groups = {"withInheritance"})
63     void test01();
64
65 }
66
Popular Tags