dain 2004/10/14 03:07:17
Modified: modules/core/src/test/org/openejb/entity/cmp
CMPSystemMethodIndicesTest.java
Log:
CMP 1.1 beans now work as well a CMP 2.0 beans
Revision Changes Path
1.2 +2 -2
openejb/modules/core/src/test/org/openejb/entity/cmp/CMPSystemMethodIndicesTest.java
Index: CMPSystemMethodIndicesTest.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/entity/cmp/CMPSystemMethodIndicesTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CMPSystemMethodIndicesTest.java 7 Jul 2004 22:17:36 -0000 1.1
+++ CMPSystemMethodIndicesTest.java 14 Oct 2004 07:07:16 -0000 1.2
@@ -68,7 +68,7 @@
public void testSystemMethodIndices() throws Exception {
CMPContainerBuilder builder = new CMPContainerBuilder();
builder.setClassLoader(MockCMPEJB.class.getClassLoader());
- Map vopMap = builder.buildVopMap(MockCMPEJB.class, null, null, null, null,
null, new LinkedHashMap());
+ Map vopMap = builder.buildVopMap(MockCMPEJB.class, null, null, null, null,
null, null, new LinkedHashMap());
InterfaceMethodSignature[] signatures = (InterfaceMethodSignature[])
vopMap.keySet().toArray(new InterfaceMethodSignature[vopMap.size()]);
SystemMethodIndices systemMethodIndices =
SystemMethodIndices.createSystemMethodIndices(signatures, "setEntityContext", new
String(EntityContext.class.getName()), "unsetEntityContext");
assertFalse(systemMethodIndices.getEjbActivateInvocation(null).getMethodIndex() == -1);