接口 org.test4j.hamcrest.iassert.object.intf.ICollectionAssert
的使用

使用 ICollectionAssert 的软件包
org.test4j.hamcrest   
org.test4j.hamcrest.iassert.object.impl   
org.test4j.hamcrest.iassert.object.intf   
org.test4j.module.database.dbop   
 

org.test4j.hamcrestICollectionAssert 的使用
 

返回 ICollectionAssertorg.test4j.hamcrest 中的方法
 ICollectionAssert TheStyleAssertion.collection()
          a parameter collection will be asserted
 ICollectionAssert WantStyleAssertion.collection(Collection collection)
          collection变量断言
 ICollectionAssert WantStyleAssertion.list(Collection collection)
          collection变量断言
 

org.test4j.hamcrest.iassert.object.implICollectionAssert 的使用
 

实现 ICollectionAssertorg.test4j.hamcrest.iassert.object.impl 中的类
 class CollectionAssert
           
 

返回 ICollectionAssertorg.test4j.hamcrest.iassert.object.impl 中的方法
 ICollectionAssert JSONAssert.isJSONArray()
           
 

org.test4j.hamcrest.iassert.object.intfICollectionAssert 的使用
 

返回 ICollectionAssertorg.test4j.hamcrest.iassert.object.intf 中的方法
 ICollectionAssert IJSONAssert.isJSONArray()
          json对象是集合
 

org.test4j.module.database.dbopICollectionAssert 的使用
 

返回 ICollectionAssertorg.test4j.module.database.dbop 中的方法
 ICollectionAssert ITableOp.query()
          查询表数据,做数据断言
 ICollectionAssert IDBOperator.query(String sql)
          查询数据列表,并进行断言
 ICollectionAssert ITableOp.queryList(Class pojo)
          查询表中所有的数据,并且每条数据填充到PoJo中
返回 List 的断言器
 ICollectionAssert IDBOperator.queryList(String sql, Class clazz)
          查询数据列表,并进行断言
 ICollectionAssert ITableOp.queryWhere(ICore.DataMap where)
          根据条件查询数据,并返回数据断言器
 ICollectionAssert ITableOp.queryWhere(String where)
          根据条件查询数据,并返回数据断言器
 



Copyright © 2013. All rights reserved.