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 ModuleTest extends TestCase 34 { 35 public ModuleTest (String name) 36 { 37 super (name); 38 } 39 40 41 public static Test suite () 42 { 43 TestSuite suite = new TestSuite ("Module Tests"); 44 suite.addTest (new ModuleTest ("testModuleParseGood")); 45 46 return suite; 47 } 48 49 50 52 public void testModuleParseGood () 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/Module.idl"; 58 59 assertTrue ("Compiled Module.idl", org.jacorb.idl.parser.compileAndHandle (file)); 60 } 61 } 62 | Popular Tags |