public void TestValueTypeTC() { string name = "OrbServices_TestValueType"; string repId = "IDL:Ch/Elca/Iiop/Tests/" + name + ":1.0"; ValueMember m1 = new ValueMember("M1", m_orb.create_long_tc(), 0); omg.org.CORBA.TypeCode tc = m_orb.create_value_tc(repId, name, 0, m_orb.create_null_tc(), new ValueMember[] { m1 }); Assert.AreEqual(repId, tc.id(), "id"); Assert.AreEqual(TCKind.tk_value, 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"); }