def test_ECM_PythonComponent(self):
self.localEvent = threading.Event()
self.eventFlag = False
self._devBooter, self._devMgr = self.launchDeviceManager("/nodes/test_BasicTestDevice_node/DeviceManager.dcd.xml", self._domMgr)
self.assertNotEqual(self._devBooter, None)
self._domMgr.installApplication("/waveforms/ECM2/ECM2.sad.xml")
appFact = self._domMgr._get_applicationFactories()[0]
self.assertNotEqual(appFact, None)
self.app = appFact.create(appFact._get_name(), [], [])
mlimit, mxmit, mrecv = self._process_results( self.app )
self.assertNotEquals(mlimit, None )
self.assertNotEquals(mxmit, None )
self.assertNotEquals(mrecv, None )
self.assertEquals(mlimit, mxmit )
self.assertEquals(mlimit, mrecv )
test_08_EventChannelManager.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录