类 org.test4j.module.ICore.DataMap
的使用

使用 ICore.DataMap 的软件包
org.test4j.hamcrest.iassert.common.impl   
org.test4j.hamcrest.iassert.common.intf   
org.test4j.hamcrest.matcher.property   
org.test4j.module.database.dbop   
org.test4j.tools.datagen   
 

org.test4j.hamcrest.iassert.common.implICore.DataMap 的使用
 

参数类型为 ICore.DataMaporg.test4j.hamcrest.iassert.common.impl 中的方法
 E ReflectionAssert.propertyEqMap(ICore.DataMap expected, EqMode... modes)
           
 E ListAssert.propertyEqMap(int count, ICore.DataMap expected, EqMode... modes)
           
 E ReflectionAssert.reflectionEqMap(ICore.DataMap expected, EqMode... modes)
           
 E ListAssert.reflectionEqMap(int count, ICore.DataMap expected, EqMode... modes)
           
 

类型变量类型为 ICore.DataMaporg.test4j.hamcrest.iassert.common.impl 中的方法参数
 E ListAssert.reflectionEqMap(List<ICore.DataMap> expected, EqMode... modes)
           
 

org.test4j.hamcrest.iassert.common.intfICore.DataMap 的使用
 

参数类型为 ICore.DataMaporg.test4j.hamcrest.iassert.common.intf 中的方法
 E IReflectionAssert.propertyEqMap(ICore.DataMap expected, EqMode... modes)
          把实际对象按照Map中的key值取出来,进行反射比较
如果对象的属性不在Map中,则不进行比较
功能和 "propertyEq(String[] properties, Object expected, EqMode... modes)"类似, 无非这里是把属性写到了Map中,方便一一对应
 E IListAssert.propertyEqMap(int count, ICore.DataMap expected, EqMode... modes)
          want: the value of properties specified by DataMap's keys of items in collection(array) should be equal to the value of corresponding key in DataMap.
 E IReflectionAssert.reflectionEqMap(ICore.DataMap expected, EqMode... modes)
          Same as propertyEqMap, will be @deprecated in the future.
 E IListAssert.reflectionEqMap(int count, ICore.DataMap expected, EqMode... modes)
          will be @deprecated in the future.
 

类型变量类型为 ICore.DataMaporg.test4j.hamcrest.iassert.common.intf 中的方法参数
 E IListAssert.reflectionEqMap(List<ICore.DataMap> expected, EqMode... modes)
           
 

org.test4j.hamcrest.matcher.propertyICore.DataMap 的使用
 

参数类型为 ICore.DataMaporg.test4j.hamcrest.matcher.property 中的构造方法
MapPropertyEqaulMatcher(ICore.DataMap expected, EqMode[] modes)
           
 

类型变量类型为 ICore.DataMaporg.test4j.hamcrest.matcher.property 中的构造方法参数
MapListPropertyEqaulMatcher(List<ICore.DataMap> expected, EqMode[] modes)
           
 

org.test4j.module.database.dbopICore.DataMap 的使用
 

参数类型为 ICore.DataMaporg.test4j.module.database.dbop 中的方法
 ITableOp ITableOp.insert(ICore.DataMap data, ICore.DataMap... datas)
          根据Map的key(表字段)插入数据
 ITableOp ITableOp.insert(ICore.DataMap data, ICore.DataMap... datas)
          根据Map的key(表字段)插入数据
 ITableOp ITableOp.insert(int count, ICore.DataMap data)
          批量插入count条数据
 void IInsertOp.insert(String table, ICore.DataMap data)
          插入数据操作
 ICollectionAssert ITableOp.queryWhere(ICore.DataMap where)
          根据条件查询数据,并返回数据断言器
 

org.test4j.tools.datagenICore.DataMap 的使用
 

类型参数类型为 ICore.DataMaporg.test4j.tools.datagen 中的字段
protected  List<ICore.DataMap> DataSet.datas
           
 

返回变量类型为 ICore.DataMap 的类型的 org.test4j.tools.datagen 中的方法
static List<ICore.DataMap> DataSet.parseMapList(int count, ICore.DataMap datas)
          根据要插入数据的数量count和数据集合datas,分解出count条待插入的数据集
 

参数类型为 ICore.DataMaporg.test4j.tools.datagen 中的方法
 void DataSet.data(ICore.DataMap data)
           
 void DataSet.data(int count, ICore.DataMap datas)
           
static List<ICore.DataMap> DataSet.parseMapList(int count, ICore.DataMap datas)
          根据要插入数据的数量count和数据集合datas,分解出count条待插入的数据集
 



Copyright © 2013. All rights reserved.