/**
* TODO: add comments.
*
* @throws Exception
*/
private void testFieldValue() throws Exception {
String fieldName = "simple field";
ArrayList arrayList = new ArrayList();
String valueOfElement = "value";
arrayList.add(valueOfElement);
DescriptorSupport descriptorSupport = new DescriptorSupport(
new String[] { fieldName }, new Object[] { arrayList });
assertEquals(((ArrayList)descriptorSupport.getFieldValue(fieldName))
.get(0), valueOfElement);
descriptor = descriptorSupport;
// TODO: following line throws exception
// descriptorSupport.toXMLString();
// commonCheck();
}
DefaultDescriptorTest.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:freeVM
作者:
评论列表
文章目录