dain 2005/06/21 04:40:48
Modified: modules/core/src/test/org/openejb/corba/compiler
PortableStubCompilerTest.java Simple.java
Log:
Fixed a few bugs in the generator
Revision Changes Path
1.2 +8 -3
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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PortableStubCompilerTest.java 21 Jun 2005 01:22:14 -0000 1.1
+++ PortableStubCompilerTest.java 21 Jun 2005 08:40:47 -0000 1.2
@@ -68,7 +68,12 @@
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()}));
+ 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);
1.2 +3 -10
openejb/modules/core/src/test/org/openejb/corba/compiler/Simple.java
Index: Simple.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/corba/compiler/Simple.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Simple.java 21 Jun 2005 01:22:14 -0000 1.1
+++ Simple.java 21 Jun 2005 08:40:48 -0000 1.2
@@ -50,13 +50,6 @@
import org.openejb.corba.compiler.other.BlahEx;
import org.openejb.corba.compiler.other.CheeseIDLEntity;
-import org.openejb.corba.compiler.other.Generic$Interface;
-import org.openejb.corba.compiler.other.DonkeyEx;
-import org.openejb.corba.compiler.other.Donkey;
-import org.openejb.corba.compiler.BooException;
-import org.openejb.corba.compiler.Foo;
-import org.openejb.corba.compiler.other.BlahEx;
-import org.openejb.corba.compiler.other.CheeseIDLEntity;
import org.openejb.corba.compiler.other.Donkey;
import org.openejb.corba.compiler.other.DonkeyEx;
import org.openejb.corba.compiler.other.Generic$Interface;
@@ -64,7 +57,7 @@
/**
* @version $Rev$ $Date$
*/
-public interface Simple extends Remote {
+public interface Simple extends Remote, Special {
public void invoke(boolean x0,
char x1,
byte x2,