1 package org.jacorb.test.idl; 2 3 22 23 import junit.framework.*; 24 import org.jacorb.test.common.*; 25 26 32 33 public class CharTest extends TestCase 34 { 35 public CharTest (String name) 36 { 37 super (name); 38 } 39 40 41 public static Test suite () 42 { 43 TestSuite suite = new TestSuite ("Char Tests"); 44 suite.addTest (new CharTest ("testCharParseGood")); 45 46 return suite; 47 } 48 49 50 52 public void testCharParseGood () 53 { 54 String file[] = new String [3]; 55 file[0] = "-d"; 56 file[1] = TestUtils.testHome() + "/src/generated"; 57 file[2] = TestUtils.testHome() + "/idl/compiler/succeed/Char.idl"; 58 59 assertTrue ("Compiled Char.idl", org.jacorb.idl.parser.compileAndHandle (file)); 60 } 61 } 62 | Popular Tags |