Пример #1
0
  public void testCreateDynamicTypeCode() throws Exception {
    TypeCode typeCode = org.jacorb.orb.TypeCode.create_tc(MyClass.class);

    assertEquals(2, typeCode.member_count());
    assertEquals(typeCode.member_type(0).type_modifier(), typeCode.member_type(1).type_modifier());
  }
Пример #2
0
 public void testEquals() {
   TypeCode tc = orb.create_string_tc(10);
   assertFalse(tc.equals("bla"));
 }