public void TestStructTC() { string name = "OrbServices_TestStruct"; string repId = "IDL:Ch/Elca/Iiop/Tests/" + name + ":1.0"; StructMember m1 = new StructMember("M1", m_orb.create_long_tc()); omg.org.CORBA.TypeCode tc = m_orb.create_struct_tc(repId, name, new StructMember[] { m1 }); Assert.AreEqual(repId, tc.id(), "id"); Assert.AreEqual(TCKind.tk_struct, tc.kind(), "king"); Assert.AreEqual(1, tc.member_count(), "nr of members"); Assert.AreEqual(m1.name, tc.member_name(0), "member m1 name"); Assert.AreEqual(m1.type.kind(), tc.member_type(0).kind(), "member m1 type"); }