2 * License : The MIT License
3 * Copyright(c) 2010 olyutorskii
6 package jp.sourceforge.jindolf.parser;
8 import org.junit.After;
9 import org.junit.AfterClass;
10 import org.junit.Before;
11 import org.junit.BeforeClass;
12 import org.junit.Test;
13 import static org.junit.Assert.*;
18 public class ContentBuilderUCS2Test {
20 public ContentBuilderUCS2Test() {
24 public static void setUpClass() throws Exception{
28 public static void tearDownClass() throws Exception{
36 public void tearDown() {
40 * Test of charToUTF8 method, of class ContentBuilderUCS2.
43 public void testCharToUTF16(){
44 System.out.println("charToUTF16");
50 result = ContentBuilderUCS2.charToUTF16(ch);
52 assertEquals(2, result.length);