19 sys.path.insert(1,
"../")
23 from InPortPushConnector
import *
27 from OpenRTM_aist
import *
44 class TestInPortPushConnector(unittest.TestCase):
46 OpenRTM_aist.Manager.instance()
51 self.assertEqual(self._con.read(data),OpenRTM_aist.DataPortStatus.BUFFER_TIMEOUT)
53 self.assertEqual(self._con.read(data),OpenRTM_aist.DataPortStatus.BUFFER_TIMEOUT)
57 self.assertEqual(self._con.disconnect(),OpenRTM_aist.DataPortStatus.PORT_OK)
65 self._con.deactivate()
76 if __name__ ==
'__main__':
def setBuffer(self, buff)
The Properties class represents a persistent set of properties.
InPortPushConnector class.
def test_deactivate(self)
def setListener(self, info, listener)
def test_createBuffer(self)
def test_disconnect(self)