20 sys.path.insert(1,
"../")
24 from InPortProvider
import *
33 OpenRTM_aist.Manager.instance().shutdownManager()
37 InPortProviderFactory.instance().setInterfaceType(
"corba_cdr")
38 InPortProviderFactory.instance().setDataFlowType(
"push,pull")
39 InPortProviderFactory.instance().setSubscriptionType(
"flush,new,periodic")
40 InPortProviderFactory.instance().publishInterfaceProfile([])
43 InPortProviderFactory.instance().setInterfaceType(
"corba_cdr")
44 InPortProviderFactory.instance().setDataFlowType(
"push,pull")
45 InPortProviderFactory.instance().setSubscriptionType(
"flush,new,periodic")
46 self.assertEqual(InPortProviderFactory.instance().publishInterface([
OpenRTM_aist.NVUtil.newNV(
"dataport.interface_type",
"corba_cdr")]),
True)
50 if __name__ ==
'__main__':
def test_publishInterface(self)
def test_publishInterfaceProfile(self)
def newNV(name, value)
Create NameVale.