KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > editor > java > JavaBaseDocumentUnitTestCase


1
2 package org.netbeans.modules.editor.java;
3
4 import javax.swing.text.EditorKit JavaDoc;
5 import org.netbeans.modules.editor.java.JavaKit;
6 import org.netbeans.modules.editor.BaseDocumentUnitTestCase;
7
8 /**
9  * Testing support creating document instances for JavaKit.
10  *
11  * @author Miloslav Metelka
12  */

13 public class JavaBaseDocumentUnitTestCase extends BaseDocumentUnitTestCase {
14     
15     public JavaBaseDocumentUnitTestCase(String JavaDoc testMethodName) {
16         super(testMethodName);
17     }
18     
19     protected EditorKit JavaDoc createEditorKit() {
20         return new JavaKit(); // XXX not compatible now
21
}
22
23 }
24
Popular Tags