[openrtm-commit:00433] r574 - trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC/port
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 9月 29日 (木) 16:17:02 JST
Author: fsi-katami
Date: 2011-09-29 16:17:01 +0900 (Thu, 29 Sep 2011)
New Revision: 574
Modified:
trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC/port/PublisherFlushTests.java
Log:
Programs for the test have been updated.
Modified: trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC/port/PublisherFlushTests.java
===================================================================
--- trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC/port/PublisherFlushTests.java 2011-09-29 03:01:24 UTC (rev 573)
+++ trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC/port/PublisherFlushTests.java 2011-09-29 07:17:01 UTC (rev 574)
@@ -307,6 +307,12 @@
}
assertEquals(ReturnCode.PORT_OK,publisher.setConsumer(consumer));
+ ConnectorListeners listeners = new ConnectorListeners();
+ Vector<String> ports = new Vector<String>();
+ Properties prop = new Properties("id","test");
+ ConnectorBase.ConnectorInfo info
+ = new ConnectorBase.ConnectorInfo("test","test",ports,prop);
+ assertEquals(ReturnCode.PORT_OK,publisher.setListener(info, listeners));
//write() is called before activate() is called.
{
openrtm-commit メーリングリストの案内