Esempio n. 1
0
        public void TestStringToObjectIORNormal()
        {
            Ior ior = new Ior("IDL:omg.org/CORBA/Object:1.0",
                              new IorProfile[] { m_profile });
            string iorString   = ior.ToString();
            object objToString = m_orb.string_to_object(iorString);

            Assert.NotNull(objToString, "obj to string not created");
            Assert.IsTrue(
                RemotingServices.IsTransparentProxy(objToString), "obj not a proxy");
        }