KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > test > portal > kernel > KernelTestCase


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.test.portal.kernel;
10
11 import junit.framework.TestCase;
12
13 import org.jboss.portal.server.kernel.Kernel;
14
15 /**
16  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
17  * @version $Revision: 1.2 $
18  */

19 public class KernelTestCase extends TestCase
20 {
21
22    protected final ServiceIDImpl FOO_ID = new ServiceIDImpl("foo");
23    protected final ServiceIDImpl BAR_ID = new ServiceIDImpl("bar");
24
25    public KernelTestCase(String JavaDoc s)
26    {
27       super(s);
28    }
29
30    protected Kernel kernel;
31
32    protected void setUp() throws Exception JavaDoc
33    {
34       kernel = new Kernel();
35    }
36
37    protected void tearDown() throws Exception JavaDoc
38    {
39       kernel = null;
40    }
41 }
42
Popular Tags