KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > annotations > PackageLevelTest


1 //$Id: PackageLevelTest.java,v 1.1 2005/05/12 13:33:52 epbernard Exp $
2
package org.hibernate.test.annotations;
3
4 import org.hibernate.Session;
5
6 /**
7  * @author Emmanuel Bernard
8  */

9 public class PackageLevelTest extends TestCase {
10
11     /**
12      * @param x
13      */

14     public PackageLevelTest(String JavaDoc x) {
15         super(x);
16     }
17
18     /**
19      * @see org.hibernate.test.annotations.TestCase#getMappings()
20      */

21     protected Class JavaDoc[] getMappings() {
22         return new Class JavaDoc[] {};
23     }
24     
25     protected String JavaDoc[] getAnnotatedPackages() {
26         return new String JavaDoc[] {
27             "org.hibernate.test.annotations",
28             "org.hibernate.test.annotations.duplicatedgenerator",
29             "org.hibernate.test.annotations.wrongoremptypackage",
30         };
31     }
32     
33     public void testDuplicatedGenerator() throws Exception JavaDoc {
34         Session s = openSession();
35         s.close();
36     }
37
38 }
39
Popular Tags