[openrtm-commit:00529] r228 - trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/test/jp/go/aist/rtm/toolscommon/profiles/_test
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 12月 31日 (土) 01:40:36 JST
Author: sakamoto
Date: 2011-12-31 01:40:36 +0900 (Sat, 31 Dec 2011)
New Revision: 228
Modified:
trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/test/jp/go/aist/rtm/toolscommon/profiles/_test/ConstraintParseTest2.java
trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/test/jp/go/aist/rtm/toolscommon/profiles/_test/TestBase.java
Log:
Modified Test Code
Modified: trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/test/jp/go/aist/rtm/toolscommon/profiles/_test/ConstraintParseTest2.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/test/jp/go/aist/rtm/toolscommon/profiles/_test/ConstraintParseTest2.java 2011-12-21 17:26:36 UTC (rev 227)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/test/jp/go/aist/rtm/toolscommon/profiles/_test/ConstraintParseTest2.java 2011-12-30 16:40:36 UTC (rev 228)
@@ -11,7 +11,8 @@
String resourceFile = rootPath + "\\resource\\RTC\\Constraint\\Hash2.xml";
String expected = readFile(resourceFile,"\n");
- ConstraintType type = XmlHandler.convertToXmlConstraint("{key0:(ichi,one),key1:0.0<x<10.0}");
+// ConstraintType type = XmlHandler.convertToXmlConstraint("{key0:(ichi,one),key1:0.0<x<10.0}");
+ ConstraintType type = XmlHandler.convertToXmlConstraint("{el1:100<=x,el2:150}");
RtcProfile profile = createConstraintBase(type);
XmlHandler handler = new XmlHandler();
String result = handler.convertToXmlRtc(profile);
Modified: trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/test/jp/go/aist/rtm/toolscommon/profiles/_test/TestBase.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/test/jp/go/aist/rtm/toolscommon/profiles/_test/TestBase.java 2011-12-21 17:26:36 UTC (rev 227)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/test/jp/go/aist/rtm/toolscommon/profiles/_test/TestBase.java 2011-12-30 16:40:36 UTC (rev 228)
@@ -326,7 +326,7 @@
assertEquals("param_def2", param2.getDefaultValue());
//
LanguageExt lang = (LanguageExt)profile.getLanguage();
- assertEquals("java", lang.getKind());
+ assertEquals("Java", lang.getKind());
assertEquals("library1", lang.getTargets().get(0).getLibraries().get(0).getName());
}
openrtm-commit メーリングリストの案内