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