1 4 package com.openedit.modules.edit; 5 6 import junit.framework.TestCase; 7 8 11 public class SpecialCharacterTest extends TestCase 12 { 13 14 public SpecialCharacterTest( String arg0 ) 15 { 16 super( arg0 ); 17 } 19 20 public void testEscapeSpecialCharacters() 21 { 22 String result = SpecialCharacter.escapeSpecialCharacters("<"); 23 assertEquals( "&lt;", result ); 24 } 25 26 } 27 | Popular Tags |