org.test4j.hamcrest.iassert.object.impl
类 MapAssert
java.lang.Object
ext.test4j.hamcrest.BaseMatcher<T>
org.test4j.hamcrest.iassert.common.impl.Assert<T,E>
org.test4j.hamcrest.iassert.common.impl.BaseAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.ListHasItemsAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.ReflectionAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.SizeAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.ListAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.AllAssert<Map<?,?>,IMapAssert>
org.test4j.hamcrest.iassert.object.impl.MapAssert
- 所有已实现的接口:
- Matcher<Map<?,?>>, SelfDescribing, IAssert<Map<?,?>,IMapAssert>, IBaseAssert<Map<?,?>,IMapAssert>, IListAssert<Map<?,?>,IMapAssert>, IListHasItemsAssert<IMapAssert>, IReflectionAssert<IMapAssert>, ISizedAssert<IMapAssert>, IMapAssert
public class MapAssert
- extends AllAssert<Map<?,?>,IMapAssert>
- implements IMapAssert
| 从类 org.test4j.hamcrest.iassert.common.impl.BaseAssert 继承的方法 |
all, any, any, clazIs, clazIsSubFrom, eq, eqToString, eqToString, in, isEqualTo, isEqualTo, isNull, isNull, not, notAll, notAny, notEqualTo, notIn, notNull, notNull, same, toStringAssert |
| 从接口 org.test4j.hamcrest.iassert.common.intf.IBaseAssert 继承的方法 |
all, any, any, clazIs, clazIsSubFrom, eq, eqToString, eqToString, in, isEqualTo, isEqualTo, isNull, isNull, not, notAll, notAny, notEqualTo, notIn, notNull, notNull, same |
| 从接口 org.test4j.hamcrest.iassert.common.intf.IReflectionAssert 继承的方法 |
eqByReflect, eqIgnoreAll, eqIgnoreDefault, eqIgnoreOrder, propertyEq, propertyEq, propertyEq, propertyEqMap, propertyMatch, reflectionEq, reflectionEqMap |
MapAssert
public MapAssert()
MapAssert
public MapAssert(Map<?,?> map)
hasKeys
public IMapAssert hasKeys(Object key,
Object... keys)
- 从接口
IMapAssert 复制的描述
- 断言map包含参数中列出的key值
- 指定者:
- 接口
IMapAssert 中的 hasKeys
- 参数:
key - 期望key值keys - 期望key值
- 返回:
hasValues
public IMapAssert hasValues(Object value,
Object... values)
- 从接口
IMapAssert 复制的描述
- 断言map包含参数中列出的值对象
- 指定者:
- 接口
IMapAssert 中的 hasValues
- 参数:
value - 期望的值values - 期望的值
- 返回:
hasEntry
public IMapAssert hasEntry(Object key,
Object value,
Object... objects)
- 从接口
IMapAssert 复制的描述
- 断言map中包含kay:value值对
- 指定者:
- 接口
IMapAssert 中的 hasEntry
- 返回:
hasEntry
public IMapAssert hasEntry(Map.Entry<?,?> entry,
Map.Entry<?,?>... entries)
- 从接口
IMapAssert 复制的描述
- 断言map中包含kay:value值对
- 指定者:
- 接口
IMapAssert 中的 hasEntry
- 返回:
Copyright © 2013. All rights reserved.