|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
T - E - public interface IListAssert<T,E extends IAssert>
| 方法摘要 | |
|---|---|
E |
eqIgnoreOrder(Object expected)
want: the actual collection(array) and the expected collection(array) they are equals when ignoring the items's order in both of them. |
E |
isEqualTo(Object expected,
EqMode... modes)
want: the actual value should be equals to the expected value specified by argument. |
E |
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 |
propertyMatch(ItemsMode itemsMode,
String property,
Matcher matcher)
the property value of all/any(specified by ItemsMode) items in collection(array) should be matched by the matcher. |
E |
reflectionEqMap(int count,
ICore.DataMap expected,
EqMode... modes)
will be @deprecated in the future. |
E |
reflectionEqMap(List<ICore.DataMap> expected,
EqMode... modes)
|
| 从接口 org.test4j.hamcrest.iassert.common.intf.IAssert 继承的方法 |
|---|
wanted, wanted |
| 从接口 ext.test4j.hamcrest.Matcher 继承的方法 |
|---|
describeMismatch, matches |
| 从接口 ext.test4j.hamcrest.SelfDescribing 继承的方法 |
|---|
describeTo |
| 从接口 org.test4j.hamcrest.iassert.common.intf.ISizedAssert 继承的方法 |
|---|
sizeBetween, sizeEq, sizeGe, sizeGt, sizeIs, sizeLe, sizeLt, sizeNe |
| 方法详细信息 |
|---|
E isEqualTo(Object expected,
EqMode... modes)
expected - modes -
E propertyMatch(ItemsMode itemsMode,
String property,
Matcher matcher)
itemsMode - All or Any Items in Collection or Array.property - the property name of items in collection or array.matcher - Hamcrest Matcher
E eqIgnoreOrder(Object expected)
expected -
E reflectionEqMap(List<ICore.DataMap> expected,
EqMode... modes)
E reflectionEqMap(int count,
ICore.DataMap expected,
EqMode... modes)
#propertyEqMap(int, DataMap, EqMode...)
count - expected - modes -
E propertyEqMap(int count,
ICore.DataMap expected,
EqMode... modes)
count - expected - modes -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||