djencks     2005/06/21 11:54:45

  Modified:    modules/core/src/test/org/openejb/corba/compiler
                        PortableStubCompilerTest.java
  Log:

  Comment out test that uses missing class
  
  Revision  Changes    Path
  1.3       +25 -25    
openejb/modules/core/src/test/org/openejb/corba/compiler/PortableStubCompilerTest.java
  
  Index: PortableStubCompilerTest.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/corba/compiler/PortableStubCompilerTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortableStubCompilerTest.java     21 Jun 2005 08:40:47 -0000      1.2
  +++ PortableStubCompilerTest.java     21 Jun 2005 15:54:45 -0000      1.3
  @@ -61,29 +61,29 @@
   public class PortableStubCompilerTest extends TestCase {
       private static final File basedir = new 
File(System.getProperty("basedir", System.getProperty("user.dir")));
   
  -    public void testStubCompiler() throws Exception {
  -        GenOptions genOptions = new GenOptions();
  -        new File("target/stubs").mkdirs();
  -        genOptions.setClasspath("target/classes");
  -        genOptions.setCompile(false);
  -        genOptions.setGenSrcDir("target/stubs");
  -        genOptions.setGenerate(true);
  -        genOptions.setInterfaces(Arrays.asList(new String[]{
  -            Simple.class.getName(),
  -            Foo.class.getName(),
  -            Special.class.getName(),
  -            All.class.getName()
  -        }));
  -        genOptions.setLoadclass(true);
  -        genOptions.setOverwrite(true);
  -        genOptions.setSimpleIdl(false);
  -        genOptions.setVerbose(true);
  -
  -        ClassLoader classLoader = getClass().getClassLoader();
  -        PortableStubCompiler stubCompiler = new 
PortableStubCompiler(genOptions, classLoader);
  -
  -        stubCompiler.generate();
  -    }
  +//    public void testStubCompiler() throws Exception {
  +//        GenOptions genOptions = new GenOptions();
  +//        new File("target/stubs").mkdirs();
  +//        genOptions.setClasspath("target/classes");
  +//        genOptions.setCompile(false);
  +//        genOptions.setGenSrcDir("target/stubs");
  +//        genOptions.setGenerate(true);
  +//        genOptions.setInterfaces(Arrays.asList(new String[]{
  +//            Simple.class.getName(),
  +//            Foo.class.getName(),
  +//            Special.class.getName(),
  +//            All.class.getName()
  +//        }));
  +//        genOptions.setLoadclass(true);
  +//        genOptions.setOverwrite(true);
  +//        genOptions.setSimpleIdl(false);
  +//        genOptions.setVerbose(true);
  +//
  +//        ClassLoader classLoader = getClass().getClassLoader();
  +//        PortableStubCompiler stubCompiler = new 
PortableStubCompiler(genOptions, classLoader);
  +//
  +//        stubCompiler.generate();
  +//    }
   
       public void testBasicNameMangler() throws Exception {
           Properties nameManglerProperties = new Properties();
  
  
  

Reply via email to