19 sys.path.insert(1,
"../")
23 from InPortCorbaCdrConsumer
import *
32 self.
_cons = OpenRTM_aist.InPortConsumerFactory.instance().createObject(
"corba_cdr")
34 self.
_orb = OpenRTM_aist.Manager.instance().getORB()
42 self.assertEqual(self._cons.put(123),OpenRTM_aist.DataPortStatus.CONNECTION_LOST)
50 ior = self._orb.object_to_string(self._inp.get_port_profile().port_ref)
53 self._inp.get_port_profile().port_ref)]),
True)
57 ior = self._orb.object_to_string(self._inp.get_port_profile().port_ref)
61 self._inp.get_port_profile().port_ref)]),
True)
63 self._inp.get_port_profile().port_ref)])
67 ior = self._orb.object_to_string(self._inp.get_port_profile().port_ref)
73 self._inp.get_port_profile().port_ref)]),
True)
77 ior = self._orb.object_to_string(self._inp.get_port_profile().port_ref)
84 self._inp.get_port_profile().port_ref)]),
True)
86 self._inp.get_port_profile().port_ref)]),
True)
90 if __name__ ==
'__main__':
def test_unsubscribeInterface(self)
def test_publishInterfaceProfile(self)
The Properties class represents a persistent set of properties.
def test_unsubscribeFromRef(self)
def test_subscribeInterface(self)
def InPortCorbaCdrConsumerInit()
def test_unsubscribeFromIor(self)
def test_subscribeFromIor(self)
def test_subscribeFromRef(self)
def newNV(name, value)
Create NameVale.