Exemplo n.º 1
0
        public void TestSequenceTC()
        {
            TypeCodeImpl seqMemberType = (TypeCodeImpl)m_orb.create_octet_tc();

            omg.org.CORBA.TypeCode seqOfOctet_TC =
                m_orb.create_sequence_tc(0, seqMemberType);
            Assert.AreEqual(TCKind.tk_sequence, seqOfOctet_TC.kind(), "sequence kind");
            Assert.AreEqual(seqMemberType.GetClsForTypeCode(),
                            ((TypeCodeImpl)seqOfOctet_TC.content_type()).GetClsForTypeCode(), "sequence member type");
        }