KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > xradar > test > b > B1Test


1 package org.xradar.test.b;
2
3 /**
4  * Enter Class description
5  * Date: 07.okt.2004
6  * Time: 19:57:23
7  * @author Kristoffer Kvam
8  */

9
10 import junit.framework.*;
11 import org.xradar.test.b.B1;
12
13 public class B1Test extends TestCase {
14     B1 b1;
15     private static final String JavaDoc TEST_STRING = "Bla-bla";
16
17     protected void setUp() throws Exception JavaDoc {
18         super.setUp();
19         b1 = new B1(TEST_STRING);
20     }
21
22     public void testB1() throws Exception JavaDoc {
23         String JavaDoc testString = b1.getTest();
24         assertEquals(TEST_STRING, testString);
25     }
26 }
Popular Tags