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

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

org.test4j.hamcrestIObjectAssert 的使用
 

返回 IObjectAssertorg.test4j.hamcrest 中的方法
 IObjectAssert TheStyleAssertion.object()
          a parameter general object will be asserted
 IObjectAssert WantStyleAssertion.object(Object bean)
          通用object对象断言
 

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

实现 IObjectAssertorg.test4j.hamcrest.iassert.object.impl 中的类
 class ObjectAssert
           
 

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

返回 IObjectAssertorg.test4j.module.database.dbop 中的方法
 IObjectAssert ITableOp.queryAs(Class pojo)
          查询单条数据,转换为PoJo对象。
 IObjectAssert IDBOperator.queryAsPoJo(String sql, Class pojo)
          查询数据,并且返回的数据只有一行
将数据自动填充到 pojo 类型的对象中,并且返回对象的断言器
 



Copyright © 2013. All rights reserved.