[openrtm-commit:00416] r567 - trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 9月 21日 (水) 17:10:27 JST
Author: fsi-katami
Date: 2011-09-21 17:10:27 +0900 (Wed, 21 Sep 2011)
New Revision: 567
Modified:
trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC/ConfigAdminTest.java
Log:
Programs for the test have been updated.
Modified: trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC/ConfigAdminTest.java
===================================================================
--- trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC/ConfigAdminTest.java 2011-09-21 06:41:04 UTC (rev 566)
+++ trunk/jp.go.aist.rtm.RTC/tests/src/jp/go/aist/rtm/RTC/ConfigAdminTest.java 2011-09-21 08:10:27 UTC (rev 567)
@@ -689,6 +689,10 @@
assertEquals(true, configAdmin.activateConfigurationSet("id"));
configAdmin.update();
assertEquals(false, configAdmin.isChanged());
+ Properties configSet2 = new Properties("id2");
+ configSet2.setProperty("key2", "value");
+ assertEquals(true, configAdmin.addConfigurationSet(configSet2));
+ assertEquals(true, configAdmin.activateConfigurationSet("id2"));
// removeConfigurationSet()の呼出後は、isChanged()は真値となるか?
assertEquals(true, configAdmin.removeConfigurationSet("id"));
@@ -817,6 +821,9 @@
assertEquals(true, configAdmin.activateConfigurationSet("id"));
assertEquals(true, configAdmin.isActive());
+ Properties configSet2 = new Properties("id2");
+ assertEquals(true, configAdmin.addConfigurationSet(configSet2));
+ assertEquals(true, configAdmin.activateConfigurationSet("id2"));
// 登録されているコンフィグレーションセットをremoveConfigurationSet()で解除した場合、
// isActive()は正しく偽値を得るか?
assertEquals(true, configAdmin.removeConfigurationSet("id"));
openrtm-commit メーリングリストの案内