KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > modules > edit > SpecialCharacterTest


1 /*
2  * Created on Aug 3, 2004
3  */

4 package com.openedit.modules.edit;
5
6 import junit.framework.TestCase;
7
8 /**
9  * @author Matthew Avery, mavery@einnovation.com
10  */

11 public class SpecialCharacterTest extends TestCase
12 {
13
14     public SpecialCharacterTest( String JavaDoc arg0 )
15     {
16         super( arg0 );
17         // TODO Auto-generated constructor stub
18
}
19
20     public void testEscapeSpecialCharacters()
21     {
22         String JavaDoc result = SpecialCharacter.escapeSpecialCharacters("<");
23         assertEquals( "<", result );
24     }
25
26 }
27
Popular Tags