20 sys.path.insert(1,
"../")
23 from omniORB
import any
26 from OutPortPushConnector
import *
37 def write(self, data, sec=0, usec=0):
58 return OpenRTM.PORT_OK
62 return OpenRTM.PORT_OK
77 wdata = RTC.TimedLong(RTC.Time(0,0), 123)
80 rdata = RTC.TimedLong(RTC.Time(0,0), 0)
81 get_data = cdrUnmarshal(any.to_any(rdata).typecode(),val,1)
82 self.assertEqual(get_data.data, 123)
87 self.assertEqual(self.
_oc.disconnect(), OpenRTM_aist.DataPortStatus.PORT_OK)
100 self.assertEqual(self.
_oc.getBuffer(),self.
_buffer)
112 if __name__ ==
'__main__':
def test_createPublisher(self)
The Properties class represents a persistent set of properties.
def test_deactivate(self)
def write(self, data, sec=0, usec=0)
def test_createBuffer(self)
def test_disconnect(self)